Skip to content

A request manager using fetch for scenarios that require lots of requests to be sent

License

Notifications You must be signed in to change notification settings

hhk-png/mlfetch

Repository files navigation

mlfetch

mlfetch is a request manager for scenarios that require lots of requests to be sent, which uses fetch() api to send requests. It could also automatically adjust the concurrency based on the request statistical data(include the size of request queue and the request time and others) to achieve the balance between enqueue and shift.

You can click two link below to lean the usage of mlfetch. The implementation of mlfetch is loacted in package/mlfetch. And the test environment is located in playground/jsonplaceholder, it could handle the task of request https://jsonplaceholder.typicode.com/photos/${i} 80 times per second.

English | 中文

About

A request manager using fetch for scenarios that require lots of requests to be sent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published