If I use both redis and memcached, does it make sense to use the built-in session API?
I understand that ruby ββon rails can easily use memcached using the built-in api, but I want to use memcached and redis.
If I need to manually access redis, when can I connect to it, for each request?
You can still use the Rails session APIs with other stores, including Redis and Memcached . A store is exactly where the session data is stored. The Rails Session APIs still manage sessions for you.
, Redis Memcached ( ), , ( : , memcache redis?)
, API, Rails, .
, Rails, .
- , , .
Ruby . , API Redis memcached .
Redis, , , .
PHP . (.. PHP) . cookie. Redis memcached , / . , API API Redis memcached.
Source: https://habr.com/ru/post/1794623/More articles:What happens when a connection drops on sockets (C) - cSet up MKAnnotation - iosInstalling the ASIHTTPRequest Message on the Python SimpleHTTPServer Server? - pythonInternet Explorer 6 does not display a map Bing Ajax v7 - internet-explorer-6The difference between in-process and out-of-process services - processMacVim Visual Selection Delete returns 3 extra characters - vimThe problem with the Gabor filter - matlabBerkeley DB tuple with unknown data type - javalist to combine different lists in python - pythonIs there any way to read local pdf file using google docs - androidAll Articles