Just a second...

What was new in Diffusion 5.6?

Diffusion™ 5.6 contains new functions, performance enhancements and bug fixes.

A complete list of the latest updates to Diffusion can be found in the Release Notes available at http://docs.pushtechnology.com/docs/5.9.24/ReleaseNotice.html.

Apple® Unified API

An Apple version of the Unified API is now available for iOS® and OS X®/macOS®.

For version 5.6, the iOS Classic API (the API used in version 4 and earlier) is still supported.

For more information, see Apple.

Android™ Unified API

The Java™ version of the Unified API is now available for Android.

For version 5.6, the Android Classic API (the API used in version 4 and earlier) is still supported.

For more information, see Android.

Push notifications

This release introduces the Push Notification Bridge. The bridge is a Diffusion client that subscribes to topics on behalf of other Diffusion client applications and uses a push notification network to relay topic updates to the device where the client application is located.

For more information, see Push notification networks.

Automatic fan-out

A Diffusion server can be configured to as a secondary server to a specified primary Diffusion server and automatically replicate all or part of the topic tree of the primary server at the secondary server. In previous releases, this fan-out distribution was only achieved using topic notification topics and publishers at both the primary and secondary server.

For more information, see Fan-out.

Session failover for Unified API clients

Unified API clients can now reconnect to a replicated session on a secondary server if the primary server they first connected to becomes unavailable.

In previous releases, only Classic API clients had this capability.

For more information, see Session replication.

Session properties enhancements

The SubscriptionControl feature now takes advantage of session properties to enable you to select client sessions by their properties and subscribe the selected sessions to a topic or topics.

For more information, see Managing subscriptions.

The ClientControl feature can now register a session properties listener which is notified of state changes of clients along with selected session properties values. The ClientControl feature can also get the properties of any connected client session.

For more information, see Managing clients.

TopicControl feature enhancements

You can now listen for topic events on branches of the topic tree and receive a notification when any topic in that branch changes from having zero subscribers to having one or more subscribers or from having one or more subscribers to having zero subscribers.

For more information, see Listening for topic events.

Optimizations to topic subscription evaluation

Subscription processing has been optimized.

The memory required to record standard topic subscriptions is significantly reduced. The memory footprint for routing or slave topic subscriptions has also been reduced.

When topics are created, the process of evaluating topic selections for existing sessions is more efficient. Subscriptions are evaluated in parallel using multiple CPU cores, and the processing is now asynchronous and batched. This provides a more resilient response to a sudden load.

This change to subscription evaluation also changes the performance of certain publisher features. For more information, see Handling client subscriptions.