首页> 外国专利> SYSTEM AND METHOD FOR CONTROL OF MAXIMUM CONNECTIONS IN A CONNECTION POOL ENVIRONMENT

SYSTEM AND METHOD FOR CONTROL OF MAXIMUM CONNECTIONS IN A CONNECTION POOL ENVIRONMENT

机译:连接池环境中用于最大连接控制的系统和方法

摘要

Described herein are systems and methods for providing access to a database in a multi-tenant environment, including the use of a connection pool, and support for limiting the maximum number of connections per tenant or per database shard. For example, when a tenant is associated with a service, configuring a maximum connections per service limit on a shared connection pool indicates to the system that the shared pool should not repurpose existing connections, or create new connections for a service, if the maximum connections per service limit has been reached for that particular service. The system can also maintain a parameter that keeps track of the total number of connections created to each shard of a sharded database. The connection pool can scan the sharded database topology, to determine which shard or sharded instance can satisfy the request, without exceeding the maximum limit for that shard.
机译:本文描述了用于在多租户环境中提供对数据库的访问的系统和方法,包括使用连接池,以及支持限制每个租户或每个数据库分片的最大连接数。例如,当租户与服务相关联时,在共享连接池上配置每个服务的最大连接数限制将向系统指示共享池不应重新利用现有连接,也不应为服务创建新连接(如果最大连接数)该特定服务已达到每个服务限制。系统还可以维护一个参数,该参数跟踪到分片数据库的每个分片创建的连接总数。连接池可以扫描分片数据库拓扑,以确定哪个分片或分片实例可以满足请求,而不会超出该分片的最大限制。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号