Tomcat server with nginx and memcached

Have a look at the diagram.  Something to keep in mind if you need to serve up high performance Java applications on a budget.

Killer Java applications server with nginx and memcached | Francisco Souza

As you can see, when a client do a request to the nginx server, it first checks on memcached if the response is already cached. If the response was not found on cache server, then nginx forward the request to Tomcat, which process the request, cache the response on memcached and returns it to nginx. Tomcat works only for the first client, and all other clients requesting the same resource will get the cached response on RAM. My objective with this post is to show how we built this architecture.

About these ads
Published in: on January 7, 2011 at 10:58 pm  Leave a Comment  

The URI to TrackBack this entry is: https://2thyme.wordpress.com/2011/01/07/tomcat-server-with-nginx-and-memcached/trackback/

RSS feed for comments on this post.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: