With the goal of providing a smoother, faster, and real-time experience, Hybo Canteen now includes an integration with SignalR — a tool that allows the system and the server to maintain an active and constant connection.
🔍 What is SignalR?
🔍 What is SignalR?
SignalR is a technology that enables web applications to maintain continuous, bidirectional communication with the server.
Previously, the page periodically checked the server to see if new data was available. Now, it’s the server that sends the information at the exact moment a change occurs.
Simply put, SignalR keeps an open “direct line” between the server and the application, ensuring changes are reflected immediately without needing to refresh the page.
🔄 What improves in Hybo Canteen?
🔄 What improves in Hybo Canteen?
Before this update, the application refreshed order information at periodic intervals (for example, every five minutes).
This caused small delays between when an action was performed and when it appeared on screen.
With SignalR, the process is now instant:
As soon as a user creates a reservation, the system automatically notifies all connected panels.
If a record is marked (previously known as “check-in”), its status updates immediately for all users viewing the panel.
This applies to both manual action mode (where preparation steps are managed manually) and automatic mode (where the process completes automatically after check-in).
In summary, all canteen users will see updates instantly, with no need to refresh the page or rely on synchronization intervals.
⚙️ General Functionality
⚙️ General Functionality
The SignalR integration operates as follows:
🔗 Active connection:
When a user logs into the Canteen panel, a continuous connection is established with the server through SignalR.🎧 Event listening:
This connection remains active and listens for events related to orders, such as:New reservations
User check-ins
Order status changes
🔄 Automatic updates:
When any of these events occur, the server sends the information instantly to the application, and the panel updates automatically without requiring a page refresh.🔐 Smart session handling:
The connection will remain active as long as the user’s session is open.
If the session becomes inactive for a prolonged period or is closed manually, the connection will automatically disconnect to:Prevent unnecessary multiple sessions
Protect server performance and ensure system stability
📘 Relation to the main guide
📘 Relation to the main guide
This document complements the main Hybo Canteen guide, which explains the general functioning of the module and its configuration from the admin panel.
While the main guide details the usage and parameterization of Canteen, this article explains how SignalR enhances its performance and user experience.
