Rails 没有将 ActionController的实例池化;相反,它为每个请求创建新的实例。
Rails doesn't pool the instance of the ActionController; instead, it creates a new instance for each request.
连接池可提高性能,因为一将数据源对象实例化,它就会创建一个连接。
Connection pooling improves performance as a data source object creates a connection as soon as it is instantiate.
根据实例的大小,捕获它最多可能需要30分钟时间,然后,将实例从一个池复制到另一个池并对其实例化可能需要同样的时间。
Depending on the size of the instance it can take up to 30 minutes to capture it, and then a similar amount of time to copy it from one pool to another and re-instantiate it.
应用推荐