What Is the AJP Protocol

The Apache JServ Protocol (AJP) is a binary protocol,Ajp carries the same information as http but in a binary format. The request method – GET or POST – is reduced to a single byte, and each of the additional headers are reduced to 2 bytes – which is  about a fifth of the size of the http packet.so it takes less bandwidth hence it is lighter and faster than http.

AJP is a method for a web server to communicate with an associated application server.

AJP is particularly used for “Load Balancing.” This is where one server distributes incoming traffic among several application servers, sharing the load equally.

 

 

 

This entry was posted in Interview, Tomcat. Bookmark the permalink.

Leave a comment