mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#ReactPHP

2 Beiträge2 Beteiligte0 Beiträge heute
Cees-Jan Kiewiet :rp: :wm:<p>Currently re-running benchmarks for Bunny to prepare for the first 0.6 alpha/beta. And hot damn, those numbers changed in 10 years. Also running them for php-amqplib to get a fair and proper update. But I'm so hyped for how much those numbers have improved!</p><p><a href="https://toot-toot.wyrihaxim.us/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/amqp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amqp</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/bunny" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bunny</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/reactphp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reactphp</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/RabbitMQ" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RabbitMQ</span></a></p>
Cees-Jan Kiewiet :rp: :wm:<p>Released v1 of wyrihaximus/react-opportunistic-tls for <span class="h-card" translate="no"><a href="https://phpc.social/@reactphp" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>reactphp</span></a></span>: <a href="https://github.com/WyriHaximus/reactphp-opportunistic-tls/releases/tag/1.0.0" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/WyriHaximus/reactph</span><span class="invisible">p-opportunistic-tls/releases/tag/1.0.0</span></a> </p><p><a href="https://toot-toot.wyrihaxim.us/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/ReactPHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReactPHP</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/TLS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TLS</span></a></p>
Cees-Jan Kiewiet :rp: :wm:<p>Alright, next step in my <a href="https://toot-toot.wyrihaxim.us/tags/OTEL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OTEL</span></a> adventure for <span class="h-card" translate="no"><a href="https://phpc.social/@reactphp" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>reactphp</span></a></span> was to add react/cache|dns|socket so I can trace any potential connection issues. Not sure yet what to do next:<br>* Event loop<br>* react/stream<br>* Just add tests to what you have before adding more</p><p><a href="https://toot-toot.wyrihaxim.us/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/ReactPHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReactPHP</span></a></p>
Cees-Jan Kiewiet :rp: :wm:<p>Score! Managed to hook the cluster at home up to <a href="https://toot-toot.wyrihaxim.us/tags/Grafana" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Grafana</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/cloud" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cloud</span></a> over <a href="https://toot-toot.wyrihaxim.us/tags/OTLP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OTLP</span></a> for shipping <a href="https://toot-toot.wyrihaxim.us/tags/traces" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>traces</span></a> 🎉 . Next up:<br>* Figure out how to do a better presentation in Grafana<br>* Optimize OTEL collection deployment, work out all the issues etc</p><p>Then the real fun begins. As I have two WIP packages to bring out:<br>* One for <span class="h-card" translate="no"><a href="https://phpc.social/@reactphp" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>reactphp</span></a></span> 's filesystem<br>* And one for Bunny</p><p>Both of those need to be refined, but with Shawn Maddock's (<a href="https://github.com/smaddock" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/smaddock</span><span class="invisible"></span></a>) initial push in this direction and help </p><p><a href="https://toot-toot.wyrihaxim.us/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a> <a href="https://toot-toot.wyrihaxim.us/tags/reactphp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reactphp</span></a></p>
Cees-Jan Kiewiet :rp: :wm:<p>Getting close to running my first <span class="h-card" translate="no"><a href="https://phpc.social/@reactphp" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>reactphp</span></a></span> service with <a href="https://toot-toot.wyrihaxim.us/tags/OTEL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OTEL</span></a> traces. Write the first PoC instrumentation for Bunny and <a href="https://toot-toot.wyrihaxim.us/tags/ReactPHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReactPHP</span></a>'s <a href="https://toot-toot.wyrihaxim.us/tags/Filesystem" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Filesystem</span></a>. (Since all this service does is put files on S3.) Once this works, I'll be make sure all of this lands in packages one way or the other:</p><p><a href="https://toot-toot.wyrihaxim.us/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a></p>

Success! Build a high performance scalable #AWS #S3 file uploader in #PHP using #ReactPHP for the next versions of the wyrimaps.net/wow/ map tiles. It only does error files for the CDN. So hitting it now will always show the same image, whatever URL you use. But next up are nearly half a million images. Step after that is to build a UI that lets me select the parts of the map to upload and ignore the rest.

I finally managed to build an FTP-Server on top of @reactphp! Thanks @wyri for your help and nudging me into the right direction!

It's not (yet) fully supporting all FTP-commands but the main brickwork is laid and it works for my use-case.

If you are interested: Find the package at packagist.org/packages/stella-

packagist.orgstella-maris/ftpforwarder - PackagistForward FTP-transmitted files to a custom data-backend

Question for the ReactPHP-cracks here:

I opened a TCPServer on Port 12001. there'S a 'connection' and a 'data' event handler. When I connect to the port the `connection` one get's triggered. But whatever I send over the wire, the 'data'. handler is never triggered...

What am I doing wrong or what do I need to take care of?

Added complexity: ReactPHP runs inside a container (port is published and seems to be open as I can send data to it...

And hint (to channel?) appreciated...