/promise-pool-testing

validating how a promise queue of AJAX requests would work

Primary LanguageJavaScript

promise-pool-testing

Investigation into how to use AJAX requests and promises on front-end in a pool/queue with limited concurrency.

Includes a dummy local non-blocking Python/Tornado server to test concurrent requests.

The great promise-queue library is used.

Installing

pip install -r requirements.txt
npm install

Running

python tornadoserver.py
npm start # and point browser to localhost:8080

Example

Concurrency: 2 network profile with 2 concurrent requests