@rkenmi - Home

Snowflake

Introduction Twitter's Snowflake is a ID generation scheme that tackles all of the requirements below: ID fits under 64 bits ID will be used with distribution in mind (horizontal scale SQL, Cassandra, etc.

databasesqltwittersnowflakedistributed systemscassandra

NoSQL - the Radical Databases

NoSQL NoSQL is a category of databases that aren't relational. For example, MySQL would be a relational database, where as MongoDB would be a NoSQL database. Back then, relational databases were the tried-and-true, prevalent and reliable data stores.

graphHadoopnosqlcolumnardocumentsqlkey-valuebigtablehdfs

RNN - Recurrent Neural Networks

Recurrent Neural Networks Intuition For sequential modeling, we may have inputs that can vary wildly and depend on more contextual information that a feed-forward neural network (the simplest of neural networks) can't handle.

machine learningneural networksRNN

Virtual Memory

What is virtual memory? What is the difference between physical vs. virtual memory?

virtual memorypagingsegmentationrammmucpudisk

Sharding Techniques

Introduction Sharding can be summarized as a technique in which a database table can be split into multiple database servers to optimize read/write performance. Benefits include: Optimized query time Instead of having one huge database table, you have multiple smaller tables in more than one machine.

databasehorizontal partitioningshardingMapReduceconsistent hashingdynamic sharding