Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This does not matter. I'm author of another KV store (Redis), but years ago got real-time chat working with MySQL, check this:

http://w.ebchat.com/channel/hackernews

You can do it with MySql, or with files in append mode with "message_id - message", and everything else.

I think that KV stores are great, but if you create a false sense of coolness this is going to hurt in the long run. It is important to show people why really new forms of DBs can be useful and important.

edit: If the point is instead the fact that the DB talks directly HTTP, the w.ebchat.com chat PHP layer is ridiculous, just a wrapper that takes parameters from the HTTP side and run a query returning back the data. I can only see the HTTP protocol as interface to KV DB as a good way to lost a lot of performances without a reason.



@antirez the thing is that CouchDB is designed for replication. Every CouchApp is a p2p web app. This is different from the web we've known before.

CouchDB will never be as fast as some other k/v stores, but http based peer replication gives us a robust offline mode (and portable api) so that applications can run at the Edge.

Like this: http://www.slideshare.net/jchrisa/couchdb-to-the-edge


you wrote a chat with apache and ruby sitting in front of it, the novelty of this is that there is 2 layers, couchdb, and javascript


Separation of concerns is a GOOD thing.

Anyone can write a big-ball-of-mud codebase with only one layer.


the scripting layer has very little concern in the traditional web model, there are clear advantages to having that work done in the browser, hence the popularity of things like ajax and jquery.

why is creating any trivial website backed by a cms that isnt cuttie cooker blogger template still the domain of the ruby / phpist, we have had plenty of time to solve these problems with the traditional browser > php/ruby > mysql model, time for someone to come along with something new.


Yes, it is good thing. But will that method perfect for every use case.

Think about maintaining DB(Mysql, Sql language), Web server(Crazy config files), application server (Ruby or PHP), Client side(Javascript) just for personal blog/site.

Here layers are less and Languages(only one) and config files are less.

EDIT: "And less is good" , Arguments are endless unless you are talking about specific use case.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: