News for hackers. Stuff that matters.

garbados

You say you evaluated Cloudant and MongoDB, among others. Why did you decide on Cloudant?
Re:PouchDB, the In-Browser Database That Replicates on Friday October 25, 2013 @01:57PM (#6613309)
So many kudos to Dale Harvey for driving this incredible project. CouchDB's concept of replication is itself mind-blowing, but PouchDB bringing that to the {app,client}-layer opens up untold possibilities for robust, distributed systems.
Re:PouchDB, the In-Browser Database That Replicates on Friday October 25, 2013 @01:29PM (#6613047)
Yep! It replicates your remote database to a local store (IndexedDB on the browser, LevelDB in Node.js), so that losing connection doesn't stop your app. When you regain connection, it continues replicating as normal.
Re:PouchDB, the In-Browser Database That Replicates on Friday October 25, 2013 @01:16PM (#6612925)
Cloudant is a hosted, managed, distributed database as a service. We're based on CouchDB, but then added clustering, then full-text search, and -- coming soon -- geo-indexing :D

BigCouch, and the clustering abilities that we're merging back into CouchDB, are open-source artifacts of the work we do on the core product. The open-source community gave us so much, and we love giving back :D

Re:PouchDB, the In-Browser Database That Replicates on Friday October 25, 2013 @12:45PM (#6612704)
Aye, which is why putting your administrative credentials in client-side JavaScript is an unspeakably bad idea.

Instead, serve {client,user}-specific keys from the server on request, or let the user generate them through a signin process in the frontend, say by using the _users database that CouchDB and Cloudant allow.

Re:PouchDB, the In-Browser Database That Replicates on Friday October 25, 2013 @12:41PM (#6612682)
> especially after having named their product PouchDB.

Ah, PouchDB isn't our product. It's just something super awesome that we want to support and promote. In fact, it's built by Dale Harvey, who works at Mozilla.

Disclosure: I'm a developer at Cloudant.

Re:Schema.org API on Sunday September 22, 2013 @11:59AM (#6426967)
No sweat; still figuring that out myself.

So, http://schema.org/ stores schemas describing a significant subset of all things ever. It's intended to use to mark up HTML so crawlers can more intelligently understand what's on your page. Is `avatar` a movie, a show, or a profile image?

I'm experimenting with using schema.org's schemas in databases, saving myself time modeling my data, and making the aforementioned HTML markup easier. Part of that experimentation is this API, and using it to auto-generate schemas.

Re:Searching for Dark Matter with Cloudant, part 3 on Friday September 13, 2013 @02:39PM (#6382290)
Re:Scaling MongoDB at Mailbox on Thursday September 12, 2013 @04:10PM (#6376604)
tl;dr your system is more complicated than you realize, so scaling it will be more complicated than you think. Also, MongoDB's write lock is a pain in the ass.
Re:Run-DMC explains Network Partitions in CouchDB on Friday June 21, 2013 @02:04PM (#5919843)
Thanks! Re: callouts, duly noted for the next analysis.
Re:Run-DMC explains Network Partitions in CouchDB on Wednesday June 19, 2013 @10:42AM (#5905817)
Author here. I had a blast writing this. Thanks to everyone who helped me out with it. I'm constantly amazed by the compassion of the tech community.

If you spot anything you want fixed, or if you just want to check out the source code, raise an issue here: https://github.com/garbados/jepsen-couchdb

Thanks, gang :D