I was looking for the easiest way to process task asynchronously, but keep the order. However, implementing something on top of the BlockingCollection
seemed a bit of an overkill.
Instead, the original implementation was similar to:
And later on I could await all
Currently I'm hosting a bunch of static HTML files (with CSS, JS, images, ...) inside a plane nginx container. Mostly nginx:alpine, but sometimes also openresty/openresty:alpine and other similar containers, to be precise. The odd thing is, this container is either behind an nginx reverse proxy, which could server