nginx, good for low-latency service on LAN?

Cliff Wells cliff at develix.com
Wed Apr 14 01:03:03 MSD 2010


On Tue, 2010-04-13 at 12:47 -0700, Mark Harrison wrote:
> nginx noob here... can I ask for a
> 
> I'm putting together a network metadata server to service
> a large render farm.  My basic specs:
> 
> - the requests are simple: basically mapping a path-like
>    string to a string of metadata:
> 
>        version_id("/foo/bar/baz") --> "17"
> 
> - processing is fast: the cache will consist of
>    in-memory dictionaries, and the processing is
>    nothing more than looking up keys in the dictionary
>    and returning the associated values.
> 
> - load is very high: this will be hit by lots of
>    machines doing image rendering.
> 
> - I would like to code this in python if feasible.
> 
> - I will have a couple of boxes behind a load balancer
>    for scalability.
> 
> Does this sound like a reasonable task for nginx?
> What's the typical latency I might expect to see
> in a LAN environment, running on linux servers?
> 
> Any docs that are especially good to read?

I think I'd be looking at the following stack:

Nginx + Memcached + Tornado

http://wiki.nginx.org/NginxHttpMemcachedModule
http://www.tornadoweb.org/
http://www.google.com/search?q=nginx+memcached

Regards,
Cliff





More information about the nginx mailing list