{"id":15048271,"url":"https://github.com/github/mysql-haproxy-xinetd","last_synced_at":"2025-10-04T08:31:05.217Z","repository":{"id":65974866,"uuid":"62299366","full_name":"github/mysql-haproxy-xinetd","owner":"github","description":"Context aware MySQL Replica pools via HAProxy, sample configs \u0026 scripts","archived":true,"fork":false,"pushed_at":"2016-07-08T11:47:50.000Z","size":6,"stargazers_count":106,"open_issues_count":0,"forks_count":31,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-09-29T00:20:57.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-30T09:45:05.000Z","updated_at":"2024-07-31T03:20:33.000Z","dependencies_parsed_at":"2023-02-19T18:00:59.664Z","dependency_job_id":null,"html_url":"https://github.com/github/mysql-haproxy-xinetd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fmysql-haproxy-xinetd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fmysql-haproxy-xinetd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fmysql-haproxy-xinetd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fmysql-haproxy-xinetd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/mysql-haproxy-xinetd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235232443,"owners_count":18957057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T21:10:02.271Z","updated_at":"2025-10-04T08:31:04.904Z","avatar_url":"https://github.com/github.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mysql-haproxy-xinetd\n\nThis repository contains sample config files and scripts used for setting up a context aware MySQL replication pool on HAProxy.\n\nA context aware pool is a pool of backend MySQL servers, such that each _tells_ HAproxy whether it should be included in the pool or not.\n\nHAProxy-wise, the pool is fixed, and MySQL server state changes are not reflected in its config. This setup is resilient to `service haproxy reload/restart`.\n\nA backend server is able to tell HAProxy:\n\n- I'm good to participate in a pool (`HTTP 200`)\n- I'm in bad state; don't send traffic my way (`HTTP 503`)\n- I'm in maintenance mode. No error on my side, but don't send traffic my way (`HTTP 404`)\n\nThe servers respond to an explicit request (check) type sent by HAProxy, such as `/check-lag` or `/ignore-lag`.\n\nHAProxy uses a `main` backend pool and a `backup` backend pool, such that the `backup` pool is activated when the `main` pool runs out of capacity. HAProxy uses different check types for the two pools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fmysql-haproxy-xinetd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fmysql-haproxy-xinetd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fmysql-haproxy-xinetd/lists"}