-
Notifications
You must be signed in to change notification settings - Fork 259
Home
To use
go get
, please use URLloveoneanother.at/tiedot
. See INSTALL for more details.
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 (2nd Gen) | 147k | 290k | 65k | 75k | 190k | 155k | A 3 years old laptop |
Amazon EC2 c1.medium | 54k | 117k | 29k | 31k | 85k | 65k | A medium range instance |
Mix* runs simultaneous insert/read/update/delete/query operations. See Performance tuning and benchmarks for more details
- 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.
Please contact Howard for feedback /questions. I would love to hear from you! Please also check out my Twitter and blog.
tiedot uses 2-clause BSD license:
Copyright (c) 2013, Howard Guo All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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?