apache / apache/shardingsphere-on-cloud

[DISCUSSION] ShardingSphere AutoScaling

Open
#489 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
88
Forks
33
PR merge metrics
No merged PRs in 30d

Description

For stateful database connections between applications and ShardingSphere, it is always hard to scale the proxy to handle more long connections. If we scale the proxy horizontally, we cannot move the current long connection causing heavy load to move to new instances. The complexity and cost brought by this solution are way higher than letting it go. If we scale the proxy vertically, we can increase the CPU threshold and resolve overhead caused by computing. However, this idea cannot move to memory, since currently JVM is not capable of adjusting heap memory size in runtime.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.