Java Developer

Java and NGINX Microcaching - Benchmark Results

Utilizing the caching features of NGINX will boost your Java Application performance. It was shown in the previous post how to configure microcaching with NGINX and Tomcat or other Java application server. This post will show the benchmark results of how much can be potentially gained.

Java and NGINX Microcaching - An Example of speeding your Tomcat deployments

Many times we do very complicated things just to make our application handle more transactions. For example:
  • Tuning database design and queries to lighten database work
  • Use of table index and partitions for efficient database operations
  • Database clustering to increase throughput of database server
  • Caching of database results on the Java application level, to reduce communication and also database work.
  • Clustering of application server
And there are many others.

Preparing a Linux development server

Regardless if you are working on a team or as a single developer, it is beneficial that you set-up your own development server. You can use this for code repository, project management tool, or application server. For single developer, or for those working remotely with a team, renting a dedicated server or VPS is a good choice. Because you can access your server in any location.

How to setup your linux machine for grails development

Since this is my first post, I want to start with something very simple yet useful. Usually, our first hurdle when studying a technology or framework is to setup our development environment. Assuming your machine is Linux based, this is how to prepare your machine. For this guide, my operating system is Linux Mint 14 Cinnamon, which is based on Ubuntu 12.10

Configuring NGINX in front of Tomcat or other Java application server

NGINX is an awesome software that functions as both web server and as a reverse proxy. Sometimes you may need to configure it in front of your tomcat or other application server. There are many reasons but here are some common ones: