On Tue, 29 Apr 2014 07:28:30 +0200 Pierre-Yves Chibon <pingou@xxxxxxxxxxxx> wrote: > On Thu, Apr 17, 2014 at 10:28:37PM +0200, Pierre-Yves Chibon wrote: > > On Thu, Apr 17, 2014 at 08:48:00PM +0200, Michael scherer wrote: > > > On Thu, Apr 17, 2014 at 10:19:02AM -0600, Kevin Fenzi wrote: > > > > The first patch here looks fine to me... but the second one > > > > isn't going to work I don't think. > > > > > > > > Those services use memcached, but they use our existing > > > > memcached03/04 instances that are still in puppet, not local > > > > memcached. > > > > > > Not all. > > > Nuancier seems to use localhost : > > > http://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/nuancier/templates/nuancier.cfg#n52 > > > > > > So does pkgdb : > > > http://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/pkgdb2/templates/pkgdb2.cfg#n28 > > > > > > ( unless i missed something and pkgdb2 and nuancier run on a > > > memcache server ) > > > > Nuancier and pkgdb2 could be moved, it's just a matter of adjusting > > the configuration file. > > pkgdb2 has memcache but iirc, it doesn't do much with it. I tried > > to speed up some of the API calls with it but it wasn't really a > > clear win, so I'm not sure it actually uses memcache at this time. > > I correct myself, pkgdb2 still uses memcache for its integration with > FAS. So, I was kind of wondering if we should have some kind of best practice around memcache or guidelines for Fedora Infrastructure applications. a) When should you use memcache? b) When should it be external host vs local? c) How large should it be? I think my wild ass non application developer answers would be: a) When it's easy to integrate and you have things that would speed up by using it. b) It should be external when you have more than 1 server running the same application (so they can share cache?) c) no idea on this one. ;) So, basically I think we should make a best practices and then update all our applications to do things that way. ;) If that means we need more seperate memcached machines, fine. If it means we need to remove all those and go with seperate caches, thats fine too. I just want us to not be doing lots of different things on different apps where there's no reason for the difference. ;) kevin
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure