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
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,
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
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.
Django Model Inheritance In Django Models inheritance works the same way as normal Python class inheritance works, the only difference is, whether we want the parent models to have their own table in the database