Laravel Octane: supercharge your Laravel applications

  Рет қаралды 47,994

Aaron Francis

Aaron Francis

Күн бұрын

Пікірлер
@ederolima
@ederolima 7 ай бұрын
You're one of the best tech content creators out there. I don't even write PHP but I still watch your videos.
@aarondfrancis
@aarondfrancis 7 ай бұрын
That makes me so happy. Thank you!
@Kane0123
@Kane0123 7 ай бұрын
I second this. Still got no interest in PHP but Aaron is always worth listening to - who knows when one of these gems of knowledge will pay off.
@aarondfrancis
@aarondfrancis 7 ай бұрын
Yall are too kind. I appreciate it!
@rafaelhernand3z
@rafaelhernand3z 7 ай бұрын
Aaron++
@JagaSantagostino
@JagaSantagostino 7 ай бұрын
Same here 😅
@GalaxyGazer929
@GalaxyGazer929 7 ай бұрын
1. Got recommended 2. watched your video 3. subscribed
@aarondfrancis
@aarondfrancis 7 ай бұрын
😮‍💨😮‍💨 thank you
@boubaker86
@boubaker86 7 ай бұрын
same here
@driden1987
@driden1987 7 ай бұрын
Aaron, I watched your planetscale MySql videos and I don't use MySql. Now I watch your Laravel videos and I think I only wrote a couple of php lines for Uni like 7 years ago. Looking forward to all your content!
@aarondfrancis
@aarondfrancis 7 ай бұрын
You're the best. Thank you for stopping by!
@GalaxyGazer929
@GalaxyGazer929 7 ай бұрын
​@@aarondfrancis what are planetscale MySql videos? I'm unable to find them on your channel?
@Gornius
@Gornius 7 ай бұрын
@@GalaxyGazer929 They're on planetscale's channel. He used to be a host there.
@nathanbrown2640
@nathanbrown2640 7 ай бұрын
​@@GalaxyGazer929 Aaron did videos for PlanetScale's KZbin channel - they are a company that host MySQL databases in the cloud for you. Aaron has a fantastic ability to explain a problem with both its motivation and beautiful solution. Genuinely found it so helpful for my own MySQL work, even though we don't use PlanetScale. Go look up their KZbin channel for the vids. 😊
@kylclrk
@kylclrk 7 ай бұрын
@@GalaxyGazer929 Aaron used to work for Planetscale, so he has a lot of videos over on their channel.
@brunocmesquita
@brunocmesquita 7 ай бұрын
I know you may hear this a lot, but I watch your content gracefully and am not a PHP developer. Great work! And by the way, I must say that the PHP community has many cool people.
@aarondfrancis
@aarondfrancis 7 ай бұрын
Thank you!
@johnrudolphdrexler
@johnrudolphdrexler 7 ай бұрын
our boy is back
@aarondfrancis
@aarondfrancis 7 ай бұрын
It's our time baby
@umairsaeed5925
@umairsaeed5925 7 ай бұрын
dudeeeeee no wayyyy I was searching for laravel octane just 5 min before this video
@aarondfrancis
@aarondfrancis 7 ай бұрын
I gotchu
@EduAnmoldeep
@EduAnmoldeep 3 ай бұрын
So good content man, I really wonder why not yet hit 500K, under rated channel, deservesss sooo sooo moree!
@tiagocouto9270
@tiagocouto9270 7 ай бұрын
it's because of you Mr Francis... now I'm here trying to understand why I've made the choice that I've made... re-learn laravel and watch mad max's high octanes. One person enters, a wiser one leaves
@mdshamsularefinshad9916
@mdshamsularefinshad9916 Ай бұрын
I am very new to your channel and I immediately fell in love with your content. It is nice, easy and very well explained. Don't stop making videos.
@SimoneFolador
@SimoneFolador 7 ай бұрын
Thanks Aaron! I watched this video with great pleasure. The way you introduce Octane, as well as other arguments, is as always so easy to understand. Well done
@fiskegalendbpk
@fiskegalendbpk 7 ай бұрын
Been using octane on a project since August, and gotta say, it's surprisingly easy to get up and running. Haven't felt the performance yet but I imagine that'll come in handy once it goes live. Also, Octane tables with Swoole rocks!
@wcrb15
@wcrb15 7 ай бұрын
It's so cool that Laravel has this now! Magento/Adobe Commerce just released their new application server that is based on OpenSwoole and has the same idea.
@vishaldinesh
@vishaldinesh 7 ай бұрын
Hey Mr. Dunphy, glad to see you back ❤
@aarondfrancis
@aarondfrancis 7 ай бұрын
At your service 🫡
@mikulcek
@mikulcek 7 ай бұрын
Aaron, thank you for keeping it bright and consistent! Finally, a video that doesn't feel like a strobe light test.
@aarondfrancis
@aarondfrancis 7 ай бұрын
2024 is the year of light mode for me!
@mikulcek
@mikulcek 7 ай бұрын
@aarondfrancis It's tedious to get dark mode right in the browser for simple examples. Matching the IDE theme to the browser background just seems smoother. Maybe I'm just nitpicking, though. Anyway, I love your phoenix moment-it's truly inspirational for all of us grinding away! Your attention to detail, even down to matching themes, showcases your resilience. Keep up the great work; there are many of us rooting for you!
@feelingfun5149
@feelingfun5149 6 ай бұрын
Finally - a concise and clear explanation!
@FarazSamapoor
@FarazSamapoor 7 ай бұрын
It's always a treat watching your educational videos, Aaron. You guys rock!
@languagelearningexperience6814
@languagelearningexperience6814 7 ай бұрын
So happy you're back!!! 🎉
@theblckbird
@theblckbird 7 ай бұрын
lol, the official Laravel Channel is currently doing the same kind of series But anyway, great video! Finally someone who explains this system :]
@aarondfrancis
@aarondfrancis 7 ай бұрын
Haha yeah, I saw that! 🙊
@PhiloDev
@PhiloDev 7 ай бұрын
That intro animation is on point! Amazing quality as always 😎
@tom_zanna
@tom_zanna 7 ай бұрын
I love your videos: well balanced between intuition and technicality
@aarondfrancis
@aarondfrancis 7 ай бұрын
Thank you! I appreciate that a lot
@cowgod77
@cowgod77 7 ай бұрын
So great to have your excellent videos back in my feed!
@bronsoncc
@bronsoncc 7 ай бұрын
good to see you again! looking forward to more
@ComfyCosi
@ComfyCosi 7 ай бұрын
Honey, wake up, the new Aaron Francis content is here
@TheArmanist
@TheArmanist 6 ай бұрын
Very nice video, and great explanation, looking forward to see more videos about octane, especially the process of installing and configuring it on server
@mike-2342
@mike-2342 7 ай бұрын
*aaron fan club long applause* great video!
@himanshuahujaofficial7813
@himanshuahujaofficial7813 7 ай бұрын
As always great content, appreciate all the content you do. We all would love to see some series on databases from basis to becoming expert on databases.
@aarondfrancis
@aarondfrancis 7 ай бұрын
Will do!
@ahmedabdelaal6538
@ahmedabdelaal6538 7 ай бұрын
Laravel Is stateless , With Octane laravel became statefull Great explanation, Thanks you Aaron
@wonderful-p7z
@wonderful-p7z 7 ай бұрын
and this is bad stateless is always better as prevent lots of bugs
@ahmedabdelaal6538
@ahmedabdelaal6538 7 ай бұрын
@@wonderful-p7z it’s about the use-case, we cannot say that in general a lot of frameworks like rails or node are statefull
@jondoe79
@jondoe79 7 ай бұрын
Crash the thumbs up button guys, the man is back!
@hanzofuma
@hanzofuma 7 ай бұрын
All this time, I was taught that php-fpm was made to resolve the issue of creating and killing the PHP process with every request.
@Radiosabines
@Radiosabines 7 ай бұрын
Thank you for sharing Sir, i drink your words !
@after_alec
@after_alec 7 ай бұрын
Wake up babe, Aaron’s back
@aarondfrancis
@aarondfrancis 7 ай бұрын
"babe you gotta stop waking me up to tell me about your internet friends" - alec's partner (probably)
@pmareke
@pmareke 7 ай бұрын
Love it Aaron, congrats!
@gosnooky
@gosnooky 7 ай бұрын
I've always wondered something about PHP - since it has to "boot" the application on each request, does it actually load all the PHP files that are included/required each time or does it cache them somehow with file watching so it recognizes changes to files? PHP seems to run so fast, but I/O operations are expensive.
@aarondfrancis
@aarondfrancis 7 ай бұрын
There is a thing called the OPcache that prevents IO thrashing www.php.net/manual/en/book.opcache.php
@mityukov
@mityukov 7 ай бұрын
Everyone's saying "you should approach writing your code differently with Octane" and I couldn't agree more... But how different exactly? Maybe, a screencast of turning some legacy app into an Octane-grade one with all the nuances explained? 😅
@HamzaAlAzhar
@HamzaAlAzhar 7 ай бұрын
Great content, Aaron!
@n3storm
@n3storm 7 ай бұрын
with octane frankenphp (or any other) multinenancy (subdomain) becomes a nightmare, curiosly it doesn't happen with frankenphp+caddy.
@aarondfrancis
@aarondfrancis 7 ай бұрын
Ah interesting, I haven't tried that.
@ahmad-murery
@ahmad-murery 7 ай бұрын
I wonder how this may affect some of things we usually do in PHP like user authentication/authorization for example. also, what about memory optimization, It's always a tradeoff between make things faster and make it less resource hungry. One must think twice before using Octane or similar tech. Thanks Aaron!
@ooogabooga5111
@ooogabooga5111 Ай бұрын
can it be used for API building? is it better for that too?
@DarylLegion
@DarylLegion 7 ай бұрын
Aaron delivers.
@chrisfidao6727
@chrisfidao6727 7 ай бұрын
Love Octane, especially in containers for reasons more related to logging than anything else 😂
@dadamssg87
@dadamssg87 7 ай бұрын
Hey Chris, how does octane in containers help with logging? Do you know if Log::withContext() works with octane?
@aarondfrancis
@aarondfrancis 7 ай бұрын
I had to watch your video on Nginx + php-fpm to make sure I understood it before I recorded this video
@dadamssg87
@dadamssg87 7 ай бұрын
Hey Chris, how does octane in containers help with logging? Do you know if Log::withContext() works with octane?
@siyabdev
@siyabdev 7 ай бұрын
What about using it in production? and BTW, what package/tool are you using for this `wrk` mock fake requests load stuff?
@aarondfrancis
@aarondfrancis 7 ай бұрын
Yup you can use it in production quite easily! Especially with Forge. You just need to make sure you reload your workers on deploy as mentioned (just like your queue workers)
@RipperLaughs
@RipperLaughs 2 ай бұрын
how can i test this in local porject the "wrk" command not working...is their any package required for installation??
@artisandev1097
@artisandev1097 7 ай бұрын
Wow! Thank you Aaron 🙏
@chrispian
@chrispian 7 ай бұрын
Best explainer of Octane. You're a really good educator. I have a project that I'm working on that will benefit from this greatly. Best to do it now while it's just getting started. Also, sqlite when? ;)
@aarondfrancis
@aarondfrancis 7 ай бұрын
Soon 🤐🤐
@chrispian
@chrispian 7 ай бұрын
@@aarondfrancis I had a feeling you were cooking something up. Looking forward to it. (not actually in a hurry ).🤣
@DanelonNicolas
@DanelonNicolas 7 ай бұрын
super nice! love the way to explain things :D I'll love to see the future of this playlist :D
@Pbertrand_dev
@Pbertrand_dev 7 ай бұрын
High quality video! thanks
@Voltra_
@Voltra_ 6 ай бұрын
Does Octane and/or its driver provide synchronization mechanisms to properly mutate shared state?
@tanzimibthesam5861
@tanzimibthesam5861 7 ай бұрын
wow you are back though I expected a sqlite course. Keep going
@aarondfrancis
@aarondfrancis 7 ай бұрын
Soon!
@BneiAnusim
@BneiAnusim 12 күн бұрын
Can you run octane in Herd?
@errores-me6yu
@errores-me6yu 6 ай бұрын
barryvdh debugbar is very buggy with swoole, because it doesnt clear memory
@armaandhanji2112
@armaandhanji2112 7 ай бұрын
Amazing content. By the way, I might have missed it but why did most of the requests fail on the wrk test for Octane again?
@aarondfrancis
@aarondfrancis 7 ай бұрын
I think they're just 500 errors from load!
@nym49
@nym49 7 ай бұрын
First time I understood what this was doing 👍
@_whatistruth
@_whatistruth 7 ай бұрын
"wrk" alternative for windows?
@aarondfrancis
@aarondfrancis 7 ай бұрын
No clue!
@Leonhart_93
@Leonhart_93 7 ай бұрын
Everyone just shows the default localhost tutorial. I found that it's stupidly obscure to configure in a prod server environment. The default address and port doesn't seem to work, when it set to to https it doesn't like the certificates and so on. After many variations I still couldn't get it to work in prod.
@shad966
@shad966 7 ай бұрын
Thanks a lot Aaron. I just wanted to ask: "How do I host My Laravel app using Octane with FrankenPHP in a production Linux VPS server."
@aarondfrancis
@aarondfrancis 6 ай бұрын
I haven't ever worked with FrankenPHP so I'm not sure. I bet the docs are great
@richardberubedev
@richardberubedev 7 ай бұрын
Me at 6:50 : Why is it not on by default ? Aaron at 7:00 : the question is going to be why would you not use Octane? Moral of the story, wait for the end before asking any question on Aaron videos 😂
@aarondfrancis
@aarondfrancis 6 ай бұрын
Haha whew, glad I answered it!
@idemous
@idemous 2 ай бұрын
per non fare bloccare php o mysql bisogna settare ulimit, sia del sistema operativo che di mysql
@aogunnaike
@aogunnaike 7 ай бұрын
Does that mean there's no need for redis for caching?
@aarondfrancis
@aarondfrancis 7 ай бұрын
Octane cache is strictly stored in memory and is cleared when you roll the worker, which you would on every deploy. So there are some tradeoffs!
@techietoons
@techietoons 7 ай бұрын
How to use it in production?. I am using VPS. I need to do php artisan octane:start, then what. How so i point my domain to this ?. Or do i still needs nginx/apache to catch the request and forward it ?.
@ttng_
@ttng_ 7 ай бұрын
love it! never used php but this is pretty cool considering laravel is being bootstraped on-request
@kirayamato6128
@kirayamato6128 7 ай бұрын
love you Aaron ❤️!
@VibhuthaKumarage
@VibhuthaKumarage 5 ай бұрын
What is that chrome extension you are using?
@KleiverCarrasco
@KleiverCarrasco 7 ай бұрын
Good video, I had a question, with octane, what PHP should be used? TS or NTS?
@aarondfrancis
@aarondfrancis 7 ай бұрын
Sorry I'm not sure what you mean TS or NTS
@KleiverCarrasco
@KleiverCarrasco 7 ай бұрын
@@aarondfrancis oh, i mean php thread safe or non thread safe
@MrZax-kl5si
@MrZax-kl5si 7 ай бұрын
Love your content man
@AirCode7
@AirCode7 7 ай бұрын
missed you dude❤
@aruni-laravel
@aruni-laravel 5 ай бұрын
Missing Swoole Extension. When i do php artisan octane:start How to fix it
@aarondfrancis
@aarondfrancis 5 ай бұрын
You'll have to check the docs
@shavras76
@shavras76 7 ай бұрын
Hi Aaron, how to run Octane in standalone ?
@aarondfrancis
@aarondfrancis 6 ай бұрын
Not sure I understand the question. Sorry!
@karanahlawat9106
@karanahlawat9106 7 ай бұрын
Totally unrelated, but what's that font in your terminal? It looks a bit narrower than your regular JetBrains Mono
@aarondfrancis
@aarondfrancis 7 ай бұрын
I think it is just jetbrains mono!
@karanahlawat9106
@karanahlawat9106 7 ай бұрын
@@aarondfrancis Fair, Macs just render fonts better 😄
@nm6x
@nm6x 7 ай бұрын
I’ll follow you anywhere boss!
@ivanjelenic5627
@ivanjelenic5627 4 ай бұрын
Thanks!
@AmeerHamza-cy6km
@AmeerHamza-cy6km 7 ай бұрын
laravel octane is great until client asks you to put on shared hosting
@aarondfrancis
@aarondfrancis 7 ай бұрын
Ha that does sound painful
@KrishnaChaitanya-jm7eq
@KrishnaChaitanya-jm7eq 7 ай бұрын
Now with octane, do we even need nginx?
@aarondfrancis
@aarondfrancis 7 ай бұрын
In production yeah, you'll want nginx for static assets I think
@razvancomsa2276
@razvancomsa2276 6 ай бұрын
I'd really really like to use this but only for a new green field project ... There's a lot of hidden gotchas that I don't fully understand how it will impact the system and also a third party ecosystem. Octane breaks the default shared nothing architecture imo and it's a bit scary for me. I think the only way is to bite the bullet it and try to fix the issues as they appear in production ...
@johnkarani2477
@johnkarani2477 7 ай бұрын
This is awesome.
@peteremad5228
@peteremad5228 7 ай бұрын
love your videos ♥
@grenadeflicks
@grenadeflicks 7 ай бұрын
Curious to know if you can run different octane applications on the same server. Has anyone tried that? Great video keep them coming
@aarondfrancis
@aarondfrancis 7 ай бұрын
That's interesting! I'm sure it's possible but I haven't tried it
@grenadeflicks
@grenadeflicks 7 ай бұрын
Yeah I have a couple of bare metal servers with forge and I have a couple customers on each I am curious how octane would behave. Might need tweaking.
@JustinJackson
@JustinJackson 7 ай бұрын
This is 🔥
@MundoTecChannel
@MundoTecChannel 7 ай бұрын
i love you Aaron Francis
@zain-adam
@zain-adam 4 ай бұрын
so what's the catch?
@aarondfrancis
@aarondfrancis 4 ай бұрын
I think I cover the catch at the end? You have to code in a slightly different way w.r.t. statics
@zain-adam
@zain-adam 4 ай бұрын
​@@aarondfrancis thanks for the reply but I mean more like measurable catches like minimum RAM is increased or something like that and if it's not at all, well, with all due respect the "code slightly different" might be just a micro catch for a higher purpose. again, thanks in advance.
@professor_ozzy
@professor_ozzy 7 ай бұрын
Lets gooooo!
@justinclarketx
@justinclarketx 7 ай бұрын
Love it! Is there a way we could support you directly? Like Patreon?
@aarondfrancis
@aarondfrancis 7 ай бұрын
You're kind to ask. Nope, just tell your friends!
@yezperdk
@yezperdk 7 ай бұрын
Miss your PlanetScale videos! What happened?
@aarondfrancis
@aarondfrancis 7 ай бұрын
I got laid off!
@ahmad-murery
@ahmad-murery 7 ай бұрын
@@aarondfrancis Better for you Aaron, keep going and never lookback
@yezperdk
@yezperdk 7 ай бұрын
@@aarondfrancis Damn. Sorry to hear that. Best wishes!
@a2zcourse
@a2zcourse 7 ай бұрын
thank you,
@ThePandaGuitar
@ThePandaGuitar 7 ай бұрын
I click like before I watch, and I don't even use PHP
@aarondfrancis
@aarondfrancis 7 ай бұрын
You're a good egg 🫡
@mikethetreeclimber7
@mikethetreeclimber7 7 ай бұрын
Just join the laravel core team already would ya!!
@aarondfrancis
@aarondfrancis 7 ай бұрын
Haha! I just started my own company 🙊
@nodistractionsjustgoandstu1842
@nodistractionsjustgoandstu1842 4 ай бұрын
Make a playlist
@aarondfrancis
@aarondfrancis 4 ай бұрын
Sure, with what on it? Sweet summertime jams or something else? If you want a "what is Laravel" playlist you need only to look at my channel, as that already exists 🤝
@nodistractionsjustgoandstu1842
@nodistractionsjustgoandstu1842 4 ай бұрын
@@aarondfrancis something like get started with Laravel here. a playlist of getting started as a Laravel dev
@deideideidei
@deideideidei 7 ай бұрын
basically no real impact on low user apps like mine? sadge :((
@aarondfrancis
@aarondfrancis 7 ай бұрын
Do not be sadge! Rejoice that you're smart enough to not prematurely optimize. That puts you way ahead of your peers
@deideideidei
@deideideidei 7 ай бұрын
@@aarondfrancis agree! love your content. gonna wait for more!
@ricko13
@ricko13 7 ай бұрын
hey Aaron you look like the adult version of George Little (from the Stuart Little movie)
@aarondfrancis
@aarondfrancis 7 ай бұрын
Haha is this good or bad
@CodingWithTaaxo
@CodingWithTaaxo 7 ай бұрын
is Laravel a thing in 2024?
@aarondfrancis
@aarondfrancis 7 ай бұрын
You have no idea how much of a thing it is in 2024
@saeedvaziry
@saeedvaziry 7 ай бұрын
But let's not forget that the real magic is being done by Swoole, RoadRunner and ...
@aarondfrancis
@aarondfrancis 7 ай бұрын
Of course
@saeedvaziry
@saeedvaziry 7 ай бұрын
@@aarondfrancis btw, great video 💪
@edhahaz
@edhahaz 7 ай бұрын
Oh wow php was doing cold starts before it was cool
@aarondfrancis
@aarondfrancis 7 ай бұрын
We've had it all, for forever!
@rogerochadev
@rogerochadev 7 ай бұрын
great fucking video
@kennedymwenda3357
@kennedymwenda3357 7 ай бұрын
Now you've made me not to learn Python FastAPI
@Healvia
@Healvia 7 ай бұрын
6000 requests, very insane....
@LenWoodward
@LenWoodward 7 ай бұрын
first.
@balodoc
@balodoc 5 ай бұрын
Nah, not for me. What makes Laravel great is it has a lot of first party package and that's the same reason that it makes the worst framework - it's just selfish, I like Symfony more
@aarondfrancis
@aarondfrancis 5 ай бұрын
I don't understand that logic at all but I'm happy you found something you like
@balodoc
@balodoc 5 ай бұрын
@@aarondfrancis don’t worry about the logic, keep posting Laravel vids, that’s where the money is, that’s where market is, great job!
@linuxgeex
@linuxgeex 7 ай бұрын
This series has way too much internal jargon. Thins are referred to using insider knowledge that new users will know nothing about. That's super unhelpful.
@aarondfrancis
@aarondfrancis 7 ай бұрын
This was the first video in the series. Thanks for the feedback
@AtomicPixels
@AtomicPixels 7 ай бұрын
Video intro…until that scribble. 🤢
@aarondfrancis
@aarondfrancis 7 ай бұрын
Hey that's my handwriting
@rafaelhernand3z
@rafaelhernand3z 7 ай бұрын
Miss the SQL content! I only followed Planetscale because of your great work! If you're not part of Planetscale I'll be Unsubscribing 😢
@aarondfrancis
@aarondfrancis 7 ай бұрын
I'll be doing SQL content here!
Laravel Horizon: queue monitoring + configuration
14:54
Aaron Francis
Рет қаралды 21 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 50 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,3 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 7 МЛН
I was too dumb for Laravel. Then they fixed it.
10:33
Theo - t3․gg
Рет қаралды 74 М.
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
Go IS Slower Than PHP | Prime Reacts
5:22
ThePrimeTime
Рет қаралды 85 М.
Laravel vs React
9:40
Aaron Francis
Рет қаралды 64 М.
Laravel Pennant: first-party feature flags
14:21
Aaron Francis
Рет қаралды 19 М.
The secret behind FrankenPHP: Will it revolutionize PHP?
12:40
Chris Fidao
Рет қаралды 43 М.
Laravel's secret weapon: macros (watch me code)
23:46
Aaron Francis
Рет қаралды 24 М.
Make faster outbound requests with Laravel (10x faster, actually)
5:28
Why is Laravel NOT used in Big Development Projects?
11:53
Stefan Mischook
Рет қаралды 183 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,3 МЛН