php / php/frankenphp

Async workers

Open
#1,754 55 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
11.3k
Forks
488
Avg merge
4d 10h
Merged PRs (30d)
11

Description

Describe you feature request

If something like https://github.com/true-async/php-async gets merged into php-src what would be the necessary steps to create an 'async' worker? In other words: a worker where the whole request runs inside of a coroutine.

worker {
  file: "public/worker.php"
  async
}`

Probably worth thinking about, even though this is still a while off.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked true_async RFC and the php-src context, then compare them with the worker configuration shown in the issue. Define the PHP/Go integration steps needed for a request to run inside a coroutine, and document clear acceptance criteria for an async worker.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.