2
  1. Is there any limit on server on serving number of requests per second or number of requests serving simultaneously. [in configuration, not due to RAM, CPU etc hardware limitations]
  2. Is there any limit on number of simultaneous requests on an instance of CouchbaseClient in Java servlet.
  3. Is it best to create only one instance on CouchbaseClient and keep it open or to create multiple instances and destroy.
  4. Is Moxi helpful with Couchbase 1.8.0 server/Couchbase java client 1.0.2

I need this info to setup application in production.

Thanks you

4

1 回答 1

2
  1. 在 Couchbase 后面运行的 memcached 实例的硬连接限制为 10,000 个连接。Couchbase 通常建议您增加节点数量以解决该级别的流量分配问题。
  2. 客户端本身对于它与 Couchbase 集群的连接数没有硬编码限制。
  3. Couchbase 通常建议您创建一个从应用程序到集群的连接池,然后重复使用这些连接,而不是一遍又一遍地创建和销毁它们。在负载较重的应用程序中,从资源的角度来看,一遍又一遍地创建和销毁这些连接可能会变得非常昂贵。
  4. Moxi 是 Couchbase 的一个集成部分。但是,它通常作为适配器层,供客户端开发人员专门使用它或为旨在直接访问 memcached 接口的应用程序提供遗留访问权限。如果您使用的是 Couchbase 客户端驱动程序,则不需要使用 Moxi 界面。
于 2012-04-27T13:49:26.453 回答