-
Notifications
You must be signed in to change notification settings - Fork 346
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
Comments
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. |
Monix now depends on cats. I'm closing this since I don't think the integration is worth the additional dependency. |
If Monix is out, what about Akka? |
@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. |
Currently, only the Cassandra module has integration with Monix. I'm not sure that all drivers have APIs to implement proper streaming though.
The text was updated successfully, but these errors were encountered: