In it will not hurt performance when constantly asking for config parameter with locking i am fine with it. Can be also compile time option for configure
Vasiljevic Zoran wrote: > So: > > > The configuration is global and read-only. Parameters may be > retrieved at > run-time using [cmd ns_config], although usually configuration > parameters are > used by Tcl library files at start-up. > > I submitted a patch/module to RFE section since some time > already, that implements the config storage > that is read/write. The emphasis was to minimize > locking for readers (making readers fast) on the cost > of making writers slow(er). > > Has anybody checked that? Because I think that we might > really use that module as a replacement for the read-only > version that is currently in place. We may even make the > (new module) read-only per switch (default) but allow > read-write for those who might need it (we, for example). > > Any ideas, objections? > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel