The messages for the AJAX Chat are saved in a queue (a FIFO structure) so that messages are not lost even if the server is slow, and they always get to the server in the same order as you sent them. Unlike with other patterns we can find on Internet these days, we also ensure we don't load the server with any more requests until the current one is finished.
Re: AJAX Chat
The messages for the AJAX Chat are saved in a queue (a FIFO structure) so that messages are not lost even if the server is slow, and they always get to the server in the same order as you sent them. Unlike with other patterns we can find on Internet these days, we also ensure we don't load the server with any more requests until the current one is finished.