Not a JAVA Dev but the topic of multithreading always made curious, never found so detailed explanation anywhere on YT. The way you explained thread class, object locks & sync was next level.
@rite2riddhi Жыл бұрын
Thank you
@aaronbruckner Жыл бұрын
Very solid work dude. Thanks for taking the time to go over all this. As a 10 year node dev at a big tech company, this was a great java primer. Covering executors would be awesome.
@AyushSingh-hc3pj15 күн бұрын
sir can u please give me refereal as a frontend developer
@cosmoky_192 ай бұрын
This is the best video ever created on you tube for multi-threading. I would really be thankful if you will continue making such videos for advanced java concepts in such a detailed way. Thank you once again!!! Also a request to please make videos on all the design patterns in java and advanced multi-threading concepts.
@jiteshsinghvi4644 ай бұрын
I have an interview coming up regarding concurrency. This stuff was really helpful! Well explained, great job!
@prajaktawalhekar46932 ай бұрын
This video is too good a lot of cases are covered related to multithreading ... Thank you
@harshinredzone Жыл бұрын
Bro, I appeared for an interview where a lot of questions I would have answered if I had watched this video. Thanks for fabulous content.
@vellacreatorАй бұрын
Please please please keep posting such in depth vedios, if you are busy just post one in a month, will be extremely thankful❤❤❤
@jayjoshi136610 ай бұрын
Really appreciated and grateful to get such a content on Multi threading. Please get some more content on Executor framework, Thread schedulers, Thread pooling, various locking mechanisms, etc. Also it would be good if you show some differences between sleep and wait method, start and run method which will imprint all the concepts well in the mind. Thanks a lot again !!
@jairaj55462 ай бұрын
OMG! Such a great video. Keep posting videos on advanced concepts of java
@Anilkumar-reddy Жыл бұрын
Take a bow for his explanation. Thanks you so much sir. I never seen a person explaining the MultiThreading concepts in these way. Thanks. Please make a video for java 8 also. Thanks
@rite2riddhi Жыл бұрын
Thanks anil. Yes next video on Lambdas.
@user-zw1pd8rm6e Жыл бұрын
currently learning c++ with dsa in 1 year will learn java through this video in my 2 year .
@kunalkale8000 Жыл бұрын
Great Explanation for such a tricky topic. Thank you for such Detailed Content..!
@snehomoymaitra9317 Жыл бұрын
Finally, the wait is over...thanks for coming up with the multi threading course
@rite2riddhi Жыл бұрын
More to come!
@shiva4shivendra11 ай бұрын
Thanks for explaining this complex concept in such an easy way
@vshlmlvliveit11 ай бұрын
A very good detailed video you can watch to start..👏🏻
@sadvikgowda64743 ай бұрын
Thanks for this Riddhi. Really this better than Udemy courses.
@megistone Жыл бұрын
Riddhi Dutta, very very BIG THANKS!
@RakhiSehrawat-o8pАй бұрын
I never comment..... but this deserves all the appreciation..... kudos to you Ridhhi..... keep posting such content 🔥🔥
@rite2riddhiАй бұрын
@@RakhiSehrawat-o8p thanks man
@artilamba15 ай бұрын
The best way ,multithreading is explained
@ganeshbagade7028 Жыл бұрын
You are so talented but if this course is in Hindi it will be helpful to learn fastly. Thank you for your efforts 🙏
@gunjankumar72105 ай бұрын
Hi Riddhi, can you please tell me how do we synchronize a static and an instance method by same lock object?
@ramyasruthi53725 ай бұрын
Thanks Man! This is Gold!
@cool_boi_nikki3 ай бұрын
Nice video. The personification of the thread (he or she) is crazy man 😂😂
@Amit-fn7bw2 ай бұрын
great explanation sir thank you
@SantoshKumar-bu2qr9 ай бұрын
This is an overview you will get much more understanding after reading about mutex, thread monitor and monitor wait queue
@kashishsharma6809 Жыл бұрын
Really thanks a lot, Riddhi! Waiting for more java videos.
@namanpandey67256 ай бұрын
You said thread class has an object of Runnable interface but we can not create objects of interfaces, right?
@rajnisrivastav22697 ай бұрын
Well explained and easy to grasp.
@rhythmvarshney9483 Жыл бұрын
At 01:31:32, what if we have Thread.sleep(1000) just before the poll? In this case, adder 2 will get the lock, and may execute the remove first. While after 1s, thread1 will try to poll again
@supriyamanna715 Жыл бұрын
Great content with awesome thumbnail
@rite2riddhi Жыл бұрын
Thanks 😅
@nikcsm Жыл бұрын
AMAZING EXPLANATIONS BUDDY , AMAZING :)
@rite2riddhi Жыл бұрын
Thank you
@vinaykaushikinvisble Жыл бұрын
Great content, salute for your efforts, please make videos on Lock interfaces as well.
@rite2riddhi Жыл бұрын
Thank you
@infiseem Жыл бұрын
Hey Riddhi, thank you so much for the detailed explanation. Can you please provide these slides as well. It will prove to a very helpful for revision later.
@sahilgandhi9156 Жыл бұрын
Wonderful, Thanks Ridhi
@shaktirajput47118 ай бұрын
Thank you for such awesome videos🤓
@yadneshkhode3091 Жыл бұрын
Please keep making such videos later on also make a video on how to use IDE intellij or eclipse how to add jar files / connect to github etc and other stuff 1 video to cover everything that you do on day to day basis using IDE @rite2riddhi
@himanshutripathi50434 ай бұрын
Thanks, brother !! 😚
@kirankutte7073 Жыл бұрын
Hey Riddhi, the video lecture is simply awesome. But i have one doubt to ask that its told that start() will call run(), but when we see the Thread class, under the start(), there is no run(). Requesting you Clear this doubt where am i thinking wrong.Thanks in advance! @Riddhi Dutta
@arunkumar-jp9te6 ай бұрын
Awesome content sir.
@supun_sandaruwan7 ай бұрын
Great video Thank you sir
@hermonabraham8285 Жыл бұрын
Thank you so much Dear
@bhaskarsharan4280 Жыл бұрын
1:31:00, why would the adder2 again go to the while loop condition? ideally it should wake and resume from the same state. also let's say there is n level nesting of while loop and this thread is anywhere in some n-mth level, so after waking it will start checking from starting conditions, be it while or if block?
@daniyarchapagan2543 Жыл бұрын
Thought about the same problem. Just remember that when you exit the while loop you should check the condition one last time. basically when the adder is notified and stops waiting it goes to the end of the while block and then it should check the condition again in case it is true. if there was only if block it would not check because it is not a loop
@ajayjayswal9139 Жыл бұрын
Thank you nice Containt, sir. Where I find PPT and Github code for More Practice.
@girishanker3796 Жыл бұрын
Gold content
@queenie_786 Жыл бұрын
Waiting for microservices as well 💯
@SejalMah.-gr3hh Жыл бұрын
Do you have the textual content for the same?
@Mig4409 ай бұрын
What about newer apis such as structured task scope? That should be easier with virtual threads 😂
@sarkandawale2 ай бұрын
Why to go iit if youtube is free 😂😂
@sahilkhan_cs50 Жыл бұрын
Excellent
@sg0204 Жыл бұрын
From being a gangster at Mirzapur to teaching Java, Munna Bhaiya has came a long way!!!
@skt708810 ай бұрын
Which ide u r using?
@sarwarishupadhyay8773 Жыл бұрын
Hey Riddhi vai, can you upload your full code repo in some github link, so that i can clone and run it on my local pc, and vai can you also tell us like which of thses things did you use while coding at work, like how much of thses things are relevant in case you used java as backend.. thanks a lot for this video..
@harshinredzone Жыл бұрын
Bhai, aapne kahan join kiya? Kya ye time thik hai switch karne ka?
@megistone Жыл бұрын
NICE!!!!!!!!!!!
@ravidubey8272 Жыл бұрын
Bhai Maine graduation m ba kiya h kya m java seekh sakta ho job milegi kya reply pleac
@sridharshree3034 Жыл бұрын
Operating systems for sde Interviews.
@sridharshree3034 Жыл бұрын
yup u mentioned in last.. thank you
@rite2riddhi Жыл бұрын
Few advanced things like Executor Framework , Thread Pool , Atomic Integers would cover in a separate video later.(depends on this video's engagement)
@udhayasankar113 Жыл бұрын
Pls cover these topics as well...also streams
@Dragonmx11 Жыл бұрын
Please do , must do
@techdemy4050 Жыл бұрын
@Riddhi Dutta Pls cover advance topic also I really loved this content.
@chinmaypingle4770 Жыл бұрын
Pls make the next video for advanced concepts
@sayankarmakar13 Жыл бұрын
please make videos on these
@rite2riddhi Жыл бұрын
Lambdas Next. :)
@subhasishhalder7018 Жыл бұрын
Greatt
@yadneshkhode3091 Жыл бұрын
@yadneshkhode3091 0 seconds ago Please keep making such videos later on also make a video on how to use IDE intellij or eclipse how to add jar files / connect to github etc and other stuff 1 video to cover everything that you do on day to day basis using IDE @rite2riddhi
@sahilshirodkar3078 Жыл бұрын
I really loved the way you taught these concepts. Please keep coming up with such mini-courses that can help us crack SDE1 Java backend roles. Also, please consider making a video on reactive programming (spring boot web flux) in Java in the future.❤️💯
@rite2riddhi Жыл бұрын
Thank you. Will do.
@Khushi-xw6ie Жыл бұрын
+1
@nawid315 ай бұрын
Hello Riddhi, Greetings form Germany. I have an exam at my university in a few days and this was the most helpful video I could find about this topic. Great work, keep it up! I would really like to see these kind of videos for the topics Generics/Wildcards and Sockets/Streams aswell.
@wilhelmmeyer8910 ай бұрын
This is good. 2 hours with most helpful information. You talk fast. If you wouldn't have talked fast, then I would have increased the speed. This is systematic. The examples are not too simple and you you cover the topic nay you go deeper into it by expalining JVM mechanisms. You know your stuff. This is really helpful for many Java developers. I haven't found such well done videos about threads on Oracle pages or anywhere else. Thank you.
@HardikPatelhardsome Жыл бұрын
Awesome, concept cleared here! After 7 years of reading multithreading here and there. Big Thanks Bro!
@sridharshree3034 Жыл бұрын
How you are speaking that much faster.. and explaining without confusing, You have sound knowledge on those concepts definitely. Thanks for tutorial.. I am learning this concept from you.. Multithreading and speaking skills🤣
@ankitchatterjee11476 ай бұрын
and im watching the video x2
@alexaslaan16706 күн бұрын
@@ankitchatterjee1147same 😂
@sethunagakarthikm402211 ай бұрын
24:33 you were setting the thread1.daemon as true so once the main thread completed his executing the daemon should not run isn't it?
@ayushrai6699 Жыл бұрын
Need a advanced multithreading video too. This was too good🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@casbox26678 ай бұрын
Basically the content of three lectures explained in one. Thanks mate!
@anaysarkar7 Жыл бұрын
@RiddhiDutta DOUBT: at 1:28:13 timestamp As you told there are 2 threads waiting on line 24 , but the code is inside synchronized block how can there be 2 threads inside of a synchronized block ? Am I missing something?
@umanathjha59274 ай бұрын
If thread 1 goes into waiting state, it would release the lock which then can be acquired by thread2.
@Harsh-jc2bz11 күн бұрын
i have a question, in Producer Consumer Probelm 1:26:00 what if thread is never get notified , in case where we have to add 10 element and have to remove only 3 element with capacity 5 , in that case how thread will get notified......thread tph hamesha k liye wait karta rahaiga
@zod1ack_csgo_clips4255 ай бұрын
I have one doubt. The entire premise of synchronisation is mutual exclusion. In the blocking queue example, while the thread has lock and is in critical section, we are aborting it (wait). And then another thread is allowed to enter critical section. Doesn't this violate the basic principle ?
@ankitakumari97083 ай бұрын
Hi Riddhi I have one doubt : When you did setDaemon(true) for thread1 In that case also It printed "main is starting" "main is exiting" and then 1 to 5 Why did the thread executed even if the main thread was done executing ?
@vellacreatorАй бұрын
No words can describe how grateful we are, thank you for putting out such valuable content which is offered by many Institute at hefty price of 50k+
@ytagarwal73 ай бұрын
As a newbie to this topic I can't tell how well the video is, but indeed it will be really helpful in understanding it deeply since the knowledge and effort you put is 5/5. Thanks
@shreyashchavan6120 Жыл бұрын
Thank for starting the series on Java. Looking forward to many more videos from you ☺️
@soumavabanerjee5925 Жыл бұрын
Completed the entire video last night. Will watch it a few more times to clear up some of the concepts. Crystal clear explanations!
@rite2riddhi Жыл бұрын
🥺🙏
@Asus8772 ай бұрын
i have one doubt--> if we create synchronized block of code now two threads simultaneously came as you said in java every thread has lock now which thread will get inside ? and based on what ? is there any priority for that too ????? please answer
@abhishekjha9905 Жыл бұрын
I have learned java tutorials earlier from various sources but the way riddhi bhaiya explained is magnificent🔥 top notch content and i've learned multithreading earlier but i'm unknown about lot of internal workings of java concepts.Thanks Bhaiya for making these quality contents yield() such contents regularly😅 .
@harshdhuppar1681Ай бұрын
Sir, it's the best video I found on KZbin covering this concept in great details. I used to fear of this topic whenever I see it or need to use it in my project. I would request to make more such videos please covering this depth. If you want we can recommend you some topics too of whose quality videos are yet not available you can make on them. Your videos help a lot of freshers like me who are just placed / going to be placed in this industry. Hope you will read this & cosider my & everyone's request. I can only say the impact of this video & such type of videos is immense in life of someone.
@jasper501610 ай бұрын
Just one question, I have knowledge of ExecutorService and CompletableFutures. Do I still need to learn these topics? Or ExecutorService take care of it behind the scenes
@indranilchakraborty594910 ай бұрын
dada ami service based theke jodi product e jump korte chai then java backend development ki compulsory? na MERN stack is good to go along with DSA and Design??
@zoricamaneva33527 ай бұрын
Thanks for your video, you're expaling well, but too much talking unnecessarily. The video is too long, many many times repeating same words.
@thomaspandey36612 ай бұрын
Kindly add the reason, why it will give exception when we do thread.start() twice or more on the same thread. give a concrete explanation because in interview they have asked the same thing.
@nani2574 Жыл бұрын
tbh, nothing much delivered in this video. There are lot of topics of multithreading left behind. No one becomes zero to hero watching this video. Some parts of the video you looked like a kid reading out loud trying to memorize the topics just learned for an upcoming exam. We can make it out that you don't have experience with the topic or the industry to deliver information on such a sensitive topic. Just my feedback for you so that you can improve. Still a good video for beginners and a refereshment on basics of multithreading.
@TheSakthibalan7 ай бұрын
Great :) I learned many basic things related to threading clearly, 1) mainly object locking- how it works - common object lock across functions will block all those functions for other threads 2) static method lock 3) use of lambda to create runnable Impl ()-> {} 4) why to use While loop in threading instead of if - when used with wait, notify 5) Internal Impl high level details of Thread and Runnable class 6) Deadlock simple example program 7) synchronized method vs block- difference and how lock works in them 8) and some more like functions wait, notify, notifyAll, join, sleep, thread states Please consider to make advanced threading concepts Part 2 video, Part 3 video You can also share the code you used for Demo purpose during this video
@karanchaudhary3850 Жыл бұрын
make a viedo on OPPS , SPRING , Spring Core , Spring boot microservices , how two microservices connect , REST API
@anmolverma075 Жыл бұрын
Hello Bhaiya! Can you tell me what is the use of Concurrency and Multi threading and where will I find the use case of it? Also , can you make a video on Android Development in 2023 , through Java/Kotlin? It will be helpful for many , I'm in my 3rd sem and in my 4th sem I look forward to deep dive in Android Dev.
@shashankpandey3743 ай бұрын
in 24:21 the demon thread still got executed is just becz after main thread get executed it check for other user thread and while he was checking is there is any user thread is running or not , demon got executed.
@JayShah_._._2 ай бұрын
Also had a doubt in singleton we do make it volatile but we also double check null so we should be okay with not using volatile ?
@GanaviN-f1o2 ай бұрын
bro , pls do executorservice, callable future as next video. waiting for ur other concurrency video
@sandrasuresh59263 ай бұрын
Thanks for the video ,but why do we use both synchronised and volatile keyword in singleton class
@jasuyadav2511 Жыл бұрын
Error:- bro you content is super but as you talking speed is very fast so for has become Confusing to understand
@AkshatMehra-l4b2 ай бұрын
Bro you are dope !! Thank you so much for all this learning. Grateful 🙏🏼
@SomeshSingh-ug6ns Жыл бұрын
Bhaiya spring boot project banaiye jisme microservice rest api sab kuch cover ho jaye Thank you
@AmanKumar-mu9im Жыл бұрын
Bhai yaar hindi me phadya karo yaar
@VishakhaSharma-pn5gs5 ай бұрын
How while solves the problem and not if-- for the producer, consumer problem
@keshavdeosharma72228 ай бұрын
nice video. Which resources did you go through to have a indepth knowledge of the topic?
@kacperaszkieowicz466 Жыл бұрын
I'm really impressed how you explain abstract topic like multithreading in such an easy way. Keep up the good work 👌
@rite2riddhi Жыл бұрын
Thanks man.
@kashyapvishnudas14663 ай бұрын
Content is great but i feel very lag while watching please make it more concise
@jc369126 күн бұрын
Not sure why u speak so fast...i think u need to self review your video before upload on fast speak...pls speak slow..idea is to learn by all level people I think
@akshaypatil180425 күн бұрын
yes crrect, speed is too much not able to concentrate
@puneetkataria97223 ай бұрын
can you please share the github link for this multithreading code
@abhishekpattnaik85313 ай бұрын
Which JDK are you using? At 24:19 when I set daemon to true and run the main program it doesn’t print the Thread1 statements