News for hackers. Stuff that matters.
Re:MongoDB shares jump more than 30% in $192M IPO by programmarchy on Thursday October 19, 2017 @05:40PM (#15511768)
Couchbase has a pretty nice mobile sync system, with clients for both Android and iOS.
Re:MongoDB shares jump more than 30% in $192M IPO by HodGreeley on Thursday October 19, 2017 @06:34PM (#15512115)
Just want to note Couchbase is not just for mobile. Couchbase Server is an enterprise-class document-oriented (like Mongo) db with a dynamic query language that's a superset of SQL. (FD: I work for Couchbase).
Re:MongoDB shares jump more than 30% in $192M IPO by revel on Thursday October 19, 2017 @09:13PM (#15512890)
I started a company and chose couchbase. We haven't launched yet, so I've been using the community version and cobbling stuff together.

In this context: please, for the love of God, improve your documentation and dev tools. I love the underlying technology but my experience getting a basic service up and running has been pretty mixed. One of the reasons mongodb has been so successful is that there's 50 bajillion articles showing you how to hack up some crappy code that roughly does what you need it to do. Some of those articles are less bad than others, but in a pinch you can find something to at least get you on the right track. Couchbase doesn't have that deep well of experience to draw on. If you run into a problem, or experience strange behavior, it's up to you to figure out what's going on. That would be ok, but even the official documentation and standard dev tools are not good enough. To get people to adopt couchbase you need to do more to get them started.

Javascript-specific whining: it's particularly frustrating to find an official ODM like ottoman and discover that half the features don't work and that there are tons of bugs that haven't been fixed for about a year. These aren't minor bugs either; some of them stop you using headline features. Forget full text search, N1QL is mostly unusable! Check out ottoman bug #153 for details there.

Re:MongoDB shares jump more than 30% in $192M IPO by fermuch on Thursday October 19, 2017 @05:47PM (#15511815)
The problem I found with couch is handling user permissions at database level. Except for that detail, it's one of the best databases I've ever used.
Re:MongoDB shares jump more than 30% in $192M IPO by programmarchy on Thursday October 19, 2017 @06:01PM (#15511901)
With the sync gateway you get pretty fine grained control. Every create or update goes through a sync function you can define in JavaScript which can deny requests. You can control which users see what by assigning the document to channels. So a user can only pull down documents if that document is on a channel they have access, too.

The issue I've found with the sync gateway is that the queries you can perform are more limited than what you can do directly on a Couchbase store e.g. joining data is difficult.

BTW, Couchbase should not be confused with CouchDB. Similar name and might have some history in common, but Couchbase is more fully featured.

Re:MongoDB shares jump more than 30% in $192M IPO by beamatronic on Thursday October 19, 2017 @06:18PM (#15512032)
Agree, and also I would distinguish between Couchbase Enterprise Edition versus Community Edition.