Bug 2997 - Investigate to move ACE Name Server code out of ACE library
Summary: Investigate to move ACE Name Server code out of ACE library
Status: NEW
Alias: None
Product: ACE
Classification: Unclassified
Component: ACE Core (show other bugs)
Version: 5.5.9
Hardware: All All
: P3 enhancement
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks: 2181
  Show dependency tree
 
Reported: 2007-07-19 04:38 CDT by Johnny Willemsen
Modified: 2007-08-08 03:53 CDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johnny Willemsen 2007-07-19 04:38:13 CDT
The ACE library contains ACE_Name_Proxy, Name_Request_Reply and other related classes for the ACE Name Server. We are already facing the problem that the ACE library is too big to be build as shared library for PPC. The *Name*.* files are not required at least for TAO and probably only a few users. We should look if we can move these classes to a new ACE library, for example ACE_NameServer. We can put this below the ACE_wrappers/ace directory or maybe move it to apps
Comment 1 Johnny Willemsen 2007-07-19 04:39:12 CDT
fixed summary
Comment 2 Douglas C. Schmidt 2007-07-19 05:32:13 CDT
We should definitely try to move this stuff out of the ACE library!  Thanks, Doug
Comment 3 Johnny Willemsen 2007-07-19 05:54:58 CDT
What would then be a new location:
ACE_wrappers/ace/Naming_Server
or
ACE_wrappers/netsvcs/lib/Naming_Server
or 
ACE_wrappers/apps/Naming_Server
Comment 4 Steve Huston 2007-07-19 07:00:53 CDT
Since Doug has voted for it, it's going to happen, but let me remind you that just because TAO doesn't use something doesn't make it unused. ACE has a life of its own, and people do use the ACE naming service.

ACE_wrappers/ace/Naming_Service would be good. The naming server is part of netsvcs, but it's only one place to store the names.
Comment 5 Johnny Willemsen 2007-07-19 07:03:02 CDT
(In reply to comment #4)
> Since Doug has voted for it, it's going to happen, but let me remind you that
> just because TAO doesn't use something doesn't make it unused. ACE has a life
> of its own, and people do use the ACE naming service.
> 
> ACE_wrappers/ace/Naming_Service would be good. The naming server is part of
> netsvcs, but it's only one place to store the names.

I know people can use it, but we have moved more parts out of the library the last months. Naming Service isn't a real framework to my idea, it is more an example how you could use ACE. With this out the core library gets smaller. We need to do much more refactoring to the library to make it possible to use it as shared library on ppc, probably we need to split it into a few bigger chunks
Comment 6 Douglas C. Schmidt 2007-07-19 07:43:08 CDT
Hi Johnny, please see

ACE_wrappers/netsvcs/lib/

for an example of how we dealt with the Token stuff, which might provide a good
model for how to handle the Naming_Service stuff!  Thanks,  Doug
Comment 7 Abdul Sowayan 2007-07-23 13:06:04 CDT
If we're trying to reduce the size of the core ACE library, shouldn't things like Throughput_Stats (and maybe Timeprobe) be removed to a different library (perhaps ACE_Utils, just like in TAO where we have TAO_Utils)?

Thanks,
Abdul
Comment 8 Johnny Willemsen 2007-07-23 13:52:14 CDT
> If we're trying to reduce the size of the core ACE library, shouldn't things
> like Throughput_Stats (and maybe Timeprobe) be removed to a different library
> (perhaps ACE_Utils, just like in TAO where we have TAO_Utils)?

We definitively need to refactor the ACE library, but I first want to tackle the easy ones. The files you mention are used by TAO, moving these out will then result in much more work. The name server is the first one, then we should probably have a more global look and see what we can split out