async-sema
Semaphore using `async` and `await` (by vercel)
threadedClass
Fork instances of classes with one line of code, all while retaining the types of the class. (by nytamin)
Our great sponsors
async-sema | threadedClass | |
---|---|---|
1 | 1 | |
609 | 5 | |
1.1% | - | |
0.0 | 4.5 | |
10 days ago | 18 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
async-sema
Posts with mentions or reviews of async-sema.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Throttle a series of fetch requests in JavaScript
Using a throttling mechanism would be the more elegant way to deal with this issue. In computer science there's the concept of a semaphore which describes a way to control access to a common resource by multiple processes. There is a library which implements that and allows you to limit the maximum parallel requests. The code would look something like this:
threadedClass
Posts with mentions or reviews of threadedClass.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Can some gurus give me the lowdown on Worker_Threads vs Clusters ?
A while ago I made a comparison of the overhead of making a call into a worker-thread vs just making the all internally, it might provide some insight: https://github.com/nytamin/threadedClass#notes-on-performance
What are some alternatives?
When comparing async-sema and threadedClass you can also consider the following projects:
react-cool-form - 😎 📋 React hooks for forms state and validation, less code more performant.
microjob - A tiny wrapper for turning Node.js worker threads into easy-to-use routines for heavy CPU loads.
Coerce-rs - Actor runtime and distributed systems framework for Rust
cofx - A node and javascript library that helps developers describe side-effects as data in a declarative, flexible API.
async-interval-job - ✨ setInterval for promises and async/sync functions. Support graceful shutdown and prevent multiple executions from overlapping in time.
SwiftCoroutine - Swift coroutines for iOS, macOS and Linux.
Micro - Asynchronous HTTP microservices