telefonicaid / fiware-cygnus

A connector in charge of persisting context data sources into other third-party databases and storage systems, creating a historical view of the context
https://fiware-cygnus.rtfd.io/
GNU Affero General Public License v3.0
64 stars 105 forks source link

[cygnus-common][MySQLBackend] Load Balance Connection Pooling #1601

Open pmo-sdr opened 5 years ago

pmo-sdr commented 5 years ago

Implement MySQL Sink load Balancer exploiting new connection pooling capabilities #1598

The objetive of this new feature is to allow balanced sinks sharing the same connection pool.

Benefits:

es así entonces el pool no crecería de tamaño, quedando se en 1, a pesar de que pudiera tener un maximo mayor (con 5 ya me quedaba tranquilo), no? En cualquier caso anotaria otro FIXME comentando el porque y la idea futura. Originally posted by @AlvaroVega in https://github.com/telefonicaid/fiware-cygnus/pull/1600

AlvaroVega commented 5 years ago

I guess this load balancing feature is only used when a cygnus agent has several mysql sinks,