Polling is the lightweight, periodic background check the application performs from a logged-in browser to look for new data. It's how the activity feed updates, how unread chat counts refresh, and how the notification badge stays accurate without the user having to reload the page.
What Polling Returns
Each poll asks the server: “since my last cursor, has anything changed for this user that affects what is on-screen?”. The response is a small JSON document with deltas — e.g. “3 new chat messages”, “1 new browse view row”, “notification badge count is now 7”.
When to Poll vs WebSocket
- Polling is the simplest option, requires no special infrastructure, and works through every corporate firewall.
- WebSockets deliver updates instantly but need a persistent connection and may be blocked on restrictive networks.
ActiveManage uses both: WebSockets when available, polling as a fallback when the socket cannot establish or has dropped.
Example Scenarios
- Bookings list: A receptionist leaves the bookings page open on a second monitor. Polling refreshes the row colour as appointments confirm or cancel.
- Chat unread counter: The sidebar badge updates to show new messages even on networks where WebSockets are blocked.
- Long-running task status: A bulk import job's status row updates without the user clicking refresh.
Tip: Polling frequency is a tradeoff between freshness and server load. The defaults are tuned for typical use — don't lower them below 10 seconds without measuring impact.