Re: cache large files

2010-01-24 Thread Russell Keith-Magee
On Mon, Jan 25, 2010 at 1:27 AM, Henrik Genssen  wrote:
> Hi,
>
> I am using memcached for caching my sites. The documentation says when
> not to use it:
> http://code.google.com/p/memcached/wiki/WhyNotMemcached
>
> one point is output larger 1 MB

Ok - please stop. This is the third time you have asked this exact
question. If nobody has answered your question, it isn't because we
are ignoring you - it means either nobody understands your question,
nobody has the expertise to answer your question, or nobody with the
first two qualities has the time to volunteer to answer your question.
Asking the same question repeatedly really doesn't improve your odds.

If I might offer a suggestion - I would guess that the reason nobody
is answering your question is a combination of the following:

 * Nobody with the time to answer has enough experience with MogileFS
or GlusterFS.

 * Nobody can understand your use case - why, for instance, are you
trying to cache at all? Why not just serve static files from disk
outside of the Django web stack - just like the Django docs suggest?

Yours,
Russ Magee %-)

-- 
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.



Re: cache large files

2010-01-24 Thread Peter Bengtsson
Keep it simple. Use nginx or apache and in your Django app you simply
write to the filesystem. "Invalidation" can be done by simply deleting
the file which is easy.
Something like nginx for serving static file is faster than anything
else. I'm sure you already know how to deploy static files such as css
files.

On Jan 22, 7:17 am, Hinnack  wrote:
> Hi,
>
> I am using memcached for caching my sites. The documentation says when
> not to use it:http://code.google.com/p/memcached/wiki/WhyNotMemcached
>
> one point is output larger 1 MB
>
> I have a site producing pdf files only, where size can easily go over
> 1 MB. As the docs above mention mogilefs as
> an alternative, I wonder if this is the right way to do it, as there
> is no batterie for djangos caching system.
>
> I know that the cach system has support for filesystem cache - has
> someone used this for large files? and maybe even
> in conjunction with GlusterFS (http://www.gluster.org/), as that seems
> to be more complete then mogilefs?
>
> What about concurrent writes from different hosts to the cache system?
>
> --
>
> Hinnack

-- 
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.



cache large files

2010-01-24 Thread Henrik Genssen
Hi,

I am using memcached for caching my sites. The documentation says when
not to use it:
http://code.google.com/p/memcached/wiki/WhyNotMemcached

one point is output larger 1 MB

I have a site producing pdf files only, where size can easily go over
1 MB. As the docs above mention mogilefs as
an alternative, I wonder if this is the right way to do it, as there
is no batterie for djangos caching system.

I know that the cach system has support for filesystem cache - has
someone used this for large files? and maybe even
in conjunction with GlusterFS (http://www.gluster.org/), as that seems
to be more complete then mogilefs?

What about concurrent writes from different hosts to the cache system?

--

Hinnack 

-- 
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.



cache large files

2010-01-21 Thread Hinnack
Hi,

I am using memcached for caching my sites. The documentation says when
not to use it:
http://code.google.com/p/memcached/wiki/WhyNotMemcached

one point is output larger 1 MB

I have a site producing pdf files only, where size can easily go over
1 MB. As the docs above mention mogilefs as
an alternative, I wonder if this is the right way to do it, as there
is no batterie for djangos caching system.

I know that the cach system has support for filesystem cache - has
someone used this for large files? and maybe even
in conjunction with GlusterFS (http://www.gluster.org/), as that seems
to be more complete then mogilefs?

What about concurrent writes from different hosts to the cache system?

--

Hinnack

-- 
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.