Export to GitHub

memagent - issue #1

Purpose of memagent


Posted on Sep 7, 2008 by Helpful Rhino

Not really an issue, but some questions:

  1. Does magent duplicates a key-value pair to multiple memcached backends, or just one of them?
  2. How many connections magent will establish to one backend?
  3. Is there a way to know whether a backend is live or dead, and how to manually mark a backend as live or dead?

Thanks a lot, it's a good idea. :)

Comment #1

Posted on Sep 7, 2008 by Grumpy Monkey

1) magent will write one key-value pair to normal memcached server farms and backup server farms at the same time. it's in TODO list 2) currently max free keep-alive connection number to one backend is 50(hard coded by

define MAXIDEL 50). it can be configured by arugment if needed

3) health check is in TODO list.

Comment #2

Posted on Sep 7, 2008 by Grumpy Monkey

one more comment: we can add one management port for magent which provides some handy tools such as to enable/disable backend on the fly

Comment #3

Posted on Sep 7, 2008 by Helpful Rhino

What you meant by 'memcached server farms', is it a group of memcached servers and each of them stores a subset, just like the memcache php extension?

Comment #4

Posted on Sep 7, 2008 by Grumpy Monkey

yeah. you r right! so php can connect local magent, instead of a lot of memcached servers.

Comment #5

Posted on Oct 5, 2008 by Grumpy Monkey

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium