NEVER Write This Line Of Code In Production. Seriously

preview_player
Показать описание
In this video I will show how a simple line of code can bring your entire application down and cause Java Heap Space fill up. Yet a lot of beginners do this time and time again.

SELECT * FROM table - What is wrong with code?

#java #springboot3 #debugging

Don't Forget to
===========================================

🙊 Here are the goods for all my videos video 🙊

► Recommended Books
===========================================

► Computer and Monitor
===========================================

► Camera Gear
=============================================

► IDE & Tools I use for coding 💻 🎒
===========================================
- ITerm
- VsCode
- GoLand
- IntelliJ Ultimate
- Sublime

P.S
===========================================

❤️ Thanks for watching
Рекомендации по теме
Комментарии
Автор

Salam aleykoum brother as a backend and DevOps Engineer I love your channel but i specifically loved this video that depicts what we actually do in our day to day job and the entire process from debugging, development, testing and finally deployment.

abbad_
Автор

the person who broke the application did great favor for the junior developers like me to learn and write safe queries in production thanks nelson ❤

ahmedhosny
Автор

Love this, perfect opportunity to show full dev cycle with debugging, code commits and ci/cd pipeline to deployment.

danielkirsch
Автор

I writing own study spring project as a course as well. And definitely saying - you did a grate job. And this is a just a bug in production. Critical, but solved. Nothing more. Thank you for you work!

azimutjava
Автор

Salam bro,
Ramadhan mubarek! as an SDET we always face these kinds of issue when running load tests or automations scripts! thanks for the video and eid mubarek soon inshallah

houssemmhamdi
Автор

lol, you remind me when I was a Superman - design, build and manage server all by myself. It was stressful if something happen and hope boss didn't find it, because so hassle to handle office politics with other. I wonder why you not limit list in first place and don't forget to auto backup database which I often forget and it become really mess when I accidentally clean table record because client said the server is testing but actually production. Btw, welcome to online world. 😀

Ryudith
Автор

I think you might’ve done it as a mistake, but I think it would be good to censor-out the user data, especially their emails, age, and gender - love the contents and keep it up! 🙂

bulogging
Автор

We need more like this recommendation for the production

lts
Автор

I've one question! Earlier we were getting OOM exception because we were creating 120K objects in heap. But what if 1000 users now access your application so everytime 1000 objects will be created. How will heap handle it?

BabbarOP
Автор

I love this. Thanks for sharing a live issue! Might be a good reason to discuss bloom filters or web application firewalls to mitigate these issues beforehand? *e.g., you’ve stopped the crash, but you’re still paying for all of that bad data to be stored by Amazon! Again, thank you for your videos! They’ve been extremely helpful in my journey to learning S.E.

znacly
Автор

How you decide the page size… what if the page meta data grows horizontally? Will again need to reduce the page size?

CryptoKosh
Автор

Nelson, please could you add a Gradle(in place of maven) implementation to your course ?

elvisdorkenoo
Автор

Great video! Important topic to keep in mind for all developers. Anyway do you have a video where you show Elasticbeanstalk Deployments with Docker image? Thanks a lot

AleksandarT
Автор

We did have some kinds of this issues in production because some colleague have Add a lot of FETCH in HQL method

travellershouse
Автор

Salam Bro. Thanks for your inspiring tutorials. I have a question about the platform where your application is deployed? Which service are you using? I just saw Elastic Bean Stalk. Does it also have a sandbox environment? What platform would you recommend to play around with the whole pipeline from development till deployment using container technologies like docker. Thanks in advance.

ferahnuma
Автор

Selamin Aleykum, Hi brother, I think it is also worth to mention that browser has also limited capacity to display.

Other solutions to that can be pagination and ajax call with bulk append. What donyou think?

WalkWithM
Автор

I did not expect a lesson with a slice of the software engineer life. (Jokes aside, nice, humorous video!)

crimsOn
Автор

How about implementing Lazy Loading using Spring.

fazilmes
Автор

hey, thats very cool unit test animation there

AdityoPratama
Автор

oeps i think you missed the where/limit conditions. that will cause a heap space exception for sure. i've seen this aswell. Data engineering is often a missed skillset for pure java devs.

andyvandenberghe