posterus
firebase-queue
Our great sponsors
posterus | firebase-queue | |
---|---|---|
3 | 2 | |
550 | 788 | |
- | 0.0% | |
0.0 | 1.8 | |
almost 3 years ago | over 3 years ago | |
JavaScript | JavaScript | |
- | MIT License |
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.
posterus
-
Cluster friendly task scheduler for NodeJS
Check out these; - https://github.com/mitranim/posterus - https://github.com/timgit/pg-boss - https://github.com/FirebaseExtended/firebase-queue - https://www.npmjs.com/package/rabbit-queue
-
I Avoid Async/Await
Async/Await covers the 80% of use cases for async logic in JS. Most people aren't really using promises as multicast references. They don't call `then` in one place, hang on to the promise reference, then call `then` again somewhere else (perhaps to represent a cached value); they call `then` once on the reference because it's just a moment in a composite operation.
It's for this reason that I think this library[0] is the more appropriate abstraction for that same 80% of use-cases, as its more memory efficient since you can represent the same composite operation that generates multiple promise references with a single object (a unicast reference instead). I haven't learned Rust but apparently the author bases this on Rust's ownership principle.
[0]https://github.com/mitranim/posterus
-
What is one thing you find annoying about react and are surprised it hasn't been addressed yet?
https://github.com/mitranim/posterus#taskdeinit
firebase-queue
-
Cluster friendly task scheduler for NodeJS
Check out these; - https://github.com/mitranim/posterus - https://github.com/timgit/pg-boss - https://github.com/FirebaseExtended/firebase-queue - https://www.npmjs.com/package/rabbit-queue
- Right approach for scheduled long running background tasks?
What are some alternatives?
Fluture - 🦋 Fantasy Land compliant (monadic) alternative to Promises
pg-boss - Queueing jobs in Node.js using PostgreSQL like a boss
CAF - Cancelable Async Flows (CAF)
db-scheduler - Persistent cluster-friendly scheduler for Java
Immer - Create the next immutable state by mutating the current one
React - The library for web and native user interfaces.
redux-saga - An alternative side effect model for Redux apps
boxed - Utility types for functional TypeScript
cofx - A node and javascript library that helps developers describe side-effects as data in a declarative, flexible API.
react-typescript-redux-example - A short React example with TypeScript and Redux hooks.
async - Easily run code asynchronously