4 ms·
> But I simply never see any discussion or usage of the low-level queue features offered by the language... Assuming we're talking about something that serves
by kiitos 3y ago
> But I simply never see any discussion or usage of the low-level queue features offered by the language...
Assuming we're talking about something that serves requests over the network, it rarely makes sense to define or use queues within the program itself. The network stack already contains many layers of queues which will almost always manage load concerns (e.g. throttling, backpressure, etc.) more effectively than your application can do itself. In general you want your app to accept and process requests as fast as it can, and leave queueing concerns to other authorities.