Skip to content

validating how a promise queue of AJAX requests would work

Notifications You must be signed in to change notification settings

glifchits/promise-pool-testing

Repository files navigation

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

About

validating how a promise queue of AJAX requests would work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published