Support for cached interfaces file

For Open Server and Open Client applications that use the interfaces file as a directory service, each time the applications build outgoing connections, a linked list is created in memory, and all entries of the interfaces file are loaded into this linked list. This causes an adverse effect on the performance due to excessive utilization of memory, if the number of outgoing connections is large and the interfaces file size is big.

The support for cached interfaces file addresses this issue. Caching the interfaces files in memory improves performance by eliminating the need to load the interfaces file from the hard disk for every outgoing connection. The interfaces file is loaded only when the first connection is built or when the interfaces file is updated.

Memory usage is also optimized because outgoing connections can share one linked list. When an interfaces file is updated, all connections built after the update will use the new interfaces file. The old interfaces file is kept in memory until all connections based on it are closed.

To use this new feature, rebuild your applications with the Open Server and Open Client ESD #8.