Reduce Memory Consumption & Speed Up Imports - Build Expense Tracker App With PHP 8
HTML-код
- Опубликовано: 5 июн 2024
- In this video, we'll optimize our transaction importer, reducing memory consumption and increasing speed. Learn how to efficiently use Doctrine ORM's flush and clear methods to create a high-performance app.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: / programwithgio
THANK YOU!
🛠️ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - 1.envato.market/c/2937311/298...
LESSON P.24
Starting Source Code - github.com/ggelashvili/expenn...
Ending Source Code - github.com/ggelashvili/expenn...
Course Outline - github.com/ggelashvili/learnp...
Course Playlist - • Learn PHP The Right Wa...
Clockwork - underground.works/clockwork
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
all the videos worth more than gold , I am subscribing to patreon to support Gio
Thank you for supporting 🙏
Look like I need to rewatch 3 or 4 times to consume the information. Honestly, a little bit overwhelming for me who has been learning web development and related technologies for (only) over a year. And also, Thank You, Gio. I've reached this far and I'm going to rewatch the entire playlist again.
That is totally normal, take a break & go back to it. You got this
Hi Gio. Thanks a lot for this. I was able to make my own 1k and 10k samples. It all worked like you said. I'm curious to see the refactor since we had to comment out the addTransaction on the set category and on the set user functions. These optimization techniques are very insightful Gio. You teach things that people hide. Thanks you so much
Happy to hear 🙌💙
Thanks Gio for your efforts. The playlist is going to be more interesting. We are waiting for Laravel playlist with impatience.
Me too, can't wait to finish the series so I can get started on Laravel
Wow this topic! I'm nothing but grateful for this channel mehn! I'll be back when I go through. Thanks Gio
You're welcome 🙌
Great content as always
Thank you
Hi, could you cover multiple file/image upload with some server-side resizing and cropping etc? Basically what lacks is not the uploading, it's the optimization so that they upload fast. Without any special tweak, multi-image upload with ajax is really slow. Would love if that's covered. As always, great great series.
Hey. Thanks for the suggestion, maybe as a separate video in future
@@ProgramWithGio Thanks! This is like a very fundamental use case and I could not find any in PHP or Node community.
Thank you
You're welcome
Thanks
No problem
Transactions create locks on tables, is this a good idea for large apps where the accessibility of data is critical?
Answer is "it depends" :D. You can solve that using different types of locks, optimistic/pessimistic locks, again depending on the data you are trying to access. In most cases its a row-level locking so it locks that specific row so unless you have many concurrent transactions trying to do something with the same row there should be no issues. And if that becomes an issue there is solution for it too, but it again depends on the situation.