Understanding Server-Side and Client-Side Database Cursors
Notes on server-side and client-side database cursors, their differences, pros and cons, and how to use them with PostgreSQL and Python.
Introduction to TypeScript: Getting Started and Key Concepts
An overview of TypeScript, its benefits, and how to get started with installation and modern JavaScript features.
Understanding Database Engines: MyISAM, InnoDB, and Beyond
A detailed exploration of database engines like MyISAM, InnoDB, Aria, LevelDB, RocksDB, SQLite, and more, covering their features, use cases, and how to switch engines in MySQL.
Designing a URL Shortener Database Backend: Trade-offs and Scaling
Exploring two database designs for a URL shortener, their trade-offs, and scaling strategies to balance speed, security, and scalability.
Designing a Twitter-like System: Trade-offs and Core Concepts
Exploring the challenges of designing a scalable Twitter-like system, covering authentication, database design, message queues, load balancing, and handling user follows.
Understanding Database Replication: Master-Slave vs. Multi-Master
Explores database replication types (Master-Slave vs. Multi-Master), synchronous vs. asynchronous modes, and a hands-on Postgres 13 demo.
Why SQL Pagination With Offset is Slow and How to Optimize It
Learn why using OFFSET for pagination harms performance and discover efficient alternatives like keyset pagination.
Database Sharding and Consistent Hashing Explained
A deep dive into database sharding, consistent hashing, and their practical implementation using Postgres and NodeJS.
119 post articles, 15 pages.