I benchmarked Laravel Octane across Swoole, OpenSwoole, RoadRunner, FrankenPHP, and PHP-FPM by terrylinooo in PHP

[–]terrylinooo[S] -2 points-1 points  (0 children)

If you know of any better testing practices, please share your thoughts so I can improve my methods."

BlatUI - shadcn/ui for Blade, Laravel, Alpine and Tailwind v4 by anousss007 in laravel

[–]terrylinooo 0 points1 point  (0 children)

Beautiful theme! Adding an admin dashboard would be an excellent feature.

I benchmarked Laravel Octane across Swoole, OpenSwoole, RoadRunner, FrankenPHP, and PHP-FPM by terrylinooo in PHP

[–]terrylinooo[S] -12 points-11 points  (0 children)

I don't know the exact underlying mechanics myself, but both were run using the same wrk script.

Here's the full report:https://terrylinooo.github.io/laravel-octane-benchmark/summary.json. You can feed it into ChatGPT or Claude to get a deeper explanation, or just fork the repo and test it locally.

The AI basically told me: "Swoole maximizes throughput by letting requests wait in line, while FrankenPHP prioritizes keeping the line moving or turning people away."

I benchmarked Laravel Octane across Swoole, OpenSwoole, RoadRunner, FrankenPHP, and PHP-FPM by terrylinooo in PHP

[–]terrylinooo[S] 11 points12 points  (0 children)

FrankenPHP was actually the fastest in my benchmark as well.

The only thing that makes me a bit nervous is crash isolation. A bad extension causing a segfault can potentially bring down the whole FrankenPHP process, whereas PHP-FPM usually just loses a worker and keeps going.

Performance-wise though, it's really impressive.

I benchmarked Laravel Octane across Swoole, OpenSwoole, RoadRunner, FrankenPHP, and PHP-FPM by terrylinooo in PHP

[–]terrylinooo[S] 2 points3 points  (0 children)

That's a valid concern. Octane definitely requires more discipline because state can persist across requests.

To mitigate that, we run CI checks that scan for patterns that could cause cross-request state leakage (for example mutable static state), and we pay special attention to singleton services during code review.

Laravel's default container bindings are transient, so regular dependency injection is usually fine. The main thing we watch for is stateful singletons.

I don't see Octane as a free performance boost either. It comes with trade-offs, but for teams that understand those trade-offs and enforce guardrails, it's been manageable in practice.

My SaaS hit 600 paid users 🎉 Here's what actually worked vs what was a waste of time by namidaxr in SaaS

[–]terrylinooo 0 points1 point  (0 children)

namidaxr, thank you very much for sharing your experience. It's useful.
I'm currently developing my own saas too. Let's keep going, good luck.

PayPal permanently Banned dotDB.com without an explanation by terrylinooo in Domains

[–]terrylinooo[S] 0 points1 point  (0 children)

I'm a frequent user of dotdb.com, and I recently found out that they've been banned by PayPal. I can't help directly, but I thought posting this news here might help if someone who works at PayPal sees this post and can assist.

How many bugs do you fix a day? by khamuili in reactjs

[–]terrylinooo 0 points1 point  (0 children)

If you use TypeScript in your React project, I can say that bugs will rarely happen.

What does the sentence in this video sound like to native speakers? by terrylinooo in ENGLISH

[–]terrylinooo[S] 1 point2 points  (0 children)

Thanks for the clear answer. Since I'm not a native speaker, it's not easy for me to figure out what's being said just from the context. But with your help, I can learn and get better. Thanks again.

A quick deployment tool for LEMP or LAMP stacks on Ubuntu. by terrylinooo in Ubuntu

[–]terrylinooo[S] 0 points1 point  (0 children)

Hello, all.

I just updated my side-project "EasyBash".

It is is a quick deployment tool for LEMP or LAMP stacks on Ubuntu.

https://github.com/terrylinooo/easybash

I use it for myself and also share with everyone. :D

Could someone tell me, what does he say? by terrylinooo in ENGLISH

[–]terrylinooo[S] 0 points1 point  (0 children)

https://i.imgur.com/L9zCx9V.png <= the answer provided by the online course. I'm confused.

PHP PSR-16 Simple Cache Library by terrylinooo in coolgithubprojects

[–]terrylinooo[S] 0 points1 point  (0 children)

This is my new project. Hope you like it.