Are dalli gem's write operations asynchronous?

125 Views Asked by At

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.

1

There are 1 best solutions below

0
Hardik On BEST ANSWER

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