Cdb: a fast, reliable, simple package for creating, reading constant databases
1–10 of 43 posts
Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#2Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#3What advantages does this have over SQLite?
Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#4What advantages does this have over SQLite?
It's not really the same thing, though. CDB provides a single key -> value mapping in a single file, with updates by replacing the entire file; SQLite is a relational database with updates, locking, transactions, SQL, etc.
Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#5Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#6What advantages does this have over SQLite?
Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#7It's easy to implement and really demonstrates some good system engineering tradeoffs.
Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#8What advantages does this have over SQLite?
It's extremely fast and it's easy to work with for reading, but it's just a key-value store. Also, it's sort of weird to work with on the write side. You have to do atomic replaces of the read-only data files.
A lot of data doesn't change very often; and a lot of data can tolerate propagation delays on change. When you have an extremely high read volume against such data sets, it can be economical to cache the entire data set and distribute it periodically to the fleets of machines that require access, as opposed to servicing individual reads over a network. Provides lower cost and latency, while supporting a higher volume of reads and higher availability, at the expense of engineering cost and propagation delay.
Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#9Re: Cdb: a fast, reliable, simple package for creating, reading constant databases
#10Where's a github mirror?
A google search reveals some entries from the language implementations.
Go: https://github.com/jbarham/go-cdb Java: https://github.com/malyn/sg-cdb Haskell: https://github.com/adamsmasher/hs-cdb