I'd like we can get more known of all the confusing problems we have, I don't have any conclusion or suggestion at all.
here is my known of the 'traffic_line -x', it is the central control of taking config update in to running, when you changed the records.config with VIM for example. but we have some problem here too: 1, there is 'traffic_line -s xx -v yy', which will take into action without any hesitate. 2, if you changed your plugin so, or plugin.config, it won't get in update at all, for example TS-2104. here, we use rpm to manage the ATS binary and plugins, we find it not so easy for plugin management too. the plugin is a lightweight change in our daily management, we'd not like to restart ATS. we found out that if we update the plugin rpm into another new version, with so file replaced, it won't take into action, because it is not changed in the inode of the filesystem. we have to do a symbol link to for it to be included in the remap.config, and name the plugin so in the standard library version naming way. but the change make it impossible to first install the plugin, then active it later, it will take into action as soon as it is installed. so 'traffic_line -x' is useless here. that is what I am wondering, is there any better solution? how should we make it for the future? 在 2013-9-14,上午6:41,Nick Kew <n...@webthing.com> 写道: > On Fri, 13 Sep 2013 22:43:22 +0800 > 永豪 <yong...@taobao.com> wrote: > > >> ## RFC: how to do file monitor and config file reload > > How would you expect this to relate to "traffic_line -x"? > > -- > Nick Kew