/tiedot

Your NoSQL database powered by Golang

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Keywords: Golang, go, document database, NoSQL, JSON

Golang logo

tiedot - Your NoSQL database powered by Golang

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.

Feature Highlights

  • 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.

High Performance!

tiedot scales very well on SMP computers. Here are results collected from tiedot built-in benchmarks:

(Operations per second)

Processor Insert Read Query Update Delete Mix* Machine Type
Mobile Intel Core i7 2.8GHZ 345,000 680,000 155,000 200,000 490,000 435,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.

Your contribution means a lot to tiedot! Please read ways to contribute.

References

Version History

See Version History for detailed change logs, known issues, etc.

Version (and branch name) Release Date Highlights
Alpha 2013-06-28 First release
Beta 2013-07-12 Platform support and data durability improvements.
1.0 2013-09-21 Query performance/syntax, and documentation improvements.
1.1 2013-10-06 Memory consumption improvements; persistent document ID system.

Contact and License

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.

Project Background

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?