In this blog, I have put articles about how to set up a system and development environment to share my experience. I hope anyone to faces any issues in their work or project could get some answers from my blog. To be honest, I have many things I want to share many things, I just keep it in my bookmark. Hopefully, I could put together all of my articles into this blog and share it with you.
Thursday, July 9, 2020
Load Balancing PostgreSQL Cluster with Repmgr and Pg-Pool-II
In the previous post, I have demonstrate how to create PostgreSQL-12 replication server. I will work well for distribute the connection to both master and slave. But problem is when you create a resource to connect to both databases you need to create two data sources separately which is not realistic the practical application. You need to access to single point of the resource and your connection will be distributed automatically. You don't need to manage connection to the datasource manually. Postgresql provides the solution for this problem by Pg-Pool-II which you have multiple databases (master / slave). You can access to the datasource from one single point of access. Pg-Pool will handle distribution of the connection automatically. So, in this post I will show you how to use Pg-Pool-II to handle request to your database cluster automatically. Read more
Subscribe to:
Post Comments (Atom)
Feature Recently
Running Wildfly Application Server in Domain Mode
Wildfly application server provides two modes of how to run application one wildfly application server. It is very simple if you run your ...
Most Views
-
Once you have created report on the report studio. You are going to need to deploy your report into the server or application. In this post,...
-
In this post, I demonstrate how to set up Postgresql 12 master / slave stream (by Write Ahead Log) replication server. By utilizing this fea...
-
This post, I demonstrate concurrency management in Wildfly. Wildfly provides concurrency management as JAVA EE specification. It will allow ...
No comments:
Post a Comment