Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Monix into all submodules #204

Closed
fwbrasil opened this issue Feb 25, 2016 · 4 comments
Closed

Integrate Monix into all submodules #204

fwbrasil opened this issue Feb 25, 2016 · 4 comments

Comments

@fwbrasil
Copy link
Collaborator

Currently, only the Cassandra module has integration with Monix. I'm not sure that all drivers have APIs to implement proper streaming though.

@lvicentesanchez
Copy link
Contributor

Slick 3.0 doesn't use asynchronous drivers for the streaming part, but they have a dedicated execution context that they handle for the user. We could do the same for non-streaming-friendly modules like the jdbc one, use a dedicated Scheduler properly configured.

@fwbrasil
Copy link
Collaborator Author

Monix now depends on cats. I'm closing this since I don't think the integration is worth the additional dependency.

@deusaquilus
Copy link
Collaborator

If Monix is out, what about Akka?

@deusaquilus
Copy link
Collaborator

deusaquilus commented Nov 29, 2017

@lvicentesanchez, it's worth noting that Slick has been plagued by transactional deadlock issues starting at version 3.0 where they moved to reactive streams. See slick/slick#1274, and slick/slick#1614. I don't think it's completely clear yet that even with a scheduler using a strict connection-per-thread policy this problem is completely solved. Maybe the simpler way of reasoning that was in Slick 2 is a more reliable way to go. At least when using JDBC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants