wyri,
@wyri@haxim.us avatar

New PC who this! Gave the @reactphp #HTTP Hello World a quick benchmark, clocks in at nearly 70K requests per second with 100 concurrent keep alive connections on a single #PHP process:

edorian,
@edorian@phpc.social avatar

@wyri what's your test setup for this?

wyri,
@wyri@haxim.us avatar

@edorian Server: https://github.com/reactphp/http/blob/1.x/examples/51-server-hello-world.php
Client: ab -k -c 100 -n 100000000 SERVER_URL

edorian,
@edorian@phpc.social avatar

@wyri thank you!

wyri,
@wyri@haxim.us avatar

@edorian Any time, it's a rather synthetic benchmark. But because we use it to find performance issues, or things like https://github.com/reactphp/http/issues/514 it provides us with data over time. So running it on my work laptop is almost 3 times as slow as on my brand new desktop. Not a fair comparison since the work laptop is 3 to 5 years old (not sure honestly tho).

edorian,
@edorian@phpc.social avatar

@wyri I was mainly wondering about the tool your using (ab, siehe, jmeter, etc) and if it's keepalive or not.

Not at my gaming PC at the moment but want to compare that as well :)

wyri,
@wyri@haxim.us avatar

@edorian ab is somehow still the easiest to install and use 😅. And keep alive gave us a massive boost more than doubling requests per second when we implemented it IIRC

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