Performance enhancements, New features – Echelon LNS User Manual
Page 20
LNS Programmer's Guide
6
Performance Enhancements
For Turbo Edition, numerous internal changes have been made that will significantly
improve the speed, performance and stability of most LNS applications. This includes
improved internal use of transactions, locking and indexing for faster database
operations.
Internal indexing in some of the major LNS collections has been vastly improved, so the
time required to access items from these collections has been reduced from a linear-time
operation (varying with respect to the size of the collection) to a relatively small,
constant-time operation. For large networks with large databases, this will make for a
noticeable performance improvement when you use the Item property, the
ItemByHandle() method, the ItemByIndex() method, or the
ItemByProgrammaticName() method to retrieve an object from the following
collections:
• AppDevices Collection (when accessed through Subsystem object)
• NetworkVariables Collection
• ConfigProperties Collection
• LonMarkObjects Collection
• MessageTags Collection
• Routers Collection
The introduction of temporary monitor sets in Turbo Edition will improve the
performance of your monitor and control applications. Temporary monitor sets serve the
same purpose as the permanent monitor sets that were introduced in Release 3.0.
However, temporary monitor sets are not stored in the LNS database. As a result, it
takes considerably less time to create temporary monitor sets than it does to create
permanent monitor sets. Temporary monitor sets can only be used in a single client
session by the client application that created them. In contrast, permanent monitor sets
can be used by multiple clients in multiple client sessions. If you are creating a monitor
and control application that does not need to re-use monitor sets and monitor points, you
can maximize your application’s performance by using temporary monitor sets. For more
information on temporary monitor sets, see the next section, New Features.
New Features
This section describes the major features that have been added to LNS for Turbo Edition.
This includes the following topics:
• Changeable Network Variable Types
• Improved Support for Dynamic Interfaces