Re: Namespace for SMP cache manager classes

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 15 Jul 2010 04:40:17 +0000

On Wed, 14 Jul 2010 19:04:04 -0600, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> Hello,
>
> We have a few classes that handle routing of cache manager requests
> and aggregation of cache manager responses in SMP environment:
>
> class CacheMgrFiller: public AsyncJob
> class CacheMgrForwarder: public AsyncJob
> class CacheMgrInquirer: public AsyncJob
> class CacheMgrRequest
> class CacheMgrResponse
>
> Communication among classes is done via UDS so we initially put them in
> the Ipc namespace. However, now it seems that they should belong to the
> "cache manager" namespace instead because IPC is just a mechanism they
> use to handle cache manager requests.
>
> I think we should move them into new "Mgr" namespace that will be
> reserved for cache manager-related things ("Cache" in "CacheMgr" seems
> redundant). Any better ideas?
>
> The existing cache manager code will eventually migrate to the new
> namespace as well, of course.

Sounds good.

I've lately been thinking that the cachemgr.cgi is fast becoming
redundant. I think is a major release or two we may have even the HTML
formatting internalized through the internal server interface.

Amos
Received on Thu Jul 15 2010 - 04:40:21 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 15 2010 - 12:00:09 MDT