{"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\/cs\/blog\/news\/vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt","title":{"rendered":"Vy\u0161el pgbalancer 1.0, zat\u00ed\u017een\u00ed vyva\u017eova\u010d PostgreSQL zalo\u017een\u00fd na AI, podporuj\u00edc\u00ed REST API a MQTT","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Bylo publikov\u00e1no prvn\u00ed vyd\u00e1n\u00ed pgbalancer, zat\u00ed\u017een\u00ed vyva\u017eova\u010de PostgreSQL zalo\u017een\u00e9ho na um\u011bl\u00e9 inteligenci s REST API a MQTT. Pgbalancer zaji\u0161\u0165uje zpracov\u00e1n\u00ed poolu p\u0159ipojen\u00ed a vyv\u00e1\u017een\u00ed z\u00e1t\u011b\u017ee pro PostgreSQL, spravuje se p\u0159es HTTP protokol a podporuje streamov\u00e1n\u00ed ud\u00e1lost\u00ed v re\u00e1ln\u00e9m \u010dase. Projekt byl vytvo\u0159en jako fork pgpool-II s v\u00fdznamn\u00fdmi vylep\u0161en\u00edmi pro inteligentn\u00ed sm\u011brov\u00e1n\u00ed dotaz\u016f. K\u00f3d je naps\u00e1n v jazyce C a je distribuov\u00e1n pod otev\u0159enou licenc\u00ed PostgreSQL.      <\/p>\n<p>Hlavn\u00ed vlastnosti a funkce:  <\/p>\n<ul>\n<li class=\"l\"> Pool p\u0159ipojen\u00ed a vyv\u00e1\u017een\u00ed z\u00e1t\u011b\u017ee.\n<li class=\"l\"> Automatick\u00e9 p\u0159ep\u00edn\u00e1n\u00ed na z\u00e1lo\u017en\u00ed syst\u00e9m s podporou watchdog \u010dasova\u010de.\n<li class=\"l\"> Monitorov\u00e1n\u00ed provozuschopnosti a caching dotaz\u016f.\n<li class=\"l\"> SSL\/TLS, PAM\/LDAP autentizace.\n<li class=\"l\"> Kompatibilita s PostgreSQL 13-18.\n<li class=\"l\">  Je sou\u010d\u00e1st\u00ed utilit pgElephant, kter\u00e9 zaji\u0161\u0165uj\u00ed vysokou dostupnost. M\u016f\u017ee se integrovat s pgraft pro Raft konsensus, podpora pro monitorov\u00e1n\u00ed pgSentinel.\n<li class=\"l\"> Vyv\u00e1\u017een\u00ed z\u00e1t\u011b\u017ee zalo\u017een\u00e9 na AI.\n<ul>\n<li class=\"l\"> Algoritmy strojov\u00e9ho u\u010den\u00ed pro inteligentn\u00ed sm\u011brov\u00e1n\u00ed dotaz\u016f.\n<li class=\"l\"> U\u010den\u00ed se p\u0159izp\u016fsobuje v z\u00e1vislosti na \u010dase odezvy dotaz\u016f a stavu zdroj\u016f <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/cs\/server\/dts-los-angeles\/\" title=\"serveru\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"3988\">serveru<\/a>.\n<li class=\"l\"> Stav je hodnocen v re\u00e1ln\u00e9m \u010dase a je p\u0159edpov\u00edd\u00e1no vyv\u00e1\u017een\u00ed dotaz\u016f.\n<li class=\"l\"> Nastaviteln\u00e9 parametry v\u00e1hy pro rychlost u\u010den\u00ed a rychlost p\u0159edpoklad\u016f n\u00e1hodn\u00fdch ud\u00e1lost\u00ed.\n<li class=\"l\"> Mo\u017enost integrace s monitorovac\u00edmi platformami Prometheus a Grafana.  <\/ul>\n<p>Spr\u00e1va p\u0159es REST API.  <\/p>\n<ul>\n<li class=\"l\"> 17 funkc\u00ed HTTP\/JSON pro kompletn\u00ed \u0159\u00edzen\u00ed klastru.\n<li class=\"l\"> Integrovan\u00e9 <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/cs\/server\/\"   title=\"server\" data-wpil-keyword-link=\"linked\">server<\/a> API b\u011b\u017e\u00edc\u00ed na portu 8080.\n<li class=\"l\"> JWT HMAC-SHA256 tokenov\u00e1 autentizace.\n<li class=\"l\"> Z\u00edsk\u00e1v\u00e1n\u00ed statistik a metrik stavu provozu.\n<li class=\"l\"> Doba odezvy m\u00e9n\u011b ne\u017e 10 ms.  <\/ul>\n<p>Streamov\u00e1n\u00ed ud\u00e1lost\u00ed MQTT.  <\/p>\n<ul>\n<li class=\"l\"> MQTT se pou\u017e\u00edv\u00e1 pro publikov\u00e1n\u00ed zm\u011bn stavu uzl\u016f, p\u0159ep\u00edn\u00e1n\u00ed na z\u00e1lo\u017en\u00ed syst\u00e9m a kontroly stavu zdroj\u016f v re\u00e1ln\u00e9m \u010dase.\n<li class=\"l\"> Je mo\u017en\u00e9 nastavit MQTT topiky pro r\u016fzn\u00e9 typy ud\u00e1lost\u00ed.\n<li class=\"l\"> Integrace s Mosquitto, EMQX nebo jak\u00fdmkoli MQTT brokerem.\n<li class=\"l\"> Zaji\u0161\u0165uje automatick\u00e9 upozorn\u011bn\u00ed na nepl\u00e1novan\u00e9 ud\u00e1losti a poskytuje komunika\u010dn\u00ed kan\u00e1l pro orchestrace clustr\u016f.  <\/ul>\n<li class=\"l\"> P\u0159\u00edkazov\u00fd \u0159\u00e1dek bctl:\n<ul>\n<li class=\"l\"> Jednotn\u00e9 rozhran\u00ed, kter\u00e9 nahrazuje v\u00edce ne\u017e 10 jednotliv\u00fdch p\u0159\u00edkaz\u016f &#171;pcp_*&#187;.\n<li class=\"l\"> 3 form\u00e1ty v\u00fdstupu: tabulky, JSON nebo form\u00e1t beze zm\u011bn.\n<li class=\"l\"> V\u00fdstup form\u00e1tovan\u00fdch tabulek s ohrani\u010den\u00edm pro runtime data pgbalancer.\n<li class=\"l\"> Vzd\u00e1len\u00e9 \u0159\u00edzen\u00ed a re\u017eim roz\u0161\u00ed\u0159en\u00e9ho v\u00fdstupu.  <\/ul>\n<li class=\"l\"> GitHub Actions Workflow:\n<ul>\n<li class=\"l\"> build-matrix.yml: Sestaven\u00ed na v\u00edce platform\u00e1ch (Ubuntu, macOS, Rocky Linux).\n<li class=\"l\"> Podpora PostgreSQL 13-18.\n<li class=\"l\"> DEB bal\u00ed\u010dky pro Ubuntu 22.04\/24.04, Debian 11\/12.\n<li class=\"l\"> RPM bal\u00ed\u010dky pro Rocky 9, AlmaLinux 9, CentOS Stream 9.\n<li class=\"l\"> Podpora Autotools s integrac\u00ed autoreconf\n<li class=\"l\"> docs.yml: Nasazen\u00ed dokumentace GitHub Pages.  <\/ul>\n<\/ul>\n<p>Zdroj: <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.3 - 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\/cs\/blog\/news\/vyshel-pgbalancer-1-0-balansirovshhik-nagruzki-postgresql-na-osnove-ii-podderzhivayushhij-rest-api-i-mqtt\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\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\/cs\/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\udd47Vy\u0161el pgbalancer 1.0, z\u00e1t\u011b\u017eov\u00fd vyv\u00e1\u017ee\u010d PostgreSQL zalo\u017een\u00fd na AI, podporuj\u00edc\u00ed REST API a MQTT | ProHoster","description":"Byl publikov\u00e1n prvn\u00ed vyd\u00e1n\u00ed pgbalancer, z\u00e1t\u011b\u017eov\u00e9ho vyv\u00e1\u017ee\u010de PostgreSQL zalo\u017een\u00e9ho na um\u011bl\u00e9 inteligenci s REST API a MQTT.","canonical_url":"https:\/\/prohoster.info\/cs\/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":"cs_CZ","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\/cs\/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\/cs\/wp-json\/wp\/v2\/posts\/146812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=146812"}],"version-history":[{"count":4,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/146812\/revisions"}],"predecessor-version":[{"id":173122,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/146812\/revisions\/173122"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=146812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=146812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=146812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}