{"id":146812,"date":"2025-10-30T11:11:58","date_gmt":"2025-10-30T09:11:58","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt"},"modified":"2025-10-30T11:11:58","modified_gmt":"2025-10-30T09:11:58","slug":"vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt","title":{"rendered":"pgbalancer 1.0 has been released, an AI-based PostgreSQL load balancer supporting REST API and MQTT.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>The first release of pgbalancer, an AI-based PostgreSQL load balancer with REST API and MQTT, is now available. Pgbalancer provides connection pooling and load balancing for PostgreSQL, managed via HTTP protocol, and supports real-time event streaming. The project is a fork of pgpool-II with significant enhancements for intelligent request routing. The code is written in C and is distributed under the PostgreSQL open license.      <\/p>\n<p>Key features and capabilities:  <\/p>\n<ul>\n<li class=\"l\"> Connection pooling and load balancing.\n<li class=\"l\"> Automatic failover with watchdog support.\n<li class=\"l\"> Health monitoring and request caching.\n<li class=\"l\"> SSL\/TLS, PAM\/LDAP authentication.\n<li class=\"l\"> Compatibility with PostgreSQL 13-18.\n<li class=\"l\">  Part of the pgElephant utilities ensuring high availability. Can integrate with pgraft for Raft consensus, with monitoring supported by pgSentinel.\n<li class=\"l\"> AI-based load balancing.\n<ul>\n<li class=\"l\"> Machine learning algorithms for intelligent request routing.\n<li class=\"l\"> Training adapts based on response times and resource states. <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-los-angeles\/\" title=\"server\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"3988\">server<\/a>.\n<li class=\"l\"> Real-time state evaluation and request balancing predictions.\n<li class=\"l\"> Configurable weight parameters for learning speed and randomness prediction speed.\n<li class=\"l\"> Integration capability with monitoring platforms like Prometheus and Grafana.  <\/ul>\n<p>Management via REST API.  <\/p>\n<ul>\n<li class=\"l\"> 17 HTTP\/JSON functions for complete cluster management.\n<li class=\"l\"> Integrated <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/\"   title=\"server\" data-wpil-keyword-link=\"linked\">server<\/a> API running on port 8080.\n<li class=\"l\"> JWT HMAC-SHA256 token authentication.\n<li class=\"l\"> Retrieving execution mode statistics and metrics.\n<li class=\"l\"> Response time of less than 10 ms.  <\/ul>\n<p>MQTT event streaming.  <\/p>\n<ul>\n<li class=\"l\"> MQTT is used to publish node state changes, failovers, and resource status checks in real time.\n<li class=\"l\"> MQTT topics can be configured for different types of events.\n<li class=\"l\"> Integration with Mosquitto, EMQX, or any MQTT broker.\n<li class=\"l\"> Provides automatic notifications of abnormal events and offers a transport channel for cluster orchestration.  <\/ul>\n<li class=\"l\"> Command-line utility bctl:\n<ul>\n<li class=\"l\"> A unified interface replacing more than 10 separate commands &#171;pcp_*&#187;.\n<li class=\"l\"> 3 output formats: tables, JSON, or unchanged format.\n<li class=\"l\"> Formatted table output with framing for runtime data pgbalancer.\n<li class=\"l\"> Remote management and enhanced output mode.  <\/ul>\n<li class=\"l\"> GitHub Actions Workflow:\n<ul>\n<li class=\"l\"> build-matrix.yml: Builds for multiple platforms (Ubuntu, macOS, Rocky Linux).\n<li class=\"l\"> Support for PostgreSQL 13-18.\n<li class=\"l\"> DEB packages for Ubuntu 22.04\/24.04, Debian 11\/12.\n<li class=\"l\"> RPM packages for Rocky 9, AlmaLinux 9, CentOS Stream 9.\n<li class=\"l\"> Support for Autotools with autoreconf integration.\n<li class=\"l\"> docs.yml: GitHub Pages documentation deployment.  <\/ul>\n<\/ul>\n<p>Source: <a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=64140\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a pgbalancer, \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 PostgreSQL \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430 \u0441 REST API \u0438 MQTT. Pgbalancer \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0443\u043b\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u0438 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u043b\u044f PostgreSQL, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 HTTP \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041f\u0440\u043e\u0435\u043a\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u043a\u0430\u043a \u0444\u043e\u0440\u043a pgpool-II \u0441 \u0441\u0435\u0440\u044c\u0451\u0437\u043d\u044b\u043c\u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0434\u043b\u044f \u0443\u043c\u043d\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-146812","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a pgbalancer, \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 PostgreSQL \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430 \u0441 REST API \u0438 MQTT.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u0448\u0435\u043b pgbalancer 1.0, \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 PostgreSQL \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0418\u0418, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0439 REST API \u0438 MQTT | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a pgbalancer, \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 PostgreSQL \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430 \u0441 REST API \u0438 MQTT.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-10-30T09:11:58+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-10-30T09:11:58+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47pgbalancer 1.0 released, an AI-based PostgreSQL load balancer supporting REST API and MQTT | ProHoster","description":"The first release of pgbalancer, an AI-based PostgreSQL load balancer with REST API and MQTT, is now available.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u0448\u0435\u043b pgbalancer 1.0, \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 PostgreSQL \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0418\u0418, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0439 REST API \u0438 MQTT | ProHoster","og:description":"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a pgbalancer, \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 PostgreSQL \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u043b\u043b\u0435\u043a\u0442\u0430 \u0441 REST API \u0438 MQTT.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2025-10-30T09:11:58+00:00","article:modified_time":"2025-10-30T09:11:58+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"146812","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-22 15:54:02","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 15:39:19","updated":"2026-02-22 15:54:02","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/146812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=146812"}],"version-history":[{"count":4,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/146812\/revisions"}],"predecessor-version":[{"id":173122,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/146812\/revisions\/173122"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=146812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=146812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=146812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}