Skip to main content

Recently Updated Pages

Javascript Advanced

Cheat Sheets

The + Operator converting the given expression to a number +(new Date()) // 1593565210654 +tru...

Updated 1 year ago by Admin

Cassandra Cheatsheet

Cheat Sheets Database

ref: Jordan Key characteristics WideColumnStore Eventual Consistency Tunable ACID LSM Tree Index...

Updated 1 year ago by Admin

Fundamentals

Cheat Sheets Message Queues / Stream Processing

Push Type Message Queue optimized for latency messages are pushed out as soon as they arrive ...

Updated 1 year ago by Admin

Network Protocols

Cheat Sheets System Design

HTTP, WebSocket, gRPC, WebRTC original post: GetStream Communication Protocol? a protocol is ...

Updated 1 year ago by Admin

Trees

Cheat Sheets DSA

Types of trees Binary Tree Binary Search Tree left child < node < right value AVL Tree se...

Updated 1 year ago by Admin

Definitions

Cheat Sheets DSA

Bloom Filter Searching for a key in a cache system might take a long time in a LSM tree because ...

Updated 1 year ago by Admin

Regex

Cheat Sheets Fundamentals

// Character class [xyz] => matches one of [x,y,z] [a-c] => matches one of [a,b,c] // Negated ch...

Updated 1 year ago by Admin

Mutex

Cheat Sheets Fundamentals

What is it mutual exclusion a synchronization primitive used in concurrent programming to ensure...

Updated 1 year ago by Admin

Setting up a Redis-Cluster in Kubernetes

Cheat Sheets Configuration Notes

Updated 1 year ago by Admin

Git

Cheat Sheets Fundamentals

Dev developing procedure checkout a new branch called "feature_branch" make modifications commit...

Updated 1 year ago by Admin

Strings

Cheat Sheets DSA

ZList: def buildZList(s: str) -> List[int]: """ Used in pattern matching: buildZList(need...

Updated 1 year ago by Admin

Finance

Cheat Sheets Finances

ISO 20022 a international standard for communication in financial systems. widely adopted by fin...

Updated 1 year ago by Admin

Inheritance Pattern

MongoDB Basic Schema Design Patterns

To apply the Inheritance Pattern to documents in a collection, you can use the aggregation framew...

Updated 1 year ago by Admin

Schema Migration

MongoDB Schema Lifecycle Management

Schema migration is transition from one schema to the next Migration Strategies: Eager: all at o...

Updated 1 year ago by Admin

Schema Evolution

MongoDB Schema Lifecycle Management

In this example, we implemented the updated reviews schema to include an optional locale field, i...

Updated 1 year ago by Admin

Schema Validation

MongoDB Schema Lifecycle Management

To create a new "sales" collection schema validation, we use the createCollection method with the...

Updated 1 year ago by Admin

Anti Patterns

MongoDB Schema Design Anti Patterns

Unbounded Arrays an array without a size limit used subset pattern or extended reference pattern...

Updated 1 year ago by Admin

Archive Pattern

MongoDB Advanced Schema Design Patterns

Move data no longer needed to a different place so performance is not dragged. archive book revi...

Updated 1 year ago by Admin

Schema Versioning Pattern

MongoDB Basic Schema Design Patterns

add a schema_version field to the document To Handle multiple versions: application handles bo...

Updated 1 year ago by Admin

Extended Reference Pattern

MongoDB Basic Schema Design Patterns

Joins are expensive so store some must have data into the child to avoid joins. This creates dat...

Updated 1 year ago by Admin