Are dalli gem's write operations asynchronous?
Asked Answered
G

1

6

I want to use memcached for session store which is on a different server it will be accessed by rails app using dalli gem. So are dalli gem's write operations asynchronous? If not is it possible to make them async? As it shouldn't be the bottleneck for memcached to serve efficiently.

By asynchronous I mean rails server won't wait for session operation to get completed.

Griego answered 8/5, 2017 at 11:37 Comment(2)
Apparently, dalli can be async, but it has to be used from within an async environment.Hypnotize
@SergioTulentsev Thank you, can you write as answer so I can accept it as correct answer.Griego
G
0

From Sergio's comment: Apparently, dalli can be async, but it has to be used from within an async environment.

Griego answered 2/7, 2021 at 23:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.