minbbp / memagent

Automatically exported from code.google.com/p/memagent
0 stars 0 forks source link

Purpose of memagent #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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. :)

Original issue reported on code.google.com by 191...@gmail.com on 7 Sep 2008 at 2:20

GoogleCodeExporter commented 8 years ago
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.

Original comment by shellc...@gmail.com on 7 Sep 2008 at 3:47

GoogleCodeExporter commented 8 years ago
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

Original comment by shellc...@gmail.com on 7 Sep 2008 at 3:49

GoogleCodeExporter commented 8 years ago
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?

Original comment by 191...@gmail.com on 7 Sep 2008 at 4:14

GoogleCodeExporter commented 8 years ago
yeah. you r right!
so php can connect local magent, instead of a lot of memcached servers.

Original comment by shellc...@gmail.com on 7 Sep 2008 at 5:42

GoogleCodeExporter commented 8 years ago

Original comment by shellc...@gmail.com on 5 Oct 2008 at 2:23