buzz,
@buzz@lemmy.world avatar

I use swoole on a huge monetized US site. I’ve used the mezzio framework with openswoole, but unfortunately the integration with various swoole features is just not there in mezzio. So I had to backport some hyperf components which is something I would rather not do.

these days I would use hyperf for all of my PHP projects going forward if I cannot migrate them away from PHP, roadrunner would be in the second place.

erdemkose,

You can really get a huge performance gain (+10x) with Swoole or any other event loop. The problem is that they require a different approach in your code and you cannot easily rely on 3rd party libraries anymore. You need to make sure that your app does not have memory leak, and can handle concurrent requests.

If I were to create a new app in PHP, I would definitely consider ReactPHP, Swoole, OpenSwoole, Roadrunner or the latest player FrankenPHP.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php@lemmy.world
  • tacticalgear
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Durango
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • khanakhh
  • osvaldo12
  • kavyap
  • cubers
  • anitta
  • everett
  • Leos
  • tester
  • mdbf
  • ngwrru68w68
  • ethstaker
  • modclub
  • megavids
  • provamag3
  • cisconetworking
  • normalnudes
  • JUstTest
  • lostlight
  • All magazines