News for hackers. Stuff that matters.
Re:RethinkDB 2.0 is now production ready by geddski on Tuesday April 14, 2015 @05:46PM (#9377586)
I've been using RethinkDB for a while now and I really enjoy working with it. It's a great fit for React and Angular 2 apps with their one-way data flow through the application. Hook up a store or a model to an event source (server-sent events) that streams the RethinkDB changes feed and it's just awesome and simple. Realtime shouldn't be this easy, totally feels like cheating. Love it.

I also really like the ability to do joins, where before in Mongo I would have to handle data joins in the app level.

Re:RethinkDB 2.0 is now production ready by e12e on Tuesday April 14, 2015 @11:04PM (#9378679)
How do you deal with user authentication, authorization and data encryption? Do you have a web server/application server or do you just combine static js/html/css resources and RethinkDB?

I'm kind of enamoured with the idea of couchapps -- but I'm still not entirely comfortable with having my db be my web and app server, as well as having it manage passwords etc... as I'm reading up, I'm slowly convincing myself it's possible to both make it work, be easy, support a sane level of TLS, load balance and be secure with proper ACL support... but very few tutorials/books seem to really deal with that to a level that brings me confidence.

Re:RethinkDB 2.0 is now production ready by jkarneges on Wednesday April 15, 2015 @12:45AM (#9378919)
By "an event source [...] that streams the RethinkDB changes feed", the parent is implying a separate web service layer that consumes data from RethinkDB and sends it out to clients. RethinkDB is not meant for direct access by clients. More about RethinkDB access here: http://rethinkdb.com/docs/security/ (TL;DR: plaintext shared key or ssh tunnel)
Re:RethinkDB 2.0 is now production ready by nileshtrivedi on Tuesday April 14, 2015 @05:53PM (#9377626)
Do you have any project on github that works like that?
Re:RethinkDB 2.0 is now production ready by geddski on Tuesday April 14, 2015 @05:59PM (#9377650)
Not that's open source, but I can do a little write up article and share a sample app that shows how to do it.
Re:RethinkDB 2.0 is now production ready by kclay on Tuesday April 14, 2015 @07:35PM (#9378012)
Would love to see this as well. I'm the creator of the Scala driver and always looking for ways to improve the api.I know you may not be using Scala but having insight on how other devs would use it always helps. Plus I'm still trying to figure out the best way to do change feeds hehe.
Re:RethinkDB 2.0 is now production ready by GordyMD on Tuesday April 14, 2015 @07:24PM (#9377975)
I'd personally love to see this. Think it would be very valuable to the community.
Re:RethinkDB 2.0 is now production ready by robertfw on Tuesday April 14, 2015 @07:34PM (#9378011)
I second this. I am getting happier by the day with my react client side architecture and am now casting an eye to my server side (currently a Django-rest-framework api) to determine what the best fit there would be.
Re:RethinkDB 2.0 is now production ready by sterlingross on Tuesday April 14, 2015 @10:14PM (#9378529)
That would be awesome, thank you for considering it!
Re:RethinkDB 2.0 is now production ready by nileshtrivedi on Wednesday April 15, 2015 @02:44AM (#9379250)
Please do. :)