Alexander Stecher

Results 229 comments of Alexander Stecher

Yeah we probably can, C dependencies are just kind of cumbersome to install and hard to test. We could allow passing anything if ext/parallel is installed, but only allow a...

Copy pasting the code is also not trivial, because of globals/init/shutdown. I'll try to create a minimal `copy.c`, would be nice to at least be able to pass on arrays...

Haven't forgotten about this PR, copying zvals directly is just more complex than I anticipated. They probably need to go to persistent memory and then back to local memory. Still...

The parallel extension's copy mechanism's main deal breaker is that it cannot copy internal objects like `\DateTime`. And these limitations might only lead to confusion (like in [this thread](https://github.com/krakjoe/parallel/issues/100)). That's...

@dunglas external workers are one of the reasons I created this PR and I'd also like to merge the 'external workers' logic with task workers. Workers should do one thing:...

A public api for just handling PHP requests already exists though. Can it not just be achieved by calling this with a custom worker/request/responsewriter? ```go r, _:= frankenphp.NewRequestWithContext(r, frankenphp.WithWorkerName("..."))) frankenphp.ServeHTTP(rw,...

I guess the only case where it would make sense to use `frankenphp_handle_request()` for both HTTP requests and messages is if you actually want a single thread to do both...

Just to clarify again where we go from here: - would you be fine with separate apis for messages and for requests? - would you be fine with a separate...

How are you load-testing? How many CPU cores are you using? 8 workers might not be enough if you are doing IO. Example minimal Caddyfile ```caddyfile { # Caddy is...

When exactly does the backend become slow? After some time or after you spam a certain endpoint? What does the endpoint do? What Laravel version are you using? If you...