Hi, I am trying to create an additional MSA server...
# exposed
l
Hi, I am trying to create an additional MSA server using an asynchronous stack, and considering the following combinations. Would you recommend any of these or advise against any of them? 1. Spring WebFlux + Hibernate 2. Spring WebFlux + Exposed 3. Ktor + Hibernate 4. Ktor + Exposed
Currently we’re using Spring MVC + Hibernate for other servers.
r
I've used 2) without issue
h
I'm using Ktor + Exposed without issue. Keep in mind that current version of Exposed does not support non-blocking R2DBC and is thus using blocking JDBC drivers. Github issue for r2dbc. Because you want to use an async server framework, I would therefore suggest running transactions in IO-dispatcher if you use Exposed. Read more at https://github.com/JetBrains/Exposed/wiki/Transactions#working-with-coroutines
l
Thank you!
👌 1