Eeeeh PHP is almost always run using a process manager which is waaay faster than the built in server. There are many ways to run PHP, but the built in development server maybe shouldn't be given the expectation of high performance 😂
@destroyer1233Күн бұрын
When the user requests a ride, does your app show the distance between the destination and where they are at the time of the ride request?
@samandar_shinnazarovКүн бұрын
Hi
@MurderByProxyКүн бұрын
should've doge nginx cgi as well
@lonnybulldozer8426Күн бұрын
Thanks KZfaq, for yet another tiny hat recommendation. Not biased, at all.
@js3122 күн бұрын
which editor are u using?
@mdmahmudulhasan64483 күн бұрын
Thank you so much for this video!
@ezralazuardy3 күн бұрын
yes, but swoole have some limitation due to probability of memory leaks. and dont even compare to node or rust when comes to a prod deployment, php is godd*mn resource and cost itensive.
@ezralazuardy3 күн бұрын
tldr, php still slow.
@gessegoncalves64934 күн бұрын
PHP is about 10x faster than python, and of course you have to configure apache/ngnix correctly, the php production server is just for testing in development
@merovingen45465 күн бұрын
hell of comparison, I would even say "bullshit" )))
@RichardTMiles5 күн бұрын
Php fpm wut… I benched php but used it wrong
@tirthbhanderi93285 күн бұрын
meanwhile laravel devs
@turesoul6 күн бұрын
So basically you are not using php as intended here, yes it's valid but swolle will create multiple process for you app, so you are not comparing the same execution runtime as you are running still one process per node or go. If we are going that way please run node and go behind a similar load balancer so multiprocess comes into action.
@luzaw49576 күн бұрын
Believe me, I build a shopping site using PHP + Laravel + Posgres with a premium (good) hosting, it's even 10x slower than the one I build with NextJS + Sanity + Netlify which is completely free. Lol
At the end of the day, it's about the ROI. Speed is great, but if it's not impacting the ROI enough, and its cheaper to just throw hardware at it - many companies will do that instead.
@HimanshuSharma-sd5gk6 күн бұрын
php-fpm is designed to overcome this. why dont we use it and call it a day.
@HoSza16 күн бұрын
Bro forgot to compare C. 😂
@enkss12326 күн бұрын
Very misleading video. Never once seen php built-in server used anywhere, it is just a tool.
@demogyani24196 күн бұрын
Problem is json_encode and json_decode functions
@cbbcbb68037 күн бұрын
If other languages can declare variables without using the dollar sign, why can't php? Is it just obstinacy?
@drjavab6137 күн бұрын
But! Openswoole and roadrunner are not web standards
@EddieMao8 күн бұрын
proves swoole is so fast?
@savire.ergheiz9 күн бұрын
Yea until you get to weird swoole specific implementations and spending more time fixing it rather than focusing on building the product 😅 It never goes nowhere that swoole stuff mainly because of that.
@einfacherkerl32799 күн бұрын
when you were typing commands at the bottom of the screen, i just want to tell you. I could still see them, next time to be sure to hide whatever you are typing because people might learn what you are typing.
@JeremyAndersonBoise9 күн бұрын
CEO of HTMX here, and I approve this short.
@manishgautam24249 күн бұрын
what about rust
@DanjorSchertau9 күн бұрын
I still think react is less complicated than this in terms of developer experience which for most modern applications is all that you need to worry about.
@navanshu10 күн бұрын
Different port is same domain not different
@tukurhamid10 күн бұрын
Thank you very much, this was helpful
@saidjonrko10 күн бұрын
I've tested many times . Yeha its 2.5 times faster than python and nodejs. But go is faster than swoole itself for 30 percent
@old-barn11 күн бұрын
But you have loaded ALL the data in the client browser. Wouldn't you use a selector to show/hide relevant rows? I feel like the concept behind the video is great (no need to add needless frameworks etc) but you don't need to complicate it either. Granted, this is a simplistic problem demonstrated, but I think you should cover even the most simplistic options as they may well be appropriate in a large numberof cases. Remember, KISS 🙂
@TimurSevimli11 күн бұрын
the express isn't node!
@PaweMateuszBytner11 күн бұрын
Client-side framework bloat is an issue, but dude, for the data I already loaded to be sorted or filtered I don't need or want to download it again. Making an offline frameworkless sorting and filtering table is somewhere around lesson 2 of JS course though.
@xxxzeranxxx11 күн бұрын
PHP's local server is for testing purpose only, it's not used in production, thats why it so slow try to use reactphp web server istead and you will be surprised
@V8Li12 күн бұрын
cURL is non-blocking
@TheGajos12 күн бұрын
And most third party packages are not Swoole ready anyway
@ercanyilmaz810812 күн бұрын
🤡
@leonardosilva_dev12 күн бұрын
I love PHP, I even got it tattooed but I don't know if this comparinsing is fair.
@karlstein957213 күн бұрын
Just to say that express is not the node native way to do this, and not even the fastest one.. And well "the exact same script", let me laugh...
@klovvin13 күн бұрын
OK grandma let's get you to bed 🙂
@ScrotoTBaggins14 күн бұрын
HATEOAS 🤩
@byailen15 күн бұрын
Please also bench resource usages between them scaled to request count 🎉
@byailen15 күн бұрын
Please also bench resource usages between them scaled to request count 🎉
@erickmoya140115 күн бұрын
Who cares. Is ugly.
@Spar10YT16 күн бұрын
Hi i like this video very nicely explain ❤❤ thanks 👍
@shaz3e16 күн бұрын
Short, quick, easy, to the point, Great one
@vitusyu958317 күн бұрын
But seems you have missed out the part of the DNS resolution required to enable the browser to resolve the URL. or, I have missed something you did mention? Thx!
@givensur498217 күн бұрын
PHP is the best programming language in the world. … Please allow me to use node.js