Build at scale
  • Home
  • Databases
  • Django
  • Security
  • Basics
  • Author

Build at scale

Serverless Architecture & Lambda Functions
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.

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 1 Jan 2023 • 4 min read
Probabilistic data structures & Bloom filters
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.

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 19 Dec 2022 • 3 min read
Redis Lua Scripting
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.

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 4 Sep 2022 • 4 min read
Redis Partitioning And Redis Cluster Local Setup
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 24 Apr 2022 • 5 min read
Redis Replication
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 3 Apr 2022 • 3 min read
Charset and Collation in MySql
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 18 Mar 2022 • 4 min read
Fixing N+1 query problem in Django
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 2 Mar 2022 • 4 min read
Django Custom Middleware
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 13 Feb 2022 • 3 min read
What are Git-hooks & How to use them?
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 12 Jan 2022 • 4 min read
Part-II: How Replication Works In MySql
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 7 Jan 2022 • 7 min read
Part I: How Replication Works In MySql
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 31 Dec 2021 • 5 min read
What Is Django Model Manager?
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 25 Nov 2021 • 4 min read
Part II: How Elasticsearch Works Internally
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 22 Nov 2021 • 4 min read
Part I: How Elasticsearch Works Internally
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,

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 4 Nov 2021 • 4 min read
Beginners Guide To Pointers
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 24 Oct 2021 • 2 min read
How to fix CORS Errors?
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 17 Oct 2021 • 5 min read
What Is Django-Celery?
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 7 Oct 2021 • 4 min read
Part II: How Indexes Work In Mysql
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,

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 12 Sep 2021 • 5 min read
How Do Indexes Work In Mysql?
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 11 Sep 2021 • 5 min read
How To Use GenericForeignKeys In Django
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 21 Aug 2021 • 4 min read
Understanding Django ContentType
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 21 Aug 2021 • 2 min read
What Is CAP Theorem?
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 12 Aug 2021 • 3 min read
Select Related Vs Prefetch Related In Django
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

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 8 Aug 2021 • 5 min read
What is Redis Pipeline
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.

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 24 Jul 2021 • 4 min read
Transaction Isolation Levels In MySql (InnoDB)
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.

  • Rahul Mishra
    Rahul Mishra
Rahul Mishra 11 Jul 2021 • 3 min read
Build at scale
  • Home
  • Databases
  • Django
  • Security
  • Basics
  • Author
Build at scale © 2023