Re: [nodejs] Re: Which database to use for a realtime chat game?

2012-10-09 Thread Daniel Rinehart
I think other solutions are better but you can do pub/sub style systems with MongoDB: http://blog.mongodb.org/post/29495793738/pub-sub-with-mongodb -- Daniel R. [http://danielr.neophi.com/] On Tue, Oct 9, 2012 at 9:17 PM, Alexey Petrushin wrote: >> Redis is fine too, and MongoDB is fine. > Ho

Re: [nodejs] Re: Which database to use for a realtime chat game?

2012-10-09 Thread Stewart Mckinney
I wouldn't rely on the database as the backbone of the (any) real-time feed; I would instead focus on using it for purposes of archival and "bulk information loading". I would reiterate the questions Mr. Lopez asked, and then question the need for immediate "mirrored" status present on disk or in d

Re: [nodejs] Re: Which database to use for a realtime chat game?

2012-10-09 Thread Alexey Petrushin
> Redis is fine too, and MongoDB is fine. How to use MongoDB, seems there's no way to take an instant (sort of instant) feed of events? On Wednesday, October 10, 2012 3:45:33 AM UTC+4, Stewart McKinney wrote: > > CouchDB is fine, if you don't like its performance, use CouchBase. > > Redis is fine

Re: [nodejs] Re: Which database to use for a realtime chat game?

2012-10-09 Thread Stewart Mckinney
CouchDB is fine, if you don't like its performance, use CouchBase. Redis is fine too, and MongoDB is fine. IMHO Couch is easiest, and its not hard to migrate from Couch to Mongo/Redis if you are still prototyping and prepping for scale. Just don't use SQL to store a chat log. Content = noSQL Num

[nodejs] Re: Which database to use for a realtime chat game?

2012-10-09 Thread John Fowler
In case it matters, if you're looking for a client-side relational database engine, SequelSphere may be something to look at. It is an HTML5/JavaScript relational database that has full support of SQL and provides the ability to store data in localStorage or othe

[nodejs] Re: Which database to use for a realtime chat game?

2012-10-08 Thread Julian Gruber
Also checkout dominictarr's scuttlebutt or crdt for a master-less approach On Sunday, October 7, 2012 3:44:48 AM UTC+2, Nickname wrote: > > I'm creating a chat based game with Node.js and I would like to know which > database is best for the job? > -- Job Board: http://jobs.nodejs.org/ Posting