You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Consider using web channels provided by the MessageChannel Web API for the message exchange between the gateway and broker. This allows for a dedicated channel per message class and thus eliminates the manual mapping of messages to handlers in the broker/gateway, which massively reduces the load on the UI thread.
A PoC has illustrated that the message throughput can be more than doubled compared to the current solution.
Describe the solution you'd like
Instead of exchanging messages on a single channel (the window channel), the platform uses a dedicated MessageChannel per message class. The gateway connects to the broker using window.postMessage and transfers message ports for subsequent communications (i.e., for publishing a message, publishing an intent, subscribing to a topic, subscribing to an intent, ...). In addition, a dedicated channel is established for each interaction with the broker, i.e., for receiving the ACK message, the response(s) to a request-response communication, and messages for a subscription.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Consider using web channels provided by the
MessageChannel Web API
for the message exchange between the gateway and broker. This allows for a dedicated channel per message class and thus eliminates the manual mapping of messages to handlers in the broker/gateway, which massively reduces the load on the UI thread.A PoC has illustrated that the message throughput can be more than doubled compared to the current solution.
Describe the solution you'd like
Instead of exchanging messages on a single channel (the
window
channel), the platform uses a dedicatedMessageChannel
per message class. The gateway connects to the broker usingwindow.postMessage
and transfers message ports for subsequent communications (i.e., for publishing a message, publishing an intent, subscribing to a topic, subscribing to an intent, ...). In addition, a dedicated channel is established for each interaction with the broker, i.e., for receiving the ACK message, the response(s) to a request-response communication, and messages for a subscription.The text was updated successfully, but these errors were encountered: