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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s