Skip to main content

Recently Updated Pages

Finance

Cheat Sheets Finances

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

Updated 10 months 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 10 months 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 10 months 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 10 months 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 10 months 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 10 months 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 10 months 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 10 months 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 10 months ago by Admin

Approximation Pattern

MongoDB Basic Schema Design Patterns

When data is changing constantly, and exact statistic is not critical, we can use approximations ...

Updated 10 months ago by Admin

Computed Pattern

MongoDB Basic Schema Design Patterns

Use Case: running a function frequently degrade performance, for example: calculate the average ...

Updated 10 months ago by Admin

Outlier Pattern

MongoDB Advanced Schema Design Patterns

used when some documents are different and needs a different method to interact. example: most of...

Updated 10 months ago by Admin

Bucket Pattern

MongoDB Advanced Schema Design Patterns

The bucket pattern: groups pieces of information into buckets keep documents size predictable re...

Updated 10 months ago by Admin

Subset Pattern

MongoDB Advanced Schema Design Patterns

a book have N reviews only embed 3 reviews to the book Code Summary: Subset Pattern To apply th...

Updated 10 months ago by Admin

Single Collection Pattern

MongoDB Advanced Schema Design Patterns

The single collection pattern groups related documents of different types into a single collectio...

Updated 10 months ago by Admin

Concurrency vs Parallelism

Golang Advanced Golang

Updated 10 months ago by Admin

Goroutine

Golang Advanced Golang

Goroutines are not threads The Go runtime efficiently manages a pool of OS threads to execute m...

Updated 10 months ago by Admin

Don't Communicate by Sharing Memory, Share Memory by Communicating

Golang Advanced Golang

Updated 10 months ago by Admin

gcloud notes

GCP

Universals # the cheat sheet $ gcloud cheat-sheet # initialize gcloud $ gcloud init # ge...

Updated 1 year ago by Admin

Q&A

GCP

What does SQL Proxy provide? a secure way to access Cloud SQL instances without having to allowl...

Updated 1 year ago by Admin