3

我在 Rails 4 应用程序中使用 dalli gem 作为 memcached 客户端。在我的视图中有多个缓存片段,我不禁想知道 Rails 处理从 memcached 服务器检索数据的效率如何。它是为每个片段建立一个新连接,还是在单个连接中检索所有必要的片段?

4

0 回答 0