https://kotlinlang.org logo
#ktor
Title
# ktor
j

Jgafner

02/04/2021, 9:55 AM
Hi Anyone know about a server feature for cache functionality ?
j

Julien Salvi

02/04/2021, 10:07 AM
On server side you can use Redis for caching data and fast access but I don't know if this you are looking for :)
j

Jeremy Rouet

02/04/2021, 2:28 PM
I use memcache, but we will migrate to redis (lot of issue with memcache on our project)
j

Júlio Santos

02/04/2021, 2:42 PM
I will need to use Redis on the server side, could you send some example? Please!
j

Julien Salvi

02/04/2021, 7:38 PM
I did not try yet but it is in my todo. You can check this repo from JetBrains (https://github.com/ktorio/ktor-clients/tree/master/ktor-client-redis) but not sure it's stable (no updates for 2 years)
j

Jeremy Rouet

02/04/2021, 7:39 PM
@Júlio Santos I use java client to connect to memcache. I don't think you need a ktor module fot that
j

Julien Salvi

02/04/2021, 7:46 PM
Otherwise you can still use https://github.com/redis/jedis (Redis Java client) 🙂
j

Júlio Santos

02/04/2021, 8:02 PM
Thank you very much friends, I will analyze and answer you
👍 1
6 Views