10 February 2015

Howdy folks,

We just released a new version of Wacnet.

You can download it here: Download Wacnet. If you are on the mailing list, you should already have received a direct download link.

As usual, it contains many little improvements. Most are invisible and only affect BACnet networks communication. (For example, Wacnet now sends a I-Am broadcast when it boots.)

There is one improvement that you might notice however: we added caching for the explorer.

Caching

Every time a property value is fetched from a remote device, it’s stored in memory. When the same property is rechecked, the value stored in memory will be returned, instead of re-querying the remote device.

For release 1.1.6, the default caching time is 5 minutes. Once the 5 minutes are elapsed, the value in memory expires. From then, any attempt to read this value will cause a normal property read over the network and the result obtained will be cached again for 5 minutes.

While you still need to load some of the remote devices properties when first checking them in the explorer, you can now check other devices without having to reload everything when coming back to devices you have already seen.

This is especially useful when browsing an MS/TP network, as you won’t need to re-fetch the data from the remote devices.

Implementation

If you are interested in seeing how the caching is implemented, you can take a look at the caching namespace in Bacure. That’s right, don’t forget that Wacnet is completely open source!

Christian Fortin Founder

blog comments powered by Disqus