Forgive my ignorance as I am trying to get my head around memcached and how it could help in a idea I have. My idea is to bring OSSEC and OpenVAS together and share results between multiple nodes with the aim of being able to re-write iptables or WAF rules.
I would be holding all data in a central MySQL database with a cron/daemon Perl script that would query it and build datasets. This data would be written into a memcached database if it does not already exist. Each web/application server would have an instance of memcached running as-well so would the data automatically be shared with the other servers ?
When memcached data is distributed to other nodes (servers) is there any sort of trigger to show that new data exists ? or would one need to use a serial number akin to DNS ?
Sorry if these are all silly questions!
--
Thanks, Organic Spider | Weaving Open Source Technology
Brian.
http://brian.moonspot.net
Yes have had a good read and still feel a little lost and stupid. What triggers each node to have the cache populated ? How does the data move between each node ?
Or, is what I am requiring the repcached mod to replicate the data ?
Again, sorry for silly questions just cannot get my head around it at the moment; sorry!
--
Thanks, Organic Spider | Weaving Open Source Technology
----- Original Message -----
The client has to populate the data after a get attempt for a key fails.
> How does the data move between each node ?
The other client's gets will succeed until the time to live expires.
When that happens, the client making the failing request should pull a
copy of the data from your database and refresh it in memcache.
> Or, is what I am requiring the repcached mod to replicate the data ?
As long as your clients are configured with the same list of servers in
the same order they will find a single copy.
--
Les Mikesell
lesmi...@gmail.com