I know python and databases very well. But I want to improve my limited JavaScript knowledge.
For my toy project I want to use an async queue in the web browser.
In python there is a nice library which I used with multiprocessing: https://docs.python.org/2/library/queue.html
Now I search something like this, but it needs to run in the browser.
Step 1: The in-queue pulls work-items (pink circles). Just a view json bytes.
Step 2: The User processes the data.
Step 3: The out-queue cares for sending the result to the server.
Why this "complicated" setup? Because I want the application to be as responsive as possible. The in-queue should pre-load some data and the out-queue should handle response communication.
An other benefit is, that with this setup the application can handle server or network outage for a period of some minutes.
Which JS libraries could be used? I prefer to re-use an existing library.