<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Arpit Bhayani</title><description>Essays and notes on AI systems, Database Internals, Distributed Systems, and Career Growth by Arpit Bhayani</description><link>https://arpitbhayani.me</link><language>en-us</language><item><title>Compiling a Workflow into a 3B Model</title><link>https://arpitbhayani.me/blogs/compiling-an-sop-into-a-3b-model</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/compiling-an-sop-into-a-3b-model</guid><description>A fun engineering experiment testing what happens when an incident triage procedure is compiled directly into the weights of a 3-billion-parameter model rather than pasted into the prompt.</description><pubDate>Sat, 24 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Slop Debt</title><link>https://arpitbhayani.me/blogs/slop-debt</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/slop-debt</guid><description>Tech debt has rules. You cut a corner to ship on time, you write a comment that says TODO fix this, and six months later someone pays it down. It is annoying but it is bounded. A senior engineer can look at a codebase with tech debt and draw a map of where the bodies are buried.</description><pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate></item><item><title>What AI First Engineering Orgs Look Like</title><link>https://arpitbhayani.me/blogs/ai-first-org</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/ai-first-org</guid><description>Every process a software team runs was built to manage a scarce resource. For twenty years that resource was engineering time. Waterfall managed it with sequencing. Agile managed it with short cycles and constant renegotiation. Both approaches assume the same thing: writing code is the expensive step, so protect it with process.</description><pubDate>Thu, 06 Aug 2026 00:00:00 GMT</pubDate></item><item><title>Three Claude Skills I Think Every Org Should Have</title><link>https://arpitbhayani.me/blogs/three-skills</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/three-skills</guid><description>A company runs smoothly when people can get stuff done without hunting for information. What actually wears people out day to day is not the hard engineering problem. It is not knowing which ticket to file, which team to bug on Slack, or what invisible step stands between them and getting a simple service live.</description><pubDate>Fri, 31 Jul 2026 00:00:00 GMT</pubDate></item><item><title>G-Eval, Explained</title><link>https://arpitbhayani.me/blogs/g-eval</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/g-eval</guid><description>G-Eval is a reference-free evaluation framework that uses large language models to assess the quality of generated text. This article explains how G-Eval works, including rubric-based prompting, chain-of-thought evaluation, and probability-weighted scoring using token log probabilities. You will also learn its limitations, common implementation patterns, practical best practices, and when not to use it. If you are building LLM applications, chatbots, summarization systems, or AI writing assistants, this guide will help you evaluate outputs more reliably.</description><pubDate>Tue, 14 Jul 2026 00:00:00 GMT</pubDate></item><item><title>AI Workflows Need Topological Sort</title><link>https://arpitbhayani.me/blogs/ai-topological-sort</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/ai-topological-sort</guid><description>Every AI workflow is a dependency problem. You have steps that produce outputs, other steps that consume those outputs, and a hard constraint: consumers cannot run before their producers finish. Get the order wrong and you read stale data, call a tool with missing context, or trigger an agent before its inputs are ready.</description><pubDate>Mon, 01 Jun 2026 00:00:00 GMT</pubDate></item><item><title>Embedding Models Make Or Break Your Ai App</title><link>https://arpitbhayani.me/blogs/embedding-models-make-or-break-your-ai-app</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/embedding-models-make-or-break-your-ai-app</guid><description>Most of us building AI applications spend the bulk of their time on the LLM - picking the right model, tuning the prompt, evaluating output quality. The embedding model gets a passing thought.</description><pubDate>Thu, 28 May 2026 00:00:00 GMT</pubDate></item><item><title>Temporal Primer - Building Long-Running Systems</title><link>https://arpitbhayani.me/blogs/temporal-primer</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/temporal-primer</guid><description>If you have ever taped together a cron job, message queue, a database table for state, and a retry loop - only to watch the whole thing break during a network blip at 2am - you already understand the problem Temporal solves. The fix you built was a workflow engine. Temporal is workflow engine done right.</description><pubDate>Wed, 20 May 2026 00:00:00 GMT</pubDate></item><item><title>What Matters in Production RAG</title><link>https://arpitbhayani.me/blogs/rag-production</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/rag-production</guid><description>Most of us build RAG the same way: follow a tutorial that embeds a handful of PDFs, stores the vectors in a local Chroma instance, and chains everything together with LangChain (if that&apos;s still a thing). The demo works. The answer looks reasonable. Then you take it to production and it falls apart in quiet, hard-to-diagnose ways.</description><pubDate>Fri, 15 May 2026 00:00:00 GMT</pubDate></item><item><title>Structure of Every LLM Chat</title><link>https://arpitbhayani.me/blogs/structure-of-llm-chat</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/structure-of-llm-chat</guid><description>Role tagging is not cosmetic. It shapes how the model responds, how context is managed across multiple turns, and how application developers constrain and direct model behaviour at a structural level. Understanding this format is the difference between using an LLM and building reliably on top of one.</description><pubDate>Wed, 13 May 2026 00:00:00 GMT</pubDate></item><item><title>How LLMs Really Work</title><link>https://arpitbhayani.me/blogs/how-llms-work</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/how-llms-work</guid><description>If you have used ChatGPT, Gemini, or Claude, you have already formed an intuition about what these systems do. You type something in, and text comes back that feels coherent, knowledgeable, and sometimes eerily human. But the machinery underneath is simultaneously simpler and stranger than most people expect.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Your Monolith Is Already A Distributed System</title><link>https://arpitbhayani.me/blogs/monolith-is-distributed-system</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/monolith-is-distributed-system</guid><description>You have a monolith, and you are proud of it. One repo, one deployment, one database - no Kubernetes, no service mesh. You have watched teams burn months “extracting microservices” and come out slower than when they started. You stayed sensible. You kept the monolith.</description><pubDate>Tue, 28 Apr 2026 00:00:00 GMT</pubDate></item><item><title>The Curse of Dimensionality</title><link>https://arpitbhayani.me/blogs/curse-of-dimensionality</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/curse-of-dimensionality</guid><description>There is a specific kind of debugging session that haunts ML engineers: the one where your model worked brilliantly on 20 features, so you added 200 more, and now it produces garbage. The training loss looks fine. Accuracy on the training set is great. But generalization has collapsed, inference is slow, and your nearest-neighbor search returns results that are laughably wrong. You did not break anything obvious. You just added more information, which is supposed to help.</description><pubDate>Thu, 23 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Databases Were Not Designed For This</title><link>https://arpitbhayani.me/blogs/defensive-databases</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/defensive-databases</guid><description>There is an implicit contract at the foundation of every database architecture decision you have ever made. You probably never wrote it down. Nobody does. It just… existed.</description><pubDate>Sun, 08 Mar 2026 00:00:00 GMT</pubDate></item><item><title>BM25</title><link>https://arpitbhayani.me/blogs/bm25</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/bm25</guid><description>There is a particular kind of respect reserved in engineering for the algorithm that outlives its era. BM25 is one of them. BM25 was born out of information retrieval research in the 1970s and 1980s, polished over decades, and eventually adopted as the default ranking function in Elasticsearch, Solr, and Lucene.</description><pubDate>Wed, 04 Mar 2026 00:00:00 GMT</pubDate></item><item><title>JOIN Algorithms</title><link>https://arpitbhayani.me/blogs/join-algorithms</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/join-algorithms</guid><description>When you write a SQL query with a JOIN clause, you probably do not think much about what happens next. You just expect the database to return the right rows. But this simple keyword forces your database to make one of the most consequential decisions a query planner makes: which join algorithm should it use?</description><pubDate>Tue, 24 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Why Half Your Skills Expire Every Few Years</title><link>https://arpitbhayani.me/blogs/half-life</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/half-life</guid><description>That is the half-life of knowledge in computer science and software engineering - the time it takes for half of what you know to be replaced by better tools, approaches, or understanding. For an engineering degree earned in 1930, the half-life was roughly 35 years. By 1960, it had dropped to about a decade.</description><pubDate>Sun, 08 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Multi-Paxos - Consensus in Distributed Databases</title><link>https://arpitbhayani.me/blogs/multi-paxos</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/multi-paxos</guid><description>Distributed databases face an interesting challenge: how do you ensure that multiple servers scattered across different machines, data centers, or even continents agree on the order and outcome of database transactions? This is where consensus algorithms come into play.</description><pubDate>Tue, 27 Jan 2026 00:00:00 GMT</pubDate></item><item><title>MySQL Replication Internals</title><link>https://arpitbhayani.me/blogs/mysql-replication-internals</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/mysql-replication-internals</guid><description>MySQL replication enables data synchronization across databases, powering read scaling and even some complex distributed architectures. At the core lies the binary log (binlog), which is the authoritative record of all data modifications on a source server.</description><pubDate>Fri, 16 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Bloom Filters</title><link>https://arpitbhayani.me/blogs/bloom-filters</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/bloom-filters</guid><description>A Bloom filter is a probabilistic data structure that answers a very specific question - have I seen this thing before? - while using almost no memory.</description><pubDate>Mon, 29 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Clock Synchronization Is a Nightmare</title><link>https://arpitbhayani.me/blogs/clock-sync-nightmare</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/clock-sync-nightmare</guid><description>Time seems simple. But we engineers lose sleep over something as basic as keeping clocks in sync. Here’s why…</description><pubDate>Tue, 23 Dec 2025 00:00:00 GMT</pubDate></item><item><title>When You Increase Kafka Partitions</title><link>https://arpitbhayani.me/blogs/kafka-partitions</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/kafka-partitions</guid><description>Partitions sit right in the middle of how Kafka works. They define ordering, parallelism, and how far it can scale. But what actually happens when you need more of them? How does Kafka grow that number, what happens to the data you already have, and which guarantees stay intact after the change?</description><pubDate>Sat, 13 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Product Quantization</title><link>https://arpitbhayani.me/blogs/product-quantization</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/product-quantization</guid><description>Recommendation engines, image retrieval platforms, document matching services, and RAG pipelines all rely on finding the nearest neighbors to a given query vector in high-dimensional space. This is where vector similarity search comes in.</description><pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate></item><item><title>The Q, K, V Matrices</title><link>https://arpitbhayani.me/blogs/qkv-matrices</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/qkv-matrices</guid><description>At the core of the attention mechanism in LLMs are three matrices: Query, Key, and Value. These matrices are how transformers actually pay attention to different parts of the input. In this write-up, we will go through the construction of these matrices from the ground up.</description><pubDate>Wed, 26 Nov 2025 00:00:00 GMT</pubDate></item><item><title>How LLM Inference Works</title><link>https://arpitbhayani.me/blogs/how-llm-inference-works</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/how-llm-inference-works</guid><description>When you enter a prompt into an LLM, the model converts your text into numbers, processes them, and returns a response one token at a time. In this article, we go through the journey of LLM inference and see how it works.</description><pubDate>Sat, 22 Nov 2025 00:00:00 GMT</pubDate></item><item><title>What are Blocking Queues and Why We Need Them</title><link>https://arpitbhayani.me/blogs/blocking-queues</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/blocking-queues</guid><description>Concurrent programming is one of the most interesting and challenging aspects of software engineering. When multiple goroutines need to share data, coordinating access becomes critical.</description><pubDate>Fri, 14 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Heartbeats in Distributed Systems</title><link>https://arpitbhayani.me/blogs/heartbeats-in-distributed-systems</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/heartbeats-in-distributed-systems</guid><description>In distributed systems, one of the fundamental challenges is knowing whether a node or service is alive and functioning properly. Unlike monolithic applications, where everything runs in a single process, distributed systems span multiple machines, networks, and data centers. This becomes even glaring when the nodes are geographically separated. This is where heartbeat mechanisms come into play.</description><pubDate>Wed, 12 Nov 2025 00:00:00 GMT</pubDate></item><item><title>How Writes Work in Apache Cassandra</title><link>https://arpitbhayani.me/blogs/cassandra-writes</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/cassandra-writes</guid><description>Apache Cassandra is a distributed database designed for high availability and horizontal scalability. This write-up explores the complete write path in Cassandra, from the moment a client sends a write request to how data gets replicated across nodes in the cluster.</description><pubDate>Mon, 20 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Redis Replication Internals</title><link>https://arpitbhayani.me/blogs/redis-replication</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/redis-replication</guid><description>One of the most fundamental design decisions in Redis replication is that it&apos;s push-based rather than pull-based. This means the master (or primary) actively sends data to replicas, rather than replicas polling the master for updates.</description><pubDate>Fri, 17 Oct 2025 00:00:00 GMT</pubDate></item><item><title>How Does a CDN Handle Content Replication</title><link>https://arpitbhayani.me/blogs/cdn-content-replication</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/cdn-content-replication</guid><description>Content Delivery Networks (CDNs) content replication is far more nuanced than most engineers realize. Let&apos;s dive deep into how CDNs actually replicate, distribute, and manage content across their global networks.</description><pubDate>Thu, 02 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Why gRPC Uses HTTP2</title><link>https://arpitbhayani.me/blogs/grpc-http2</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/grpc-http2</guid><description>When Google introduced gRPC in 2015, one of the most significant architectural decisions was building it on top of HTTP/2 rather than the widely adopted HTTP/1.1. This was just about following some trend, but a deliberate choice that fundamentally shapes how gRPC performs and behaves.</description><pubDate>Wed, 24 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Why Distributed Systems Need Consensus Algorithms Like Raft</title><link>https://arpitbhayani.me/blogs/why-consensus</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/why-consensus</guid><description>Everything we interact with today is a &quot;distributed system&quot;. From microservices to cloud-native applications, from databases to message queues. We are constantly building systems that span multiple machines. But there comes a fundamental challenge - how do we ensure that all independent nodes agree on shared state?</description><pubDate>Sat, 06 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Why Do Databases Deadlock and How Do They Resolve It</title><link>https://arpitbhayani.me/blogs/database-deadlocks</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/database-deadlocks</guid><description>Database deadlocks are one of the most challenging concurrency issues encountered in production systems. Understanding why they occur and how databases handle them is important in building robust applications.</description><pubDate>Fri, 05 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Why and How Cache Locality Can Make Your Code Faster</title><link>https://arpitbhayani.me/blogs/cpu-cache-locality</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/cpu-cache-locality</guid><description>While we write code thinking about algorithms and data structures, the CPU is quietly making millions of decisions about what data to keep close and what to evict from its precious cache memory.</description><pubDate>Thu, 04 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Why Eventual Consistency is Preferred in Distributed Systems</title><link>https://arpitbhayani.me/blogs/eventual-consistency</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/eventual-consistency</guid><description>While strong consistency might seem like the obvious choice - given it keeps the data perfectly synchronized at all times - the reality is that eventual consistency has become the preferred approach for most large-scale distributed systems. But why so...</description><pubDate>Wed, 03 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Why does DNS use both UDP and TCP</title><link>https://arpitbhayani.me/blogs/dns-udp-tcp</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/dns-udp-tcp</guid><description>DNS is one of the most critical pieces of internet infrastructure, quietly translating human-readable domain names into IP addresses billions of times per day.</description><pubDate>Tue, 02 Sep 2025 00:00:00 GMT</pubDate></item><item><title>How to Write Effective OKRs</title><link>https://arpitbhayani.me/blogs/okr</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/okr</guid><description>Craft effective engineering OKRs with this practical guide. Learn best practices, avoid common pitfalls, and drive team alignment.</description><pubDate>Fri, 07 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Theta sketches: set algebra over massive streams</title><link>https://arpitbhayani.me/blogs/theta-sketches</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/theta-sketches</guid><description>Most engineers encounter cardinality estimation the same way: they get paged because a COUNT(DISTINCT userid) query is killing the database, and someone suggests HyperLogLog.</description><pubDate>Wed, 01 Jan 2025 00:00:00 GMT</pubDate></item><item><title>When to Change Jobs - The 3P Framework</title><link>https://arpitbhayani.me/blogs/3p</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/3p</guid><description>Is it time for a career change? Use the 3P formula (Paisa, Power, Position) to evaluate your job and unlock your career growth potential.</description><pubDate>Sat, 19 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Paper Notes - On-demand Container Loading in AWS Lambda</title><link>https://arpitbhayani.me/blogs/on-demand-container-loading-in-aws-lambda</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/on-demand-container-loading-in-aws-lambda</guid><description>Explore AWS Lambda&apos;s efficient scaling - block-level loading, deduplication with encryption, &amp; erasure coding for low-latency container startups.</description><pubDate>Sun, 15 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Paper Notes - SQL Has Problems. We Can Fix Them Pipe Syntax In SQL</title><link>https://arpitbhayani.me/blogs/sql-has-problems-we-can-fix-them-pipe-syntax-in-sql</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/sql-has-problems-we-can-fix-them-pipe-syntax-in-sql</guid><description>Explore GoogleSQL&apos;s new pipe syntax for SQL - Improves readability, extensibility, and debugging with operators like ASSERT and LOG.</description><pubDate>Tue, 03 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Paper Notes - NanoLog - A Nanosecond Scale Logging System</title><link>https://arpitbhayani.me/blogs/nanolog-a-nanosecond-scale-logging-system</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/nanolog-a-nanosecond-scale-logging-system</guid><description>Explore NanoLog&apos;s high-performance logging - compile-time optimization, lock-free buffers, and lightweight encoding for nanosecond speed.</description><pubDate>Wed, 28 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Paper Notes - WTF - The Who to Follow Service at Twitter</title><link>https://arpitbhayani.me/blogs/wtf-the-who-to-follow-service-at-twitter</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/wtf-the-who-to-follow-service-at-twitter</guid><description>Explore Twitter&apos;s recommendation system - in-memory graph processing with Cassovary, random walks, and SALSA for user suggestions.</description><pubDate>Wed, 21 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Turn System Design Interviews into Discussions</title><link>https://arpitbhayani.me/blogs/structure-your-design-interviews</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/structure-your-design-interviews</guid><description>Ace your system design interview! Learn a structured 5-step approach to tackle open-ended questions and showcase your engineering skills.</description><pubDate>Mon, 06 May 2024 00:00:00 GMT</pubDate></item><item><title>How to Remain Unblocked</title><link>https://arpitbhayani.me/blogs/keep-yourself-unblocked</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/keep-yourself-unblocked</guid><description>Stuck as a software engineer? Learn practical strategies to get unblocked, improve problem-solving, and boost your productivity.</description><pubDate>Thu, 16 Nov 2023 00:00:00 GMT</pubDate></item><item><title>Solving the Knapsack Problem with Evolutionary Algorithms</title><link>https://arpitbhayani.me/blogs/genetic-knapsack</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/genetic-knapsack</guid><description>Solve the Knapsack problem with a Genetic Algorithm! This guide offers a polynomial-time approximation for this famous optimization challenge.</description><pubDate>Mon, 07 Mar 2022 00:00:00 GMT</pubDate></item><item><title>Generating Pseudorandom Numbers with LFSR</title><link>https://arpitbhayani.me/blogs/pseudorandom-number-generation-lfsr</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/pseudorandom-number-generation-lfsr</guid><description>Explore LFSRs, a simple &amp; efficient pseudorandom number generator widely used in microcontrollers. Learn how they work with code examples.</description><pubDate>Mon, 21 Feb 2022 00:00:00 GMT</pubDate></item><item><title>Local vs Global Indexes in Partitioned Databases</title><link>https://arpitbhayani.me/blogs/how-indexes-work-on-partitioned-and-sharded-data</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/how-indexes-work-on-partitioned-and-sharded-data</guid><description>Explore indexing strategies for partitioned databases, focusing on local and global secondary indexes. Optimize query performance on non-partitioned attributes.</description><pubDate>Mon, 07 Feb 2022 00:00:00 GMT</pubDate></item><item><title>Partitioning Data - Range, Hash, and When to Use Them</title><link>https://arpitbhayani.me/blogs/some-data-partitioning-strategies-for-distributed-data-stores</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/some-data-partitioning-strategies-for-distributed-data-stores</guid><description>Partitioning - Learn how to scale your database reads and writes by horizontally partitioning your data. Explore range-based vs hash-based approaches.</description><pubDate>Mon, 31 Jan 2022 00:00:00 GMT</pubDate></item><item><title>Partitioning Strategies for Distributed Databases</title><link>https://arpitbhayani.me/blogs/data-partitioning</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/data-partitioning</guid><description>Learn database partitioning! Scale reads/writes &amp; improve availability by splitting your database. Explore horizontal/vertical strategies.</description><pubDate>Mon, 24 Jan 2022 00:00:00 GMT</pubDate></item><item><title>Leaderless Replication</title><link>https://arpitbhayani.me/blogs/leaderless-replication</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/leaderless-replication</guid><description>Explore leaderless replication - a fault-tolerant, strongly consistent data replication strategy. Learn how it works and its benefits.</description><pubDate>Sun, 16 Jan 2022 00:00:00 GMT</pubDate></item><item><title>Multi-Master Conflicts - How to Handle Them</title><link>https://arpitbhayani.me/blogs/conflict-resolution</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/conflict-resolution</guid><description>Explore conflict resolution strategies in multi-master databases. Learn to handle conflicts with unique IDs, database precedence, &amp; custom logic.</description><pubDate>Mon, 03 Jan 2022 00:00:00 GMT</pubDate></item><item><title>Multi-Master Replication - Why Conflicts Happen</title><link>https://arpitbhayani.me/blogs/conflict-detection</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/conflict-detection</guid><description>Understand conflicts in multi-master databases - Learn how to detect and resolve data inconsistencies for reliable systems.</description><pubDate>Sun, 28 Nov 2021 00:00:00 GMT</pubDate></item><item><title>Multi-Master Replication - Scaling Writes Across Geographies</title><link>https://arpitbhayani.me/blogs/multi-master-replication</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/multi-master-replication</guid><description>Explore Multi-Master replication - its benefits like load sharing and high availability, use cases, and key challenges to consider.</description><pubDate>Wed, 03 Nov 2021 00:00:00 GMT</pubDate></item><item><title>Monotonic Reads - How Asynchronous Replication Creates Wormholes</title><link>https://arpitbhayani.me/blogs/monotonic-reads</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/monotonic-reads</guid><description>Explore how asynchronous database replication creates &quot;wormholes&quot; in data consistency and how to fix it with monotonic reads.</description><pubDate>Sun, 03 Oct 2021 00:00:00 GMT</pubDate></item><item><title>Read-Your-Writes Consistency</title><link>https://arpitbhayani.me/blogs/read-your-write-consistency</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/read-your-write-consistency</guid><description>Explore read-your-writes consistency in distributed systems. Learn how to solve replication lag with strategies like synchronous replication.</description><pubDate>Wed, 22 Sep 2021 00:00:00 GMT</pubDate></item><item><title>What Happens When a Master or Replica Fails</title><link>https://arpitbhayani.me/blogs/handling-outages-master-replica</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/handling-outages-master-replica</guid><description>Explore Master-Replica architecture - handling node outages, replica recovery, and master failover strategies for robust systems.</description><pubDate>Tue, 07 Sep 2021 00:00:00 GMT</pubDate></item><item><title>Replication Formats - Statement vs Row-based</title><link>https://arpitbhayani.me/blogs/replication-formats</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/replication-formats</guid><description>Explore Master-Replica replication - Understand statement-based vs. row-based formats, advantages, and disadvantages for distributed systems.</description><pubDate>Sun, 15 Aug 2021 00:00:00 GMT</pubDate></item><item><title>Replication Strategies - Synchronous, Asynchronous, and Semi-Synchronous</title><link>https://arpitbhayani.me/blogs/replication-strategies</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/replication-strategies</guid><description>Explore synchronous, asynchronous, and semi-synchronous data replication strategies in distributed systems. Understand their trade-offs and implications.</description><pubDate>Tue, 10 Aug 2021 00:00:00 GMT</pubDate></item><item><title>Master-Replica Replication</title><link>https://arpitbhayani.me/blogs/master-replica-replication</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/master-replica-replication</guid><description>Explore the Master-Replica architecture - how it scales reads, handles writes, and recovers from failures. Examples included!</description><pubDate>Sat, 07 Aug 2021 00:00:00 GMT</pubDate></item><item><title>Decoding Durability - The D in ACID</title><link>https://arpitbhayani.me/blogs/durability</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/durability</guid><description>Explore database durability, the &quot;D&quot; in ACID. Learn how databases ensure data survives failures &amp; the role of transaction logs.</description><pubDate>Mon, 19 Jul 2021 00:00:00 GMT</pubDate></item><item><title>Decoding Isolation - The I in ACID</title><link>https://arpitbhayani.me/blogs/isolation</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/isolation</guid><description>Dive into database isolation! Understand its importance in maintaining data integrity during concurrent transactions with real-world examples.</description><pubDate>Wed, 07 Jul 2021 00:00:00 GMT</pubDate></item><item><title>Decoding Atomicity - The A in ACID</title><link>https://arpitbhayani.me/blogs/atomicity</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/atomicity</guid><description>Understand Atomicity (the &quot;A&quot; in ACID) in databases, file systems, and hardware. Learn how it ensures data integrity and prevents partial updates.</description><pubDate>Fri, 02 Jul 2021 00:00:00 GMT</pubDate></item><item><title>Decoding Consistency - The C in ACID</title><link>https://arpitbhayani.me/blogs/consistency</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/consistency</guid><description>Understand database consistency (the &quot;C&quot; in ACID) and its importance. Learn how databases maintain data correctness through rules and constraints.</description><pubDate>Fri, 02 Jul 2021 00:00:00 GMT</pubDate></item><item><title>Architectural Patterns for Distributed Systems</title><link>https://arpitbhayani.me/blogs/architectures-in-distributed-systems</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/architectures-in-distributed-systems</guid><description>Explore common architectures in distributed systems, including client-server, 3-tier, n-tier, and peer-to-peer. Understand their characteristics and when to use each one for optimal system design.</description><pubDate>Tue, 22 Jun 2021 00:00:00 GMT</pubDate></item><item><title>Fallacies of Distributed Computing Every Engineer Should Know</title><link>https://arpitbhayani.me/blogs/mistaken-beliefs-of-distributed-systems</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/mistaken-beliefs-of-distributed-systems</guid><description>Learn about the 8 common fallacies of distributed computing that can lead to critical system design flaws. Understand the realities of network reliability, latency, bandwidth, security, topology, administration, transport costs, and network homogeneity for building robust and scalable distributed systems.</description><pubDate>Thu, 17 Jun 2021 00:00:00 GMT</pubDate></item><item><title>Fork Bomb</title><link>https://arpitbhayani.me/blogs/fork-bomb</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/fork-bomb</guid><description>Online Coding Platforms and Code Evaluators are susceptible to this attack as they accept raw code from the user and execute it. So, if you are building one, do ensure you are protected against it and infinite loops.</description><pubDate>Wed, 09 Jun 2021 00:00:00 GMT</pubDate></item><item><title>Python Internals - Exploring Chained Comparison Operators</title><link>https://arpitbhayani.me/blogs/chained-operators-python</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/chained-operators-python</guid><description>Explore Python&apos;s chained comparisons (like a &lt; b &lt; c) and short-circuiting. Learn how they work under the hood and how to modify CPython!</description><pubDate>Wed, 28 Apr 2021 00:00:00 GMT</pubDate></item><item><title>Modeling Udemy&apos;s Categories in a Relational Database</title><link>https://arpitbhayani.me/blogs/taxonomy-on-sql</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/taxonomy-on-sql</guid><description>Model Udemy&apos;s taxonomy on a relational database. Learn efficient SQL queries, indexing, and design for optimal performance.</description><pubDate>Mon, 19 Apr 2021 00:00:00 GMT</pubDate></item><item><title>I Changed the Rules for the Python&apos;s Walrus Operator</title><link>https://arpitbhayani.me/blogs/the-weird-walrus</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/the-weird-walrus</guid><description>Explore Python&apos;s walrus operator ( -=) and its quirks! Learn why `a -= 10` throws an error and how to modify CPython to allow it.</description><pubDate>Thu, 01 Apr 2021 00:00:00 GMT</pubDate></item><item><title>Fully Persistent Arrays</title><link>https://arpitbhayani.me/blogs/fully-persistent-arrays</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/fully-persistent-arrays</guid><description>Explore Fully Persistent Arrays - Understand how to implement arrays that preserve all previous versions, enabling auditing and historical access.</description><pubDate>Mon, 15 Feb 2021 00:00:00 GMT</pubDate></item><item><title>How Persistent Data Structures Work</title><link>https://arpitbhayani.me/blogs/persistent-data-structures-introduction</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/persistent-data-structures-introduction</guid><description>Explore persistent data structures - access historical versions, understand partial, full, and confluent persistence, and see real-world applications.</description><pubDate>Sun, 07 Feb 2021 00:00:00 GMT</pubDate></item><item><title>Constant Folding in Python</title><link>https://arpitbhayani.me/blogs/constant-folding-python</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/constant-folding-python</guid><description>Explore Python&apos;s constant folding - how it optimizes code by evaluating expressions at compile time. Dive into CPython&apos;s elegant implementation.</description><pubDate>Sun, 10 Jan 2021 00:00:00 GMT</pubDate></item><item><title>How Python Uses String Interning to Keep Runtime Efficient</title><link>https://arpitbhayani.me/blogs/string-interning-python</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/string-interning-python</guid><description>Explore Python&apos;s string interning - a compiler optimization for performance. Learn how CPython uses it to boost speed and reduce memory use.</description><pubDate>Sun, 20 Dec 2020 00:00:00 GMT</pubDate></item><item><title>Visualizing Recursion in Python with Just a Decorator</title><link>https://arpitbhayani.me/blogs/recursion-visualizer-python</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/recursion-visualizer-python</guid><description>Visualize recursion in Python! Learn to build a simple recursion tree visualizer using decorators and the recviz package.</description><pubDate>Sun, 13 Dec 2020 00:00:00 GMT</pubDate></item><item><title>Count Distinct With Minimal Memory - Flajolet Martin Algorithm</title><link>https://arpitbhayani.me/blogs/flajolet-martin</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/flajolet-martin</guid><description>Approximate count-distinct in streams using the Flajolet-Martin algorithm. Dive into its intuition, implementation, and applications.</description><pubDate>Sun, 06 Dec 2020 00:00:00 GMT</pubDate></item><item><title>The 2Q Algorithm - Addressing LRU&apos;s Sub-Optimality</title><link>https://arpitbhayani.me/blogs/2q-cache</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/2q-cache</guid><description>Explore the 2Q cache eviction algorithm, an improvement over LRU, used in databases like Postgres. Learn how it optimizes performance!</description><pubDate>Sun, 29 Nov 2020 00:00:00 GMT</pubDate></item><item><title>Israeli Queues</title><link>https://arpitbhayani.me/blogs/israeli-queues</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/israeli-queues</guid><description>Explore Israeli Queues, a unique priority queue variation where elements join friends already waiting! Learn how they optimize batch processing.</description><pubDate>Sun, 22 Nov 2020 00:00:00 GMT</pubDate></item><item><title>1D Terrain Generation</title><link>https://arpitbhayani.me/blogs/1d-terrain</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/1d-terrain</guid><description>Explore procedural 1D terrain generation for games using Python. Learn techniques like interpolation and superposition for realistic landscapes.</description><pubDate>Mon, 16 Nov 2020 00:00:00 GMT</pubDate></item><item><title>MinHash - Fast Jaccard Similarity at Scale</title><link>https://arpitbhayani.me/blogs/jaccard-minhash</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/jaccard-minhash</guid><description>Learn Jaccard Similarity and MinHash, a technique to efficiently estimate set similarity at scale for tasks like near-duplicate detection.</description><pubDate>Sun, 08 Nov 2020 00:00:00 GMT</pubDate></item><item><title>Time Series Smoothing for Anomaly Detection</title><link>https://arpitbhayani.me/blogs/ts-smoothing</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/ts-smoothing</guid><description>Learn how to optimally smooth time series data using kurtosis to highlight anomalies. Prioritize user attention with this smoothing technique.</description><pubDate>Sun, 01 Nov 2020 00:00:00 GMT</pubDate></item><item><title>Implementing LFU in O(1)</title><link>https://arpitbhayani.me/blogs/lfu</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/lfu</guid><description>Explore constant time LFU cache implementation using hash tables and doubly-linked lists. Learn how to achieve O(1) complexity!</description><pubDate>Sun, 23 Aug 2020 00:00:00 GMT</pubDate></item><item><title>Space-Efficient Counting - Exploring Morris&apos; Algorithm</title><link>https://arpitbhayani.me/blogs/morris-counter</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/morris-counter</guid><description>Learn about the Morris Algorithm, a probabilistic method for counting large events with minimal memory. Explore its math and implementation.</description><pubDate>Sun, 02 Aug 2020 00:00:00 GMT</pubDate></item><item><title>Why Slowsort is Hilariously Inefficient</title><link>https://arpitbhayani.me/blogs/slowsort</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/slowsort</guid><description>Explore Slowsort, the deterministically worst sorting algorithm! Learn how it works and its &quot;Multiply and Surrender&quot; paradigm.</description><pubDate>Sun, 26 Jul 2020 00:00:00 GMT</pubDate></item><item><title>Bitcask - A Log-Structured fast KV store</title><link>https://arpitbhayani.me/blogs/bitcask</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/bitcask</guid><description>Bitcask was introduced as the backend for a distributed database named Riak in which each node used to run one instance of Bitcask to hold the data that it was responsible for. In this essay, we take a detailed look into Bitcask, its design, and find the secret sauce that makes it so performant.</description><pubDate>Sun, 19 Jul 2020 00:00:00 GMT</pubDate></item><item><title>Phi Accrual Failure Detection Algorithm</title><link>https://arpitbhayani.me/blogs/phi-accrual</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/phi-accrual</guid><description>Explore Phi Accrual Failure Detection, an adaptive algorithm for detecting failures in distributed systems. Learn how it improves on heartbeats!</description><pubDate>Sun, 12 Jul 2020 00:00:00 GMT</pubDate></item><item><title>Breaking Repeating-Key XOR Encryption</title><link>https://arpitbhayani.me/blogs/decipher-repeated-key-xor</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/decipher-repeated-key-xor</guid><description>Crack repeating-key XOR ciphers! Learn how to find the key length using Hamming distance and frequency analysis in this crypto challenge.</description><pubDate>Sun, 05 Jul 2020 00:00:00 GMT</pubDate></item><item><title>ETAOIN SHRDLU - Using Letter Frequency to Decipher the Ciphered</title><link>https://arpitbhayani.me/blogs/decipher-single-xor</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/decipher-single-xor</guid><description>Crack single-byte XOR ciphers! Learn how to decipher encrypted messages without the key using frequency analysis and Python.</description><pubDate>Sun, 21 Jun 2020 00:00:00 GMT</pubDate></item><item><title>Making Integers Iterable in Python</title><link>https://arpitbhayani.me/blogs/python-iterable-integers</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/python-iterable-integers</guid><description>Dive into Python internals - Modify CPython to make integers iterable! Explore iterators, protocols, and why it&apos;s a bad idea.</description><pubDate>Sun, 14 Jun 2020 00:00:00 GMT</pubDate></item><item><title>Structure Composition and Emulating Inheritance in C</title><link>https://arpitbhayani.me/blogs/inheritance-c</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/inheritance-c</guid><description>Emulate inheritance in C using structure composition! Learn how it enables code extensibility, powering Linux Kernel &amp; Python.</description><pubDate>Sun, 07 Jun 2020 00:00:00 GMT</pubDate></item><item><title>The RUM Conjecture - Storage System Trade-offs</title><link>https://arpitbhayani.me/blogs/rum</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/rum</guid><description>Explore the RUM Conjecture - How Read, Update, and Memory overheads impact storage system design and performance trade-offs.</description><pubDate>Sun, 31 May 2020 00:00:00 GMT</pubDate></item><item><title>Consistent Hashing - What It Is and How to Implement It</title><link>https://arpitbhayani.me/blogs/consistent-hashing</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/consistent-hashing</guid><description>Consistent hashing is a hashing technique that performs really well when operated in a dynamic environment where the distributed system scales up and scales down frequently.</description><pubDate>Sun, 24 May 2020 00:00:00 GMT</pubDate></item><item><title>How Python Handles Integers Under the Hood</title><link>https://arpitbhayani.me/blogs/python-caches-integers</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/python-caches-integers</guid><description>Dive into Python&apos;s integer implementation! Explore how singletons and reference counting optimize performance for small integers.</description><pubDate>Sun, 17 May 2020 00:00:00 GMT</pubDate></item><item><title>Fractional Cascading - Speeding Up Multiple Binary Searches</title><link>https://arpitbhayani.me/blogs/fractional-cascading</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/fractional-cascading</guid><description>Explore Binary Search variations k-searches, unified search &amp; fractional cascading. Optimize search time in k sorted lists!</description><pubDate>Sun, 10 May 2020 00:00:00 GMT</pubDate></item><item><title>Copy-On-Write - When to Use It, When to Avoid It</title><link>https://arpitbhayani.me/blogs/copy-on-write</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/copy-on-write</guid><description>Explore Copy-on-Write (CoW) - Boost performance, manage resources, and enable versioning. Learn how it works with examples and trade-offs.</description><pubDate>Sun, 03 May 2020 00:00:00 GMT</pubDate></item><item><title>How MySQL Avoids Performance Hits from Table Scans</title><link>https://arpitbhayani.me/blogs/midpoint-insertion-caching-strategy</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/midpoint-insertion-caching-strategy</guid><description>Explore MySQL InnoDB&apos;s buffer pool and its midpoint insertion strategy for efficient cache management and scan resistance.</description><pubDate>Sun, 26 Apr 2020 00:00:00 GMT</pubDate></item><item><title>Modeling Finite State Machines with Python Coroutines</title><link>https://arpitbhayani.me/blogs/fsm-python</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/fsm-python</guid><description>Explore Finite State Machines (FSM) with Python coroutines. Learn to model FSMs for regex, divisibility, &amp; SQL validation.</description><pubDate>Sun, 19 Apr 2020 00:00:00 GMT</pubDate></item><item><title>Building Better Ratings with Bayesian Averages</title><link>https://arpitbhayani.me/blogs/bayesian-average</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/bayesian-average</guid><description>Learn how to create a robust rating system using Bayesian Average to rank items effectively. Explore its advantages over arithmetic mean and cumulative ratings, and see how it can be applied using the MovieLens Dataset.</description><pubDate>Sun, 12 Apr 2020 00:00:00 GMT</pubDate></item><item><title>Sliding Window Rate Limiting - Design and Implementation</title><link>https://arpitbhayani.me/blogs/sliding-window-ratelimiter</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/sliding-window-ratelimiter</guid><description>A rate limiter restricts the intended or unintended excessive usage of a system by regulating the number of requests made to/from it by discarding the surplus ones.</description><pubDate>Sun, 05 Apr 2020 00:00:00 GMT</pubDate></item><item><title>The Intuition Behind IDF</title><link>https://arpitbhayani.me/blogs/idf</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/idf</guid><description>Explore Inverse Document Frequency (IDF), a key concept in search &amp; text mining. Learn how it quantifies term rarity and its connection to probability.</description><pubDate>Tue, 10 Mar 2020 00:00:00 GMT</pubDate></item><item><title>Habits that Make a Great Programmer</title><link>https://arpitbhayani.me/blogs/better-programmer</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/better-programmer</guid><description>8 rituals to level up your programming skills! Learn how to code better, think faster, and build complex systems with these actionable tips.</description><pubDate>Fri, 28 Feb 2020 00:00:00 GMT</pubDate></item><item><title>Python Prompt Strings</title><link>https://arpitbhayani.me/blogs/python-prompts</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/python-prompts</guid><description>Customize your Python interactive shell prompt! Learn how to personalize and format your `&gt;&gt;&gt;` and `...` prompts.</description><pubDate>Fri, 21 Feb 2020 00:00:00 GMT</pubDate></item><item><title>Rule 30 - Generating Random Numbers with Cellular Automata</title><link>https://arpitbhayani.me/blogs/rule-30-cellular-automata</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/rule-30-cellular-automata</guid><description>Explore Rule 30, a cellular automaton, and its surprising application in pseudorandom number generation. Discover its chaotic patterns!</description><pubDate>Fri, 14 Feb 2020 00:00:00 GMT</pubDate></item><item><title>Python&apos;s Missing Feature - Function Overloading</title><link>https://arpitbhayani.me/blogs/function-overloading</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/function-overloading</guid><description>Explore function overloading in Python! Learn how to implement it using decorators and namespaces, despite Python&apos;s limitations.</description><pubDate>Fri, 07 Feb 2020 00:00:00 GMT</pubDate></item><item><title>Isolation Forest - Fast and Efficient Anomaly Detection</title><link>https://arpitbhayani.me/blogs/isolation-forest</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/isolation-forest</guid><description>Uncover anomalies with Isolation Forest, an unsupervised algorithm. Learn its core principles, tree construction, and scoring for anomaly detection.</description><pubDate>Fri, 31 Jan 2020 00:00:00 GMT</pubDate></item><item><title>Image Steganography</title><link>https://arpitbhayani.me/blogs/image-steganography</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/image-steganography</guid><description>Explore image steganography - Hide secret messages within images! Learn techniques, from LSB substitution to JPEG methods.</description><pubDate>Fri, 17 Jan 2020 00:00:00 GMT</pubDate></item><item><title>How Python Handles Gigantic Integers</title><link>https://arpitbhayani.me/blogs/long-integers-python</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/long-integers-python</guid><description>Explore Python&apos;s arbitrary-precision integers! Learn how it handles large numbers internally, from storage to operations like addition.</description><pubDate>Fri, 10 Jan 2020 00:00:00 GMT</pubDate></item><item><title>Python Internals - I Made Addition Unpredictable</title><link>https://arpitbhayani.me/blogs/i-changed-my-python</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/i-changed-my-python</guid><description>Explore Python internals by tweaking its source code! Learn how I made addition unpredictable and the challenges I faced.</description><pubDate>Fri, 03 Jan 2020 00:00:00 GMT</pubDate></item><item><title>Analyzing MongoDB Pagination Performance Differences</title><link>https://arpitbhayani.me/blogs/benchmark-and-compare-pagination-approach-in-mongodb</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/benchmark-and-compare-pagination-approach-in-mongodb</guid><description>Benchmark of MongoDB pagination strategies! See which method (_id vs skip/limit) performs best for large datasets. Find the code on GitHub.</description><pubDate>Fri, 24 Mar 2017 00:00:00 GMT</pubDate></item><item><title>MongoDB Pagination - Skip is Slow</title><link>https://arpitbhayani.me/blogs/mongodb-cursor-skip-is-slow</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/mongodb-cursor-skip-is-slow</guid><description>Is MongoDB `skip` slow? Understand when &amp; why `skip` impacts pagination performance. Learn efficient alternatives for large datasets.</description><pubDate>Thu, 23 Mar 2017 00:00:00 GMT</pubDate></item><item><title>MongoDB Pagination - Two Approaches You Need to Know</title><link>https://arpitbhayani.me/blogs/fast-and-efficient-pagination-in-mongodb</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/fast-and-efficient-pagination-in-mongodb</guid><description>Learn how to efficiently paginate MongoDB data using `skip/limit` and `_id`-based methods. Improve performance for batch processing &amp; UI display.</description><pubDate>Wed, 22 Mar 2017 00:00:00 GMT</pubDate></item><item><title>HTTP - The Hard Way with Netcat</title><link>https://arpitbhayani.me/blogs/making-http-requests-using-netcat</link><guid isPermaLink="true">https://arpitbhayani.me/blogs/making-http-requests-using-netcat</guid><description>Explore HTTP messages by building a simple Python webserver and interacting with it using Netcat. See requests in action!</description><pubDate>Tue, 12 Apr 2016 00:00:00 GMT</pubDate></item></channel></rss>