Open in app

Sign In

Write

Sign In

Aman Jain
Aman Jain

12 Followers

Home

About

Pinned

Implementation of a Distributed Rate Limiter

Prerequisite Basic understanding of rate limiting algorithms. You can refer the following blog to understand about different rate limiting algorithms: Rate Limiter Requirements and Goalsaman-jain24.medium.com Assessment of all libraries explored I found 4 candidates for rate limiter. Below is the comparison of all 4: 1. Basic Redis Rate Limit Link: https://redislabs.com/redis-best-practices/basic-rate-limiting/

Rate Limiting

7 min read

Implementation of a Distributed Rate Limiter
Implementation of a Distributed Rate Limiter
Rate Limiting

7 min read


Pinned

Indexing in Databases

Indexing is a way to optimise the performance of a database by minimising the number of disk accesses required when a query is processed. It is a data structure technique which is used to quickly locate and access the data in a database. Indexes are created using a few database…

Indexing

7 min read

Indexing in Databases
Indexing in Databases
Indexing

7 min read


Pinned

Rate Limiter

Requirements and Goals To limit the number of requests per client in a particular time window. For example, a client is only allowed 100 requests per minute. Rate limit should be considered across different servers of a service. …

Rate Limiting

9 min read

Rate Limiter
Rate Limiter
Rate Limiting

9 min read


Oct 11, 2020

NGINX for Load Balancing

Load balancing is an excellent way to scale out your application and increase its performance. It distributes the incoming traffic across multiple servers configured behind it. NGINX acts as a single entry point to a distributed web application working on multiple separate servers. Redirecting traffic to a Group of servers Assumption: I’m assuming that you have NGINX…

Nginx

5 min read

NGINX for Load Balancing
NGINX for Load Balancing
Nginx

5 min read


May 2, 2020

2-way SSL

Before getting into 2-way ssl, we need to understand what asymmetric cryptography is. Asymmetric cryptography is a process that uses a pair of related keys— one public key and one private key — to encrypt and decrypt a message. A public key is a cryptographic key that can be used…

Golang

4 min read

2-way SSL
2-way SSL
Golang

4 min read


Apr 18, 2020

All about defer, panic and recover

DEFER A defer statement pushes a function call onto a stack. The stack of function calls are executed when the surrounding function returns. Syntactically, a defer statement is an ordinary function or a method call prefixed by the keyword defer. func printStrings() { 1. fmt.Println("Beginning of the function") 2. defer…

Golang

4 min read

All about defer, panic and recover
All about defer, panic and recover
Golang

4 min read


Apr 5, 2020

Reflections in Go

We all come around situations during programming, where we need to determine the types of variables or functions. Sometimes, there comes a use case when you don’t actually know the type of variable when the program was written(during compile time), but you need to determine it at runtime. Maybe, you…

Golang

3 min read

Reflections in Go
Reflections in Go
Golang

3 min read

Aman Jain

Aman Jain

12 Followers

Software Engineer

Following
  • Tate Galbraith

    Tate Galbraith

  • Parul Pandey

    Parul Pandey

  • Vaidehi Joshi

    Vaidehi Joshi

  • Jolly srivastava

    Jolly srivastava

  • Fight Pandit

    Fight Pandit

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech