Hi everyone! What is the best way to run AWS SDK in a ReactPHP application? I'm kinda frustrated to see blocking http calls :(
@pachico Answered via https://twitter.com/another_clue/status/1514216819812409355
There's hope we're going to see more async APIs in the future with fibers:
https://github.com/reactphp/asyncBlocking calls can be avoided by running them in a child process like this:
https://github.com/clue/reactphp-pqIf you're looking for async S3, you may also use this:
https://github.com/clue/reactphp-s3
react/promise
: https://github.com/reactphp/promise/blob/2.x/composer.json#L37
New RT by @reactphp:
About to release signal handling support for @x_framework finally 🚀
Especially excited to improve Docker support somewhat. Feels so good to finally ship it after working on it for the last few weeks. 💪
#async #php #opensource— Christian Lück (@another_clue) 2022-04-20 08:30
New RT by @reactphp:
This is the smallest @reactphp #HTTP server I've written so far, just a single line:
— Cees-Jan Kiewiet (@WyriHaximus) 2022-04-20 18:54
New RT by @reactphp:
All but the top left graph are my home #kubernetes nodes running dataming pods utilizing the upcoming @reactphp filesystem v0.2. Those pods run the #php script in the second image (dropped some BP from it) and with 5 fibers are doing around 20MB/s per pod while mining the data:
— Cees-Jan Kiewiet (@WyriHaximus) 2022-04-21 09:20
New RT by @reactphp:
Flow PHP reached another milestone today! 🎉
Async pipeline abstraction was just merged into 1.x branch; it's implemented by @asyncphp and @reactphp adapters.This makes data processing in #php a lot faster but still under constant memory consumption.
https://github.com/flow-php/etl/blob/1.x/README.md\#asynchronous-processing
— Norbert Orzechowicz (@norbert_tech) 2022-04-26 20:46
New RT by @reactphp:
Say hello to our new intern Tico! 👋
Making great progress to show live LED notifications when new @GitHub tickets arrive.
✅ @Raspberry_Pi + LED setup
✅ @x_framework HTTP routing
✅ Request to route triggers LEDUpcoming webhook integration is going to be 🔥
— Christian Lück (@another_clue) 2022-05-02 13:25
$response->send()
call which calls a shutdown function (such as fastcgi_finish_request()
); I am not sure how to get output in my logs after I get a response back from the kernel in my HttpServer callback
New tweet by @reactphp:
We just shipped a bunch of our fancy stickers! 😍
Plenty more stickers here, who’s interested? Any other community events or upcoming @ReactPHP talks?
We love to support the community! ❤️ #php #phpc
— ReactPHP (@reactphp) 2022-05-03 11:58
New RT by @reactphp:
Let's start this week with a new release of my async Redis client implementation for @ReactPHP! 🚀
Now finally with support for PHP 8.1.
#php81 #OpenSourceEnjoy your week!
https://github.com/clue/reactphp-redis/releases/tag/v2.6.0
— Christian Lück (@another_clue) 2022-05-09 10:12
New tweet by @reactphp:
Great talk by Volker @hacklabor (🇩🇪 German)!
Some very interesting use cases for low-level networking with @ReactPHP in there. #eventdriven #php
Thank you for the shout out and for all your work and support! 🔥
https://youtu.be/hAbtB1z-Kpk— ReactPHP (@reactphp) 2022-05-10 14:50
@clue YAY!: https://github.com/clue/reactphp-redis/releases/tag/v2.6.0
@WyriHaximus You're fast! Prepared the release announcement only a couple of minutes later 😃
Hi, is there any way to detect when a writable stream actually flushed? I'm calling
->end()
on a socket connection and I would like to close the processes after the buffer was flushed, but I see that there is no way to detect the event.
@JustBeYou The stream should emit a close
event once the buffer is flushed and the stream is closed 👍
New RT by @reactphp:
Time to release v1.2.0 of my streaming CSV parser and encoder for @ReactPHP. 🚀
This release features PHP 8.1 support and improves API and documentation for easier usage.
#php81 #OpenSource“Go,check,it,out!\n”
https://github.com/clue/reactphp-csv/releases/tag/v1.2.0
— Christian Lück (@another_clue) 2022-05-13 11:53
New RT by @reactphp:
Why bother with memory limits? 🔥 #async #php
https://framework-x.org/docs/best-practices/deployment/\#memory-limit
— Framework X (@x_framework) 2022-05-13 14:57