Need advice about which tool to choose?Ask the StackShare community!
Couchbase vs Event Store: What are the differences?
What is Couchbase? Document-Oriented NoSQL Database. Developed as an alternative to traditionally inflexible SQL databases, the Couchbase NoSQL database is built on an open source foundation and architected to help developers solve real-world problems and meet high scalability demands.
What is Event Store? *The open-source, functional database with Complex Event Processing *. It stores your data as a series of immutable events over time, making it easy to build event-sourced applications. It can run as a cluster of nodes containing the same data, which remains available for writes provided at least half the nodes are alive and connected.
Couchbase and Event Store can be primarily classified as "Databases" tools.
Some of the features offered by Couchbase are:
- JSON document database
- N1QL (SQL-like query language)
- Secondary Indexing
On the other hand, Event Store provides the following key features:
- Functional Database
- Event-sourced applications
- Stores data
Geefu, Musixmatch, and Vestiaire Collective are some of the popular companies that use Couchbase, whereas Event Store is used by Domraider, Industrial Inference, and Gilmond. Couchbase has a broader approval, being mentioned in 60 company stacks & 119 developers stacks; compared to Event Store, which is listed in 9 company stacks and 11 developer stacks.
We Have thousands of .pdf docs generated from the same form but with lots of variability. We need to extract data from open text and more important - from tables inside the docs. The output of Couchbase/Mongo will be one row per document for backend processing. ADOBE renders the tables in an unusable form.
I prefer MongoDB due to own experience with migration of old archive of pdf and meta-data to a new “archive”. The biggest advantage is speed of filters output - a new archive is way faster and reliable then the old one - but also the the easy programming of MongoDB with many code snippets and examples available. I have no personal experience so far with Couchbase. From the architecture point of view both options are OK - go for the one you like.
I would like to suggest MongoDB or ArangoDB (can't choose both, so ArangoDB). MongoDB is more mature, but ArangoDB is more interesting if you will need to bring graph database ideas to solution. For example if some data or some documents are interlinked, then probably ArangoDB is a best solution.
To process tables we used Abbyy software stack. It's great on table extraction.
If you can select text with mouse drag in PDF. Use pdftotext it is fast! You can install it on server with command "apt-get install poppler-utils". Use it like "pdftotext -layout /path-to-your-file". In same folder it will make text file with line by line content. There is few classes on git stacks that you can use, also.
We implemented our first large scale EPR application from naologic.com using CouchDB .
Very fast, replication works great, doesn't consume much RAM, queries are blazing fast but we found a problem: the queries were very hard to write, it took a long time to figure out the API, we had to go and write our own @nodejs library to make it work properly.
It lost most of its support. Since then, we migrated to Couchbase and the learning curve was steep but all worth it. Memcached indexing out of the box, full text search works great.
Pros of Couchbase
- High performance18
- Flexible data model, easy scalability, extremely fast18
- Mobile app support9
- You can query it with Ansi-92 SQL7
- All nodes can be read/write6
- Equal nodes in cluster, allowing fast, flexible changes5
- Both a key-value store and document (JSON) db5
- Open source, community and enterprise editions5
- Automatic configuration of sharding4
- Local cache capability4
- Easy setup3
- Linearly scalable, useful to large number of tps3
- Easy cluster administration3
- Cross data center replication3
- SDKs in popular programming languages3
- Elasticsearch connector3
- Web based management, query and monitoring panel3
- Map reduce views2
- DBaaS available2
- NoSQL2
- Buckets, Scopes, Collections & Documents1
- FTS + SQL together1
Pros of Event Store
- Trail Log1
Sign up to add or upvote prosMake informed product decisions
Cons of Couchbase
- Terrible query language3