2 ms·
The initial announcement shows typical use cases: http://stephane.godbillon.com/2012/08/30/reactivemongo-for-scala-unleashing-mongodb-streaming-capabilities-for
by sgodbillon 14y ago
The initial announcement shows typical use cases: http://stephane.godbillon.com/2012/08/30/reactivemongo-for-scala-unleashing-mongodb-streaming-capabilities-for-realtime-web http://stephane.godbillon.com/2012/08/30/reactivemongo-for-s...
ReactiveMongo is a pure non-blocking Scala driver for MongoDB. But more than that, it enables you to consume data from MongoDB in a reactive way. For example you can stream documents from and into MongoDB, without blocking at all, without filling up the memory.
Here are some good examples:
https://github.com/sgodbillon/reactivemongo-demo-app https://github.com/sgodbillon/reactivemongo-demo-app (A complete app with CRUD and GridFS)
https://github.com/sgodbillon/reactivemongo-tailablecursor-demo https://github.com/sgodbillon/reactivemongo-tailablecursor-d... (a simple app streaming documents from a capped collection through websockets)
- alexjarvis 14y agoThe examples were extremely helpful for me actually. Thanks Stephane! Looking forward to the next release to make reading/writing BSON easier. Reckon we could steal some of the awesome JSON macros stuff from Play for simple cases?
- dkhenry 14y agoAwesome examples. That's what I was looking for The integration with websockets looks amazing. I have been looking to implement that kind of functionality into a trading platform I have been working on and up until now was relegated to having my collector open a ZMQ socket to the client and then do all sorts of message passing to set up any requested streams. Keep up the good work.