AndreyHelldar
AndreyHelldar

Andrey Helldar

@AndreyHelldar

Creator of TheDragonCode, Cashbox Laravel and main developer at Laravel-Lang

β€’ β€’ 20 Posts β€’ 27 Views

  • No matching results...
  • Searching...

/ 255

What do you prefer to use Laravel Octane with and why?

- RoadRunner
- FrankenPHP
- PHP Swoole

1 β€’ β€’

218

β€’

Franken I haven't explored yet, unlike RoadRunner. And that was superficial. As far as I understand, Laravel Octane raises several of its processes and each one runs by itself on its own CPU.

By the way, I've read the documentation now and yes, Octane also raises several Workers. By default, their number is equal to the number of CPUs.

But, to talk more in detail, I need to study this topic more. So that's where I'm stopping :)

β€’ β€’

98

β€’

Need to test how many requests per second a custom site can handle? Easy!

For example:

laravel new test --api --n
cd test
composer require pestphp/pest pestphp/pest-plugin-stressless --dev
vendor/bin/pest stress example.com/foo/bar --post='{"page": 2}' --duration=10 --concurrency=16


image

β€’ β€’

66

β€’

A quick and easy way to localize an application is to use the Laravel Lang ecosystem.

laravel-lang.com

β€’ β€’

110

β€’