To use
go get
, please use URLloveoneanother.at/tiedot
. See INSTALL for more details.
Your contribution means a lot to tiedot! Please read ways to contribute.
tiedot is a document database that uses JSON for documents and queries; it can be embedded into your program, or run a stand-alone server using HTTP for an API.
- Designed for both embedded usage and standalone service.
- Fault-tolerant data structures that put safety of your data first.
- Very scalable on SMP computers.
- Use JSON syntax to build powerful queries.
- Support both *nix and Windows operating systems.
tiedot scales very well on SMP computers. The following performance results are collected from three machines types, using tiedot built-in benchmark:
(Operations per second)
Processor | Insert | Read | Query | Update | Delete | Mix* | Machine Type |
---|---|---|---|---|---|---|---|
Mobile Intel Core i7 2.8GHZ | 430,000 | 697,000 | 152,000 | 204,000 | 495,000 | 375,000 | 2013 model MacBook |
Mobile Intel Core i7 1.8GHZ | 147,000 | 290,000 | 65,000 | 75,000 | 190,000 | 155,000 | 2011 model laptop |
Amazon EC2 c1.medium | 54,000 | 117,000 | 29,000 | 31,000 | 85,000 | 65,000 | A medium range instance |
Mix* runs simultaneous insert/read/update/delete/query operations. See Performance tuning and benchmarks for more details
Did you know? The largest known tiedot deployment powers a personal offline Wikipedia indexing project, it has 5.9 million documents and over 73GB of data.
- Quick Start Guide: tiedot in 10 minutes
- API V1 reference
- API V2 reference
- API V3 reference
- Embedded usage
- Data structures
- Query processor and index
- Concurrency and networking
- Performance tuning and benchmarks
- Limitations
See Version History for detailed change logs, known issues, etc.
Branch | Release Version | API Support | Release Date | Highlights |
---|---|---|---|---|
alpha | Alpha | V1 only | 2013-06-28 | First release |
beta | Beta | V1 only | 2013-07-12 | Platform support and data durability improvements. |
1.0 | 1.0 | V1 and V2 | 2013-09-21 | Query performance/syntax, and documentation improvements. |
1.1 | 1.1 | V1 V2 V3 | 2013-10-06 | Memory consumption improvements; persistent document ID system. |
Future development plans are tracked in Issues section.
For feedback and questions, please contact Howard - I would love to hear from you! Please also check out my Twitter and blog.
Please check out Contributors and License.
Is tiedot "yet another NoSQL database"?
There are probably as many NoSQL database as there are Linux distributions.
tiedot is not as powerful (yet) - and does not intend to compete with mainstream NoSQL database engines such as CouchDB or Cassandra. However, tiedot performs reasonably well given its small size (around 3k LOC); and due to its simplicity, its performance may come close or even exceed those large brand NoSQL solutions (under certain workloads).
What is the motive behind this project?
Golang (Go) is a fascinating language - very easy to use, scalable and reasonably stable. I am very passionate about document database technologies (check out my other GitHub projects!) and enjoy seeing my code scaling well on SMP machines. This is my Golang exercise.
Why the name "tiedot"?
"tiedot" is a Finnish word standing for "data". I enjoy learning (natural and computer) languages, also enjoy listening to music in many languages. "Tiedot" sounds cute, doesn't it?