Using Topic Views 4: Throttling Reference Topics

9 Jul 19

Throttling reference topics

Throttling reference topics

Topic views can replicate a topic branch to another branch that is throttled to update less often. We do this using a throttling clause.

  • Open the Topic Views tab.
  • Click Add and create a new topic view named Football/Free.

Adding the topic view “Football/Free”

  • Give it the specification: map ?Demos/Sportsbook/Football/England// to Demos/Sportsbook/Free/Football/<path(5)> throttle to 1 update every 5 seconds.
  • Click Add and open the Topics tab.
  • Browse to the new topic branch Demos/Sportsbook/Free to see the new topics.

Browsing the new Free/Football topics

  • Subscribe to the new topics and check that they are updated every 5 seconds at most.

Notice the new throttling clause: throttle to 1 update every 5 seconds. As the topic name suggests, we have built a limited version of the application for non-paying customers, providing less frequent updates and so consuming less bandwidth.

Summary: Use the throttling clause to throttle the rate of reference topic updates.

Next: Using topic content to name a reference topic.

The Diffusion Intelligent Data Platform manages, optimizes, and integrates data among devices, systems, and applications. Push Technology pioneered and is the sole provider of real-time delta data streaming™ technology that powers mission-critical business applications worldwide. Leading brands use Push Technology to fuel revenue growth, customer engagement, and business operations. The products, Diffusion® and Diffusion Cloud™, are available on-premise, in-the-cloud, or in a hybrid configuration, to fit the specific business and infrastructure requirements of the applications operating in today’s mobile obsessed, everything connected world. Learn how Push Technology can reduce infrastructure costs, and increase speed, efficiency, and reliability, of your web, mobile, and IoT application.

LEARN MORE: Case Studies and Developer Resources