Hello, newbie question: ktor is asynchronous and b...
# ktor
j
Hello, newbie question: ktor is asynchronous and based on coroutines most people seem to use exposed as a database layer with ktor, but exposed ain't asynchronous and coroutines-based. Don't we loose the benefits of coroutines ? Is there a asynchronous database layer ? (I'm using Postgres)
r
r
There are other db layers, including non-blocking (e.g. based on R2DBC). You can try https://www.komapper.org/ or https://spring.io/projects/spring-data-r2dbc
👍 1
p
that rdbc issue has been open for years
s
I know, but one can still dream
ktorm also had a r2dbc project iirc but no clue what state this is in
s
Whats wrong with Exposed coroutine support as it is ?