RSS Amplifier

Blog

Siddharth Sabron

Siddharth is a software engineer, primarily interested in algorithms, design principles, databases, storage engines, large-scale systems and distributed systems

siddharthsabron.inSource feed ↗10 posts

Live Last read · last published · next check

Latest posts

Clik - A Self-Deployable URL Shortener

Random Click Image Link Building a URL shortener is a classic system design interview question. I built one to find out how many of those whiteboard answers actually survive contact with real code. The Stack No abstractions over abstractions. Here is what it runs on: Java 21 Spring Boot 3.4.2 handles HTTP so I can focus on what matters underneath MySQL 8.0 (the database choice is load-bearing,…

Legion: An Ultra-Fast, Multi-Threaded Logging Library

By Siddharth Sabron, June 14, 2025 Mcleodganj Image Link This article presents a comprehensive design document for a high-performance Java logging library, based on deep research and proven architectural patterns. The development of an ultra-fast , high-throughput , low-dependency logging library for Java applications, particularly for Spring environments, necessitates a rigorous architectural…

64 Bit Distributed ID Generator

Landor ❤️ Image Link Introduction Unique ID generation is a crucial part of any application, because it is used to represents a single unique row in the table. Furthermore, this ID is often used as the primary-key of the table and heavily used in searching a specific row uniquely. Example Query: select * from short_urls where internal_id = 286435872092454913 ; You might wonder why we are…

A Simple Github Report Generator

Introduction As working in an early stage startup we(software enginners) have to work on multiple repositories and we baerly maintain log of our work in short what all we have worked on and what all we have done. I have faced this problem and have been searching for a tool which can help me to generate a report of my github commits activity and how much i have worked on it. So i have decided to…

Linux Kernel Memory Barriers: A Deep Dive

Kovalam Beach, Kerela Image Link Linux Kernel Memory Barriers: A Deep Dive This blog post delves into the intricate world of memory barriers within the Linux kernel. It aims to provide a practical guide for understanding and using these crucial synchronization primitives. While not an exhaustive specification, it outlines the fundamental guarantees offered by different barrier types and…

Designing a Scalable OCPP server

What is OCPP? OCPP, short for Open Charge Point Protocol, is like the universal language of EV charging. It sets the standard for how charging stations talk to central systems, enabling functions like monitoring, management, billing, and even integration with third-party systems. This open-source protocol isn’t just a buzzword — it’s backed by a robust community of vendors and manufacturers,…

How Discord Used Rust to Scale Elixir to Millions

Macloedganj Dharamshala Image Link Table of Content Table of Content Introduction The Problem at Hand Exploring Potential Solutions Creating a Unique Solution: SkipList Refining Performance: Dynamic OrderedSet Introducing Rust: Boosting Performance Integrating Rust with Elixir Benchmarking the Rust-backed SortedSet Achieving Optimal Performance and Scalability Conclusion I love Discord’s backend…

Authentication Service in TypeScript and Clean Architecture

Weeding Decoration Image Link This guide will walk you through the process of creating an authentication service in Node.js using TypeScript and clean architecture. The authentication service will allow users to sign up and log in to your application using email and password. Prerequisites Before you begin, make sure you have the following: Node.js (v14 or higher) npm or yarn A text editor of your…

Understanding Isolation in Database

Rajiv Chowk Metro Stataion Image Link Isolation in database refers to the ability of a database system to allow multiple transactions to access the same data without interfering with each other. Isolation ensures that each transaction sees a consistent view of the data, regardless of the concurrent activities of other transactions. Types of Read Phenomena There are three main types of read…

What caused Discord to switch from Go to Rust?

Landor ❤️ Image Link Read States Read States is the service that was moved from Go to Rust. Its primary function is to record the channels and messages we have read. Every time we sign in to Discord, send a message, and read a message, Read States is accessed.To put it simple, Read States is on a hot road. Therefore, Incredible speed and minimal latency are required for Read States service.…