JXTA-C 2.5.1 "Cairo" Released!!
We are pleased to announce the availability of another JXTA-C release, 2.5.1 "Cairo".
New Features & Significant Changes
-
More conversion to use thread pool
We are working toward to reduce resource consumption in JXTA-C platform. The first target is threads. We are moving all threads to using a common thread pool created in the NetPeerGroup.
We would like to take away all threads created for periodic tasks. Instead, we will schedule the task in thread pool, which works like a timer.
The thread pool implementation is being contributed back to APR project. Before the official APR release to include thread pool, we would have it in the JXTA-C code base. Alternatively, you can choose to build a patched version of APR.
-
QoS API support
JXTA-C now provide APIs to enable QoS for JXTA messages. A small set of QoS is now supported by core platform. Those include priority, TTL and lifespan. Learn how QoS API works and how to add more QoS capabilities, take a look at http://wiki.java.net/bin/view/Jxta/JxtaCQoS.
-
Performance Improvement in Cache Manager
Cache Manager now supports multiple SQLite3 databases and use transaction, which improves performance quite a bit.
-
Discovery Service not to publish advertisement received
In the past, discovery service will publish advertisements it received from the wire and cause SRDI be pushed to annouce availability of that advertisement. While this keeps the "Make popular resource information more available" philosphy, publish or not really should be a decision made by the application.
With this release, discovery service will only publish advertisements it received when there is no particular listener registered for that query. This behavior is for applications send out a query and trying to search for local cache after a certain period of time.