I am working on a website which runs with a memcache on two servers.
The traffic to the site is routed to one of the two servers
automatically by the hardware. The memcache makes it easy to share the
session so I don't have to consider which machine I am on.
however, I need to find a way to write a configuration change to both
servers somehow without the change disappearing when the memcache
expires or the machine is restarted or whatever. Can it be done?
I am pretty new to CakePHP so my first idea was to first save the
change to the memcache and then write a configuration file with
Configure::store. Is this a bad idea?
Is there a lot of performance penalty having an extra config file? I
would guess not considering that it seems to read the config.php file
on each hit to the website since a change there is instantly reflected
on the next web request.
Thanks for your input!
Regards,
Jonas
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
No comments:
Post a Comment