From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-May/015375.html | 154 ++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-May/015375.html (limited to 'zarb-ml/mageia-dev/2012-May/015375.html') diff --git a/zarb-ml/mageia-dev/2012-May/015375.html b/zarb-ml/mageia-dev/2012-May/015375.html new file mode 100644 index 000000000..ecb83141d --- /dev/null +++ b/zarb-ml/mageia-dev/2012-May/015375.html @@ -0,0 +1,154 @@ + + + + [Mageia-dev] Freeze Push: memcached + + + + + + + + + +

[Mageia-dev] Freeze Push: memcached

+ Colin Guthrie + mageia at colin.guthr.ie +
+ Mon May 7 12:15:34 CEST 2012 +

+
+ +
Hi,
+
+Please push memcached.
+
+This is just for a subtle but significant change to the systemd units
+after discussions upstream.
+
+When dealing with large numbers of templated units, it's often difficult
+to keep them all in sync. e.g. I might have 10 instances of the memcache
+service and want to restart them all. The previous structure was
+difficult in that regard.
+
+This new structure introduces a new memcached.target. Each of the
+templated units are set as BindTo=memcached.target which means that they
+will follow the start/stop status of the target.
+
+The target installs itself as a wants for multi-user.target and each
+individual unit install themselves as being wanted by memcached.target.
+
+This has the net result that starting/stopping/restarting all memcache
+servers is as easy as "systemctl start|stop|restart memcached.target"
+
+The only slightly ugly thing is that current rpm-helper code will
+restart all instantiated instances of template units and then restart
+the target too. This has the effect of doing the restart twice, but I
+think this is a small price to pay.
+
+I use the myself as I run two memcache servers for my work environment
+and I can imaging scaling this up to any significant number would result
+in significant benefits.
+
+FWIW, this is how openvpn should be structured too IMO.
+
+Col
+
+-- 
+
+Colin Guthrie
+colin(at)mageia.org
+http://colin.guthr.ie/
+
+Day Job:
+  Tribalogic Limited http://www.tribalogic.net/
+Open Source:
+  Mageia Contributor http://www.mageia.org/
+  PulseAudio Hacker http://www.pulseaudio.org/
+  Trac Hacker http://trac.edgewall.org/
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1