Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我打算创建一个 Rails 应用集群,我认为 session 共享有问题,我可以将 session 保存到 memcache 或数据库中。我想知道还有什么需要注意的吗?谢谢!
这个问题太模糊了,但是你应该看看负载平衡(haproxy 很好),内存数据存储,如 memcached,数据库将是 mysql。Web 层水平扩展,因此可以根据需要轻松提高处理能力。请澄清您的问题以获得更多答案。
可能重复: >?= 运算符是什么意思?
我遇到过这条线,