Add Document store section
parent
c6ac09f0fc
commit
b5f0815ffa
19
README.md
19
README.md
|
@ -1094,3 +1094,22 @@ A key-value store is the basis for more complex system systems such as a documen
|
||||||
* [Disadvantages of key-value stores](http://stackoverflow.com/questions/4056093/what-are-the-disadvantages-of-using-a-key-value-table-over-nullable-columns-or)
|
* [Disadvantages of key-value stores](http://stackoverflow.com/questions/4056093/what-are-the-disadvantages-of-using-a-key-value-table-over-nullable-columns-or)
|
||||||
* [Redis architecture](http://qnimate.com/overview-of-redis-architecture/)
|
* [Redis architecture](http://qnimate.com/overview-of-redis-architecture/)
|
||||||
* [Memcached architecture](https://www.adayinthelifeof.nl/2011/02/06/memcache-internals/)
|
* [Memcached architecture](https://www.adayinthelifeof.nl/2011/02/06/memcache-internals/)
|
||||||
|
|
||||||
|
#### Document store
|
||||||
|
|
||||||
|
> Abstraction: key-value store with documents stored as values
|
||||||
|
|
||||||
|
A document store is centered around documents (XML, JSON, binary, etc), where a document stores all information for a given object. Document stores provide APIs or a query language to query based on the internal structure of the document itself. *Note, many key-value stores include features for working with a value's metadata, blurring the lines between these two storage types.*
|
||||||
|
|
||||||
|
Based on the underlying implementation, documents are organized in either collections, tags, metadata, or directories. Although documents can be organized or grouped together, documents may have fields that are completely different from each other.
|
||||||
|
|
||||||
|
Some document stores like [MongoDB](https://www.mongodb.com/mongodb-architecture) and [CouchDB](https://blog.couchdb.org/2016/08/01/couchdb-2-0-architecture/) also provide a SQL-like language to perform complex queries. [DynamoDB](http://www.read.seas.harvard.edu/~kohler/class/cs239-w08/decandia07dynamo.pdf) supports both key-values and documents.
|
||||||
|
|
||||||
|
Document stores provide high flexibility and are often used for working with occasionally changing data.
|
||||||
|
|
||||||
|
##### Source(s) and further reading: document store
|
||||||
|
|
||||||
|
* [Document-oriented database](https://en.wikipedia.org/wiki/Document-oriented_database)
|
||||||
|
* [MongoDB architecture](https://www.mongodb.com/mongodb-architecture)
|
||||||
|
* [CouchDB architecture](https://blog.couchdb.org/2016/08/01/couchdb-2-0-architecture/)
|
||||||
|
* [Elasticsearch architecture](https://www.elastic.co/blog/found-elasticsearch-from-the-bottom-up)
|
||||||
|
|
Loading…
Reference in New Issue