On Fri, Jun 18, 2010 at 12:22 PM, TheIvIaxx <theivi...@gmail.com> wrote:
> My thoughts right now are for it to check memcached for the key, if
> not found, then serve up the file from disk.  Everything else goes to
> apache.  I will just have a cron job populate memcached separately.
>
> Is this a common practice or is there a better method for this?

be sure to benchmark it.  in many cases, nginx will serve from static
files just as fast as from memcached.

yeah sounds crazy, but if nginx give the OS some hints, it will cache
the files in RAM, a lot more efficiently than memcached (less context
switches, no TCP involved, can dynamically get hold and release RAM as
available, etc...)

-- 
Javier

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to