4 ms·
If you're missing Go-like channels, actors etc then check out Quasar with can be integrated with Dropwizard using a library called Comsat. It's pretty cool to
by threeseed 12y ago
If you're missing Go-like channels, actors etc then check out Quasar with can be integrated with Dropwizard using a library called Comsat.
It's pretty cool to take an existing Dropwizard app, change a couple of lines and every request becomes a lightweight fiber:
http://docs.paralleluniverse.co/comsat/ http://docs.paralleluniverse.co/comsat/
http://docs.paralleluniverse.co/quasar/ http://docs.paralleluniverse.co/quasar/
- heavenlyhash 12y agoAnd it's hard to overstate how huge this is. If you need to write a server that transports gigabytes of data in a stream, and you want to reuse IO pipelines the same way for small data and data-too-large-to-malloc, Quasar's fibers make that possible. Without them, you're stuck in either two-implementations land or callback hell.
- crudbug 12y agoIs Quasar ready for production use?
- pron 12y agoYes (I'm the main author)
- dafnap 12y agoFor those who aren't familiar - have a look at this tutorial http://blog.paralleluniverse.co/2015/03/09/up-and-running-with-comsat-screencast/ http://blog.paralleluniverse.co/2015/03/09/up-and-running-wi...