Github user zizhong commented on the pull request:
https://github.com/apache/trafficserver/pull/301#issuecomment-157628406
Thanks @jpeach for the helpful comments.
For the protocol you suggested,
1. How to clean up the old watched children files correctly?
2. In a parent with all children style, the whole information can be packed
in one message instead of O(children) messages, which is more efficient on both
time and space.
The tree structure for this problem is too general. A parent with all
children (a.k.a. ConfigFileGroup) is all that is need. Those groups are few
foreseeably(ssl_multicerts.conf, remap.conf) and all those can be treated as
configFileGroups(a special tree whose depth is always 2) instead of a general
tree.
After considering about the pros and cons about applying a tree structure
in this issue, I prefer ConfigFileGroup.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---