We are building async client libraries based on kotlinx.io, @Deactivated User’s extensive work on various clients (https://github.com/soywiz/ktor-cio-clients) and coroutines. It’s not there yet, but we have some Redis client sources here https://github.com/ktorio/ktor-client-redis
Next coming is PostgreSQL, then MySQL and such. We are planning to integrate this work into #squash as an experiment and then see how it works.
These are prototypes done in few days by Carlos, just a POC. Before we make it really usable there will be a rewrite with new CIO (coroutines IO) primitives, code review, tests, all that is needed.
b
bnorm
08/15/2018, 4:59 PM
Since you mentioned PostgreSQL, I'll mention my project to build a Kotlin MPP PostgreSQL client based all on coroutines. Haven't gotten back to it for a while but I was getting some ridiculous performance numbers. https://github.com/bnorm/PgKotlin
o
orangy
08/15/2018, 5:01 PM
@e5l ^^
👀 1
a
amt
08/17/2018, 11:16 PM
I had previously used @Deactivated User ’s coroutine I/O client for Postgres, added support for MD5 authentication, etc. I really like the performance that I got and hope to see it usable in production soon.
amt
08/17/2018, 11:21 PM
I am a total noob to Kotlin and didn’t have the courage to contribute back my changes for MD5 auth.
e
e5l
08/18/2018, 3:37 AM
The md5 auth already implemented, but not merged yet :)