Recently Updated Pages
Finance
ISO 20022 a international standard for communication in financial systems. widely adopted by fin...
Inheritance Pattern
To apply the Inheritance Pattern to documents in a collection, you can use the aggregation framew...
Schema Migration
Schema migration is transition from one schema to the next Migration Strategies: Eager: all at o...
Schema Evolution
In this example, we implemented the updated reviews schema to include an optional locale field, i...
Schema Validation
To create a new "sales" collection schema validation, we use the createCollection method with the...
Anti Patterns
Unbounded Arrays an array without a size limit used subset pattern or extended reference pattern...
Archive Pattern
Move data no longer needed to a different place so performance is not dragged. archive book revi...
Schema Versioning Pattern
add a schema_version field to the document To Handle multiple versions: application handles bo...
Extended Reference Pattern
Joins are expensive so store some must have data into the child to avoid joins. This creates dat...
Approximation Pattern
When data is changing constantly, and exact statistic is not critical, we can use approximations ...
Computed Pattern
Use Case: running a function frequently degrade performance, for example: calculate the average ...
Outlier Pattern
used when some documents are different and needs a different method to interact. example: most of...
Bucket Pattern
The bucket pattern: groups pieces of information into buckets keep documents size predictable re...
Subset Pattern
a book have N reviews only embed 3 reviews to the book Code Summary: Subset Pattern To apply th...
Single Collection Pattern
The single collection pattern groups related documents of different types into a single collectio...
Concurrency vs Parallelism
Goroutine
Goroutines are not threads The Go runtime efficiently manages a pool of OS threads to execute m...
Don't Communicate by Sharing Memory, Share Memory by Communicating
gcloud notes
Universals # the cheat sheet $ gcloud cheat-sheet # initialize gcloud $ gcloud init # ge...
Q&A
What does SQL Proxy provide? a secure way to access Cloud SQL instances without having to allowl...