XFileSharing Pro - Memcached

Message
Author
ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

Memcached

#1 Postby ankurs » Dec 06, 2010 8:53 am

Any chance of including Memcached support in next XFS release ?

Or can this be done by custom mods ?

http://memcached.org/

bigbuffertv
Posts: 35
Joined: Oct 31, 2009 1:56 am

#2 Postby bigbuffertv » Dec 06, 2010 5:36 pm

would be nice if we can get something like this in the next rls

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#3 Postby ankurs » Dec 07, 2010 12:05 pm

Admin ? or anyone from staff can comment on this ?

This will help with main server loads, as lot of I/O will be reduced.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » Dec 07, 2010 1:10 pm

what kind of memcached supprot are you looking for?

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#5 Postby ankurs » Dec 07, 2010 1:42 pm

admin wrote:what kind of memcached supprot are you looking for?
for database

so we can cache (ram) and would never hit database (disk) unless needed

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#6 Postby chrda » Dec 08, 2010 3:21 am

ssd drive might do the trick here also :)

I currently upgraded web frontends to use 4x146Gb 15k SAS in raid10

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#7 Postby ankurs » Dec 08, 2010 5:20 am

chrda wrote:ssd drive might do the trick here also :)

I currently upgraded web frontends to use 4x146Gb 15k SAS in raid10
why spend thousands on ssd raid 10 , when same thing can be done better with memcached

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#8 Postby PilgrimX182 » Dec 08, 2010 9:40 am

Memcached is RAM-only cache, so on reboot you will loose all your memcache data. This is strongly limit us since almost all info is importnat for us.
XFS almost don't have STATIC pages like Blog posts or single pages.
We can't cache Upload / Download / My Account / My Files pages since info could be updating there each second.

I'd like to cache something but really can't think the best way to do this.

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#9 Postby ankurs » Dec 08, 2010 11:04 am

PilgrimX182 wrote:Memcached is RAM-only cache, so on reboot you will loose all your memcache data. This is strongly limit us since almost all info is importnat for us.
XFS almost don't have STATIC pages like Blog posts or single pages.
We can't cache Upload / Download / My Account / My Files pages since info could be updating there each second.

I'd like to cache something but really can't think the best way to do this.
Ram-cache is for read & not writes; it does write to disk at on inserts.

Facebook has 200TB of memcache servers ! , they are used for a reason; disk isnt as fast as it should be.