I have a Actix-Web application where users can place orders. Currently I am making the live order panel where the restaurant owner can view the incoming orders.
This panel needs to be live-updated to display the newly incoming orders. One way to do this is by making a AJAX-request every few minutes to update the order-table.
But I was thinking that there maybe is a better way: Could I use Websockets to get some kind of push-message each time a new order is placed?