async VS posterus

Compare async vs posterus and see what are their differences.

posterus

Composable async primitives with cancelation, control over scheduling, and coroutines. Superior replacement for JS Promises. (by mitranim)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
async posterus
8 3
2,537 550
0.6% -
5.9 0.0
3 months ago almost 3 years ago
PHP JavaScript
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.

async

Posts with mentions or reviews of async. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-17.

posterus

Posts with mentions or reviews of posterus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-31.
  • Cluster friendly task scheduler for NodeJS
    4 projects | /r/node | 31 Oct 2022
    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
    7 projects | news.ycombinator.com | 16 Apr 2022
    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?
    9 projects | /r/reactjs | 4 May 2021
    https://github.com/mitranim/posterus#taskdeinit

What are some alternatives?

When comparing async and posterus you can also consider the following projects:

async-php-8-io-http - True asynchronous PHP I/O and HTTP without frameworks, extensions, or annoying code. Uses PHP Fibers introduced in PHP 8.1

Fluture - 🦋 Fantasy Land compliant (monadic) alternative to Promises

fork - A lightweight solution for running code concurrently in PHP

CAF - Cancelable Async Flows (CAF)

Swoole - 🚀 Coroutine-based concurrency library for PHP

Immer - Create the next immutable state by mutating the current one

parallel - An advanced parallelization library for PHP, enabling efficient multitasking, optimizing resource use, and application responsiveness through multiple CPU threads.

firebase-queue

React - Event-driven, non-blocking I/O with PHP.

React - The library for web and native user interfaces.

coroutine - Cooperative multitasking using generators. The basics of coroutines, async and await!

redux-saga - An alternative side effect model for Redux apps