- key-value database
- Redis and memcache
- extremely fast
- in memory
- limited space
- use case
- caching
- pub/sub – chat or messege queue
- wide column database
- hbase and cassandra
- key and wide columns data for more info
- decentralize and can be scale
- use case
- time-series
- historical records
- high write, low read
- document database
- mongodb
- collection -> document -> key-value (can be stack into several layers)
- schema-less
- use case
- relational database
- mysql, postgres
- SQL
- primary key, foreign key
- schema required
- graph database
- neo4j
- node – relationship
- cypher
- use lot of join -> faster performance than SQL
- use case
- graph
- knowledge graph
- recommendation engine
- full-text search database
- elastic, solr, lucene, meili
- index – text
- inverted index to link term(for search) <-> index of documents
- use case
- multi-model database
- fauna
- combine document database and graph database
No Comments