I have been working with redis and python for sometime. It is fun to play with python and redis. There are so many things can be solved by redis.
- Session persistency
- Volatile Datastore
- Job or Message Queue
And many more. But recently I was thinking about using it as main database. I am not yet sure what kind of problem I might face or what things to optimize when it is about scalability or reliability. I will for sure share my experience.
Here I want to talk about –
Continue reading Effective use of Redis with Python and Connection Pool
Whether you have SSD with NVME Protocol or good old HDD, It is not going to make you feel superior than your Random Access Memory or RAM.
By creating a ramdisk, you can use your unused memory as a super fast disk space and work with it. I do need to use nginx and for caching, I always go to tmpfs which is filesystem type that typically uses ram. How do I create one?
Continue reading How to create a ramdisk?
I mostly use Python Flask when I need to develop a Web App or API.
Why? Because it is:
- Very Flexible
- Micro-Service Friendly
- Fast Development
These are one of the main reasons I choose Flask. But mostly I love to code with Flask. There are so many ways to run flask applications. I will write some of them here with code examples.
Continue reading How to run Python Flask Application?
There are a lot of tools I need to work with. Installing some tools in my workstation and bloating the system is not an option with limited memory capacity, specially in MacBook Air M1 with 8GB of ram. So, I am using docker when using those tools. The day to day life depends on these DB tools –
Continue reading Development Environment with Docker Compose
According to the website, Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.
In this post, I am going to share a basic way to start using Apache Kafka with python.
Continue reading Apache Kafka in Docker Container and Implement it’s Functionalities with Python