LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2015, 07:39 PM   #1
ne0shell
LQ Newbie
 
Registered: May 2010
Posts: 22

Rep: Reputation: 0
Complex RAM cache in cluster


I have a web cluster which is using RAM disks on both cluster nodes for caching.

The challenge is for users to be able to trigger a cache clear which will clear the contents from both of the RAM disks.

What I tried:
Using a GlusterFS, the RAM disks are both mounted to a common folder.

This works for caching but the clearing function (triggered by a Wordpress plugin) only affects the cache the post command hits.

The load balancer round robins connections so one is always missed.

Even though one of the caches clears, the cache remains on the other. Despite sharing a common folder the nodes are maintaining their own cache contents which are invisible to each other.

Is it just a matter of setting the same numeric based owner and permissions on both nodes for the shared cache mount point?

Otherwise, I'm definitely open to suggestions.
 
Old 03-09-2015, 02:02 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
I would suggest you take a look at glusterfs per volume io cache config and implement "writebehind.flush-behind()"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cluster data RAM Joaquin Linux - Newbie 2 12-05-2012 02:50 AM
Suspend-to-RAM and dirty page cache Martinus2u Linux - Software 1 03-18-2012 05:07 AM
[SOLVED] Relocating Firefox cache to RAM not working MrCode Linux - General 5 12-18-2010 08:40 AM
Ram wiht suse, cache Disk cache??? fadelhomsi Linux - Newbie 2 02-05-2006 11:29 PM
Problems with disk cache and ram xvanhessianx Linux - General 5 03-19-2005 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration