
Sunday, December 12, 2010
Killer Java applications server with nginx and memcached
Last days I worked setting up a new web serving structure for Wine, the largest wine’s e-commerce in Latin America. After testing, studying and learning a lot, we built a nice solution based on nginx and memcached. I will use a picture to describe the architecture:
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.

Wednesday, September 8, 2010
Flying with tipfy on Google App Engine
Hooray, there is a bonus part in the series (after a looooooooooooong wait)! In the first blog post, about Django, I received a comment about the use of tipfy, a small Python web framework made specifically for Google App Engine. Like Flask, tipfy is not a full stack framework and we will not use a database abstraction layer, we will use just the Google App Engine Datastore API, but tipfy was designed for Google App Engine, so it is less laborious to work with tipfy on App Engine.
Labels:
cloud computing,
google app engine,
python,
tipfy,
web development
Wednesday, August 11, 2010
Flying with Flask on Google App Engine

Labels:
cloud computing,
flask,
google app engine,
python,
web development
Friday, August 6, 2010
Flying with web2py on Google App Engine

Labels:
cloud computing,
google app engine,
python,
web development,
web2py
Monday, August 2, 2010
Flying with Django on Google App Engine

Labels:
cloud computing,
django,
google app engine,
python,
web development
Subscribe to:
Posts (Atom)