Skip to main content

2 posts tagged with "Release"

New versions of VRPC

View All Tags

Events that scale

· 4 min read

Auf Deutsch lesen

In an app on the Heisenware platform, a counter registered its event handler again once a minute. Nothing in between knew it was the same listener. After 19 hours the instance held 1,100 copies of one handler, and every pulse of the counter went out 1,100 times.

VRPC 3.15 ends that for good. It brings protocol 4, and with it a simple rule: an event function runs once, however many listen.

Ein Handler statt 1.100

· 4 min read

Read in English

Ein Zähler in einer App auf der Heisenware-Plattform hat sich jede Minute neu für sein Event registriert. Aufgefallen ist das niemandem – bis nach 19 Stunden 1.100 Kopien desselben Handlers an der Instanz hingen und jeder einzelne Impuls 1.100-mal verschickt wurde.

Mit VRPC 3.15 ist damit Schluss. Das Release bringt Protokoll 4 und eine einfache Regel: Eine Event-Funktion läuft genau einmal – egal, wie viele Clients sie abonnieren.