ElasticSearch
Inspired by System Design Interview: Design Ticketmaster w/ a Ex-Meta Staff Engineer
It builds an inverted index to make searching documents by terms quickly. Example:
taylor: (event1, event2)
Tokenization in Elasticsearch is the process of breaking a stream of text characters down into smaller, individual chunks called tokens (usually single words)
Elastic search is not recommended as primary database. Doesn't handle transactions complex really well
Don't forget elastic search on Aws is open search.
Open search has a top query lru cache option for hot terms
Sources
- System Design Interview: Design Ticketmaster w/ a Ex-Meta Staff Engineer inspired this note
Referenced by
- Search optimised databaseGrowing
It usually builds an inverted index for fast querying, like: Tokenization: Tokenization is the process of breaking a piece of text into individual words. This allows you to map from words to…