Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.3.0 exp2 #738

Merged
merged 47 commits into from
Oct 16, 2016
Merged

V1.3.0 exp2 #738

merged 47 commits into from
Oct 16, 2016

Conversation

renecannao
Copy link
Contributor

@renecannao renecannao commented Oct 16, 2016

Merging the experimental v1.3.0-exp2 into v1.3.0.

ProxySQL in this branch can easily accept one million connections.
It is also able to handle workloads with hundreds thousands client connections, but only few connections are active.
For example, 100k total connections, but only 100 active connections.

This merge includes:

  • support for SO_REUSEPORT , that can be only enabled on the command line with -r or --reuseport
  • at startup, limit the number of Monitor thread to 16
  • each MySQL_Thread now has a pair thread: therefore the number of threads executed are mysql-threads x 2
  • the second set of MySQL_Threads are responsible to only handle idle connections
  • two new variables:
    • mysql-session_idle_ms (default 1000) : when a session is idle for that long, it is moved to a thread responsible to handle idle connections
    • mysql-session_idle_show_processlist (default false) : specifies if idle connections are displayed on SHOW PROCESSLIST or on any query against stats_mysql_processlist
  • one new status variable:
    Client_Connections_non_idle : returns the number of client connections that are not idle, therefore handled by the main MySQL_Threads and not moved to the second set of MySQL_Threads responsible to only handle idle connections

@renecannao renecannao self-assigned this Oct 16, 2016
@renecannao renecannao merged commit 679d346 into v1.3.0 Oct 16, 2016
@renecannao renecannao mentioned this pull request Oct 17, 2016
@renecannao renecannao deleted the v1.3.0-exp2 branch December 30, 2016 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant