Thursday, May 21, 2020

Postgres 12 Master / Slave Stream Replication

In this post, I demonstrate how to set up Postgresql 12 master / slave stream (by Write Ahead Log) replication server. By utilizing this feature, you reduce bottleneck for the database access by distribute access to both master and slave. In this scenario, Write operation will be occured only on master server. For read operation will be distributed to both master and slave. Master / Slave replication will allow you to scale out database server horizontally. Read more

Sunday, May 17, 2020

Deploy Architecture (Nginx + Wildfly + PostgreSQL)

Once deploy application (web or enterprise application), the most common pattern is three tier pattern which includes web application, application server and database server. In this post, I will demonstrate how to use Nginx / Apache Web Server as web server to deploy application. NginX / Apache Web Server has the comparability to perform load balancing which could help to dispatch request to the application server. The difference between NginX / Apache Web Server is how it handle the request. Nginx use concept of NIO (Non-Blocking IO) which mean it uses one thread to handle all requests  that come to the server. But for Apache Web Server, it handle each request comes to the server by creating new thread for each request. Read more

Sunday, May 10, 2020

Wildfly 10 Create XA Datasource for Distribute Transaction


In the real work application, you have many changes to work with multiple resource. One of them is database or messaging service. Especially, for the database, if you work with the databases. Tables could be on different databases distributed across network. Many time, you need to implement business logic that required to perform transaction across those datasources. This kind of transaction is know as distributed transaction. JAVA EE (Wildfly) provides XA datasource to implemented distributed transaction across datasources. XA uses two phase commit to manage distributed transaction. Read more

Saturday, May 2, 2020

Install Wildfly 10 Service on CentOS 7


When you deploy Wildfly on the production, it is very convenient to run Wildfly as a back ground service. Running Wildfly as a background daemon, you can change change run level and enable Wildfly start once the system boost. So, in this post I will demonstrate how to install Wildfly 10 on CentOS as background process and enable the service to run once the system start. Read more

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