lambda functions Serverless Architecture & Lambda Functions Serverless architecture is a design pattern that allows developers to build and run applications and services without having to worry about infrastructure or compute resources.
bloom filter Probabilistic data structures & Bloom filters Probabilistic data structures are data structures used to store data in a way that helps us find answers to certain types of queries quickly and accurately.
Lua Redis Lua Scripting With Lua scripts, complex Redis commands can be executed in an atomic way on the server in an efficient way. In this article, we will see how Lua scripts work with examples.
Redis Partitioning Redis Partitioning And Redis Cluster Local Setup In this article, we will learn about Redis partitioning, particularly about Redis Cluster, we will understand the use-cases of partitioning. In the latter half, we will be setting up the
Redis-Replication Redis Replication Redis replication is the process that allows Redis instances to be exact copies of master instances. Replication by default is an asynchronous process. Redis replication is non-blocking on the master
charset Charset and Collation in MySql A character set is a set of symbols and encodings. And a collation is a set of rules for comparing and sorting characters in a character set. A charset must
n+1 Fixing N+1 query problem in Django N+1 is a very common data-access pattern problem where a query is executed for every result of a previous query. If the definition looks cryptic, let's understand this problem
Django Django Custom Middleware Django middleware is a way to globally alter requests and responses ie. middlewares are layers of business logic that will be applied to all requests and responses. Consider an example
Git What are Git-hooks & How to use them? Git hooks are scripts that Git automatically executes before or after events like commit, push, or receive. But why would anyone want to run scripts on git events? Well, let's
replication Part-II: How Replication Works In MySql In the first part of this blog-post series, we looked at the theoretical side of how replication works, in this blog post, we will set up replication and see all
replication Part I: How Replication Works In MySql In this article, we will understand what replication is, the traditional and the new way of replication, the different components involved in replication, and other important aspects of replication. MySQL
Django What Is Django Model Manager? Django Model Manager is the interface through which database query operations are provided to Django models. objects is the default model manager and each model needs to have at least
Elasticsearch Part II: How Elasticsearch Works Internally In the first part of the article, we saw data structures used under the hood and some operations that are done to make text search better, in this part, we
Elasticsearch Part I: How Elasticsearch Works Internally Elasticsearch is mostly used for full-text searches, however, elasticsearch is much more powerful than that and can be used in multiple cases like auto-completer, spell checker, alerting engine, log aggregator,
Pointers Beginners Guide To Pointers Pointers can be tricky to understand in the beginning, this guide will help you visualize what pointers are and why are they useful. Before understanding pointers, let's understand how variables
Security How to fix CORS Errors? We all have encountered CORS errors in web-app development, in this article, we will understand what are these errors, what causes these errors in the first place, and how to
Celery What Is Django-Celery? In this article, we will understand what asynchronous processing is, how to set up asynchronous processing for a Django project and what are the use-cases. Let's start with the problem
Index Part II: How Indexes Work In Mysql In the first part of the article series, we understood what indexes are and how indexes work internally. In this part, we will look into multi-columnar indexes, ordering in indexes,
Database How Do Indexes Work In Mysql? In this article series, we will dig deep into what indexes are, how it works, what are the advantages and disadvantages of using an index, multi-column indexes, and what are
ContentType How To Use GenericForeignKeys In Django In the first part of the article, we learned about the contenttypes framework and the ContentType model. In this article, we will see how that is being used in the
ContentType Understanding Django ContentType In this series, we will understand Django's ContentType and what is GenericForeignKey with examples. contenttypes is a Django app that can track all of the models installed in our Django-powered
distributed-systems What Is CAP Theorem? To understand CAP Theorem, first, we need to understand about network partitioning. Network partitioning occurs when a cluster of interconnected nodes breaks into two or more partitions and the nodes
Django Select Related Vs Prefetch Related In Django select_related and prefetch_related are ways to optimize database querying patterns when accessing related items. Both works on the same principle of prefetching data from the database, however, they
redis-pipeline What is Redis Pipeline Redis clients and servers communicate with each other using a protocol called RESP (REdis Serialization Protocol) which is TCP-based. In TCP-based protocol, server and client communicate with request/response model.
Database Transaction Isolation Levels In MySql (InnoDB) First, let's break the heading, a Transaction is a sequential group of statements, queries, or operations that performs as a single work unit that can be committed or rolled back.