Тёмный

What is Laravel Octane? 

Aaron Francis
Подписаться 38 тыс.
Просмотров 28 тыс.
50% 1

Want to sponsor the channel? Get in touch! aaronfrancis.com/sponsorships
In this video I give you an overview of Laravel Octane, a package that can supercharge your Laravel applications. Subscribe for more videos about the Laravel ecosystem in the coming weeks and months!
Laravel Octane docs: laravel.com/docs/11.x/octane.
Octane for Vapor: blog.laravel.com/vapor-octane...

Кино

Опубликовано:

 

31 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 156   
@Mikagaru444
@Mikagaru444 Месяц назад
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 Месяц назад
That makes me so happy. Thank you!
@Kane0123
@Kane0123 Месяц назад
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 Месяц назад
Yall are too kind. I appreciate it!
@rafaelhernand3z
@rafaelhernand3z Месяц назад
Aaron++
@JagaSantagostino
@JagaSantagostino Месяц назад
Same here 😅
@GalaxyGazer929
@GalaxyGazer929 Месяц назад
1. Got recommended 2. watched your video 3. subscribed
@aarondfrancis
@aarondfrancis Месяц назад
😮‍💨😮‍💨 thank you
@boubaker86
@boubaker86 Месяц назад
same here
@johnrudolphdrexler
@johnrudolphdrexler Месяц назад
our boy is back
@aarondfrancis
@aarondfrancis Месяц назад
It's our time baby
@driden1987
@driden1987 Месяц назад
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 Месяц назад
You're the best. Thank you for stopping by!
@GalaxyGazer929
@GalaxyGazer929 Месяц назад
​@@aarondfrancis what are planetscale MySql videos? I'm unable to find them on your channel?
@Gornius
@Gornius Месяц назад
@@GalaxyGazer929 They're on planetscale's channel. He used to be a host there.
@nathanbrown2640
@nathanbrown2640 Месяц назад
​@@GalaxyGazer929 Aaron did videos for PlanetScale's RU-vid 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 RU-vid channel for the vids. 😊
@kylclrk
@kylclrk Месяц назад
@@GalaxyGazer929 Aaron used to work for Planetscale, so he has a lot of videos over on their channel.
@brunocmesquita
@brunocmesquita Месяц назад
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 Месяц назад
Thank you!
@umairsaeed5925
@umairsaeed5925 Месяц назад
dudeeeeee no wayyyy I was searching for laravel octane just 5 min before this video
@aarondfrancis
@aarondfrancis Месяц назад
I gotchu
@FarazSamapoor
@FarazSamapoor Месяц назад
It's always a treat watching your educational videos, Aaron. You guys rock!
@cowgod77
@cowgod77 Месяц назад
So great to have your excellent videos back in my feed!
@SimoneFolador
@SimoneFolador Месяц назад
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
@languagelearningexperience6814
@languagelearningexperience6814 Месяц назад
So happy you're back!!! 🎉
@PhiloDev
@PhiloDev Месяц назад
That intro animation is on point! Amazing quality as always 😎
@pmareke
@pmareke Месяц назад
Love it Aaron, congrats!
@tiagocouto9270
@tiagocouto9270 Месяц назад
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
@TheArmanist
@TheArmanist 28 дней назад
Very nice video, and great explanation, looking forward to see more videos about octane, especially the process of installing and configuring it on server
@feelingfun5149
@feelingfun5149 25 дней назад
Finally - a concise and clear explanation!
@bronsoncc
@bronsoncc Месяц назад
good to see you again! looking forward to more
@DanelonNicolas
@DanelonNicolas Месяц назад
super nice! love the way to explain things :D I'll love to see the future of this playlist :D
@tom_zanna
@tom_zanna Месяц назад
I love your videos: well balanced between intuition and technicality
@aarondfrancis
@aarondfrancis Месяц назад
Thank you! I appreciate that a lot
@himanshuahujaofficial7813
@himanshuahujaofficial7813 Месяц назад
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 Месяц назад
Will do!
@HamzaAlAzhar
@HamzaAlAzhar Месяц назад
Great content, Aaron!
@Pbertrand_dev
@Pbertrand_dev Месяц назад
High quality video! thanks
@artisandev1097
@artisandev1097 Месяц назад
Wow! Thank you Aaron 🙏
@wcrb15
@wcrb15 Месяц назад
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.
@fiskegalendbpk
@fiskegalendbpk Месяц назад
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!
@mikulcek
@mikulcek Месяц назад
Aaron, thank you for keeping it bright and consistent! Finally, a video that doesn't feel like a strobe light test.
@aarondfrancis
@aarondfrancis Месяц назад
2024 is the year of light mode for me!
@mikulcek
@mikulcek Месяц назад
@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!
@harvenius
@harvenius Месяц назад
*aaron fan club long applause* great video!
@Radiosabines
@Radiosabines Месяц назад
Thank you for sharing Sir, i drink your words !
@MrZax-kl5si
@MrZax-kl5si Месяц назад
Love your content man
@kirayamato6128
@kirayamato6128 Месяц назад
love you Aaron ❤️!
@peteremad5228
@peteremad5228 Месяц назад
love your videos ♥
@vishaldinesh
@vishaldinesh Месяц назад
Hey Mr. Dunphy, glad to see you back ❤
@aarondfrancis
@aarondfrancis Месяц назад
At your service 🫡
@AirCode7
@AirCode7 Месяц назад
missed you dude❤
@DarylLegion
@DarylLegion Месяц назад
Aaron delivers.
@johnkarani2477
@johnkarani2477 Месяц назад
This is awesome.
@gosnooky
@gosnooky Месяц назад
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 Месяц назад
There is a thing called the OPcache that prevents IO thrashing www.php.net/manual/en/book.opcache.php
@nym49
@nym49 Месяц назад
First time I understood what this was doing 👍
@JustinJackson
@JustinJackson Месяц назад
This is 🔥
@chrispian
@chrispian Месяц назад
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 Месяц назад
Soon 🤐🤐
@chrispian
@chrispian Месяц назад
@@aarondfrancis I had a feeling you were cooking something up. Looking forward to it. (not actually in a hurry ).🤣
@theblckbird
@theblckbird Месяц назад
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 Месяц назад
Haha yeah, I saw that! 🙊
@Voltra_
@Voltra_ 7 дней назад
Does Octane and/or its driver provide synchronization mechanisms to properly mutate shared state?
@a2zcourse
@a2zcourse Месяц назад
thank you,
@errores-me6yu
@errores-me6yu 24 дня назад
barryvdh debugbar is very buggy with swoole, because it doesnt clear memory
@hanzofuma
@hanzofuma Месяц назад
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.
@tanzimibthesam5861
@tanzimibthesam5861 Месяц назад
wow you are back though I expected a sqlite course. Keep going
@aarondfrancis
@aarondfrancis Месяц назад
Soon!
@mityukov
@mityukov Месяц назад
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? 😅
@siyabdev
@siyabdev Месяц назад
What about using it in production? and BTW, what package/tool are you using for this `wrk` mock fake requests load stuff?
@aarondfrancis
@aarondfrancis Месяц назад
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)
@ComfyCosi
@ComfyCosi Месяц назад
Honey, wake up, the new Aaron Francis content is here
@techietoons
@techietoons Месяц назад
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 ?.
@chrisfidao6727
@chrisfidao6727 Месяц назад
Love Octane, especially in containers for reasons more related to logging than anything else 😂
@dadamssg87
@dadamssg87 Месяц назад
Hey Chris, how does octane in containers help with logging? Do you know if Log::withContext() works with octane?
@aarondfrancis
@aarondfrancis Месяц назад
I had to watch your video on Nginx + php-fpm to make sure I understood it before I recorded this video
@dadamssg87
@dadamssg87 Месяц назад
Hey Chris, how does octane in containers help with logging? Do you know if Log::withContext() works with octane?
@n3storm
@n3storm Месяц назад
with octane frankenphp (or any other) multinenancy (subdomain) becomes a nightmare, curiosly it doesn't happen with frankenphp+caddy.
@aarondfrancis
@aarondfrancis Месяц назад
Ah interesting, I haven't tried that.
@karanahlawat9106
@karanahlawat9106 Месяц назад
Totally unrelated, but what's that font in your terminal? It looks a bit narrower than your regular JetBrains Mono
@aarondfrancis
@aarondfrancis Месяц назад
I think it is just jetbrains mono!
@karanahlawat9106
@karanahlawat9106 Месяц назад
@@aarondfrancis Fair, Macs just render fonts better 😄
@nm6x
@nm6x Месяц назад
I’ll follow you anywhere boss!
@after_alec
@after_alec Месяц назад
Wake up babe, Aaron’s back
@aarondfrancis
@aarondfrancis Месяц назад
"babe you gotta stop waking me up to tell me about your internet friends" - alec's partner (probably)
@shad966
@shad966 29 дней назад
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 28 дней назад
I haven't ever worked with FrankenPHP so I'm not sure. I bet the docs are great
@ttng_
@ttng_ Месяц назад
love it! never used php but this is pretty cool considering laravel is being bootstraped on-request
@DoctorSoulis
@DoctorSoulis Месяц назад
Lets gooooo!
@ahmedabdelaal6538
@ahmedabdelaal6538 Месяц назад
Laravel Is stateless , With Octane laravel became statefull Great explanation, Thanks you Aaron
@user-qm2uo6ht5l
@user-qm2uo6ht5l Месяц назад
and this is bad stateless is always better as prevent lots of bugs
@ahmedabdelaal6538
@ahmedabdelaal6538 Месяц назад
@@user-qm2uo6ht5l it’s about the use-case, we cannot say that in general a lot of frameworks like rails or node are statefull
@armaandhanji2112
@armaandhanji2112 Месяц назад
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 Месяц назад
I think they're just 500 errors from load!
@KleiverCarrasco
@KleiverCarrasco Месяц назад
Good video, I had a question, with octane, what PHP should be used? TS or NTS?
@aarondfrancis
@aarondfrancis Месяц назад
Sorry I'm not sure what you mean TS or NTS
@KleiverCarrasco
@KleiverCarrasco Месяц назад
@@aarondfrancis oh, i mean php thread safe or non thread safe
@MundoTecChannel
@MundoTecChannel Месяц назад
i love you Aaron Francis
@richardberubedev
@richardberubedev 28 дней назад
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 28 дней назад
Haha whew, glad I answered it!
@Leonhart_93
@Leonhart_93 Месяц назад
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.
@_whatistruth
@_whatistruth Месяц назад
"wrk" alternative for windows?
@aarondfrancis
@aarondfrancis Месяц назад
No clue!
@ahmad-murery
@ahmad-murery Месяц назад
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!
@jondoe79
@jondoe79 Месяц назад
Crash the thumbs up button guys, the man is back!
@shavras76
@shavras76 28 дней назад
Hi Aaron, how to run Octane in standalone ?
@aarondfrancis
@aarondfrancis 28 дней назад
Not sure I understand the question. Sorry!
@aogunnaike
@aogunnaike Месяц назад
Does that mean there's no need for redis for caching?
@aarondfrancis
@aarondfrancis Месяц назад
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!
@grenadeflicks
@grenadeflicks Месяц назад
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 Месяц назад
That's interesting! I'm sure it's possible but I haven't tried it
@grenadeflicks
@grenadeflicks Месяц назад
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.
@KrishnaChaitanya-jm7eq
@KrishnaChaitanya-jm7eq Месяц назад
Now with octane, do we even need nginx?
@aarondfrancis
@aarondfrancis Месяц назад
In production yeah, you'll want nginx for static assets I think
@razvancomsa2276
@razvancomsa2276 26 дней назад
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 ...
@justinclarketx
@justinclarketx Месяц назад
Love it! Is there a way we could support you directly? Like Patreon?
@aarondfrancis
@aarondfrancis Месяц назад
You're kind to ask. Nope, just tell your friends!
@ricko13
@ricko13 Месяц назад
hey Aaron you look like the adult version of George Little (from the Stuart Little movie)
@aarondfrancis
@aarondfrancis Месяц назад
Haha is this good or bad
@yezperdk
@yezperdk Месяц назад
Miss your PlanetScale videos! What happened?
@aarondfrancis
@aarondfrancis Месяц назад
I got laid off!
@ahmad-murery
@ahmad-murery Месяц назад
@@aarondfrancis Better for you Aaron, keep going and never lookback
@yezperdk
@yezperdk Месяц назад
@@aarondfrancis Damn. Sorry to hear that. Best wishes!
@rogerochadev
@rogerochadev Месяц назад
great fucking video
@mikethetreeclimber7
@mikethetreeclimber7 Месяц назад
Just join the laravel core team already would ya!!
@aarondfrancis
@aarondfrancis Месяц назад
Haha! I just started my own company 🙊
@deideideidei
@deideideidei Месяц назад
basically no real impact on low user apps like mine? sadge :((
@aarondfrancis
@aarondfrancis Месяц назад
Do not be sadge! Rejoice that you're smart enough to not prematurely optimize. That puts you way ahead of your peers
@deideideidei
@deideideidei Месяц назад
@@aarondfrancis agree! love your content. gonna wait for more!
@edhahaz
@edhahaz Месяц назад
Oh wow php was doing cold starts before it was cool
@aarondfrancis
@aarondfrancis Месяц назад
We've had it all, for forever!
@ThePandaGuitar
@ThePandaGuitar Месяц назад
I click like before I watch, and I don't even use PHP
@aarondfrancis
@aarondfrancis Месяц назад
You're a good egg 🫡
@AmeerHamza-cy6km
@AmeerHamza-cy6km Месяц назад
laravel octane is great until client asks you to put on shared hosting
@aarondfrancis
@aarondfrancis Месяц назад
Ha that does sound painful
@CodingWithTaaxo
@CodingWithTaaxo Месяц назад
is Laravel a thing in 2024?
@aarondfrancis
@aarondfrancis Месяц назад
You have no idea how much of a thing it is in 2024
@saeedvaziry
@saeedvaziry Месяц назад
But let's not forget that the real magic is being done by Swoole, RoadRunner and ...
@aarondfrancis
@aarondfrancis Месяц назад
Of course
@saeedvaziry
@saeedvaziry Месяц назад
@@aarondfrancis btw, great video 💪
@LenWoodward
@LenWoodward Месяц назад
first.
@zoiobnu
@zoiobnu Месяц назад
I code with python and C# and i'm here watching a video about Laravel, kkkkk
@kennedymwenda3357
@kennedymwenda3357 Месяц назад
Now you've made me not to learn Python FastAPI
@Healvia
@Healvia Месяц назад
6000 requests, very insane....
@linuxgeex
@linuxgeex Месяц назад
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 Месяц назад
This was the first video in the series. Thanks for the feedback
@maskedvillainai
@maskedvillainai Месяц назад
Video intro…until that scribble. 🤢
@aarondfrancis
@aarondfrancis Месяц назад
Hey that's my handwriting
@rafaelhernand3z
@rafaelhernand3z Месяц назад
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 Месяц назад
I'll be doing SQL content here!
Далее
What is Laravel Horizon?
14:54
Просмотров 12 тыс.
Laravel adds a new email provider
11:34
Просмотров 11 тыс.
Big Mouse 😂
00:13
Просмотров 116 тыс.
can you repeat it? #tatyanadiablo ##shorts
00:11
Просмотров 647 тыс.
У каждого есть такой друг😂
00:31
Laravel's secret weapon: macros (watch me code)
23:46
When should you pick Laravel over WordPress?
26:54
Просмотров 3,6 тыс.
Laravel Octane & FrankenPHP 🧟
3:20
Просмотров 16 тыс.
DHH discusses SQLite (and Stoicism)
54:00
Просмотров 30 тыс.
Why is Laravel NOT used in Big Development Projects?
11:53
Laravel + Livewire todo app (and so much more)
16:41
Просмотров 27 тыс.
Top 5 Laravel "Bad Practices" (My Opinion)
10:32
Просмотров 16 тыс.
Let's Have a Dialog about Dialogs!
35:18
Просмотров 4,4 тыс.
Stop Using the Worst Way to Loop Lists in .NET!
9:35
Haydarlar oilasida tug'ilgan kun | Dizayn jamoasi
0:59
Батя и День Рождения друга😀
1:00