Java ExecutorService - Part 1 - Introduction

Sdílet
Vložit
  • čas přidán 29. 12. 2017
  • Learn how to parallelize your tasks and operations easily in Java without cooking up your own Threads.
    Part 1: Introduction - • Java ExecutorService -...
    Part 2: Type of Pools - • Java ExecutorService -...
    Part 3: Constructor / LifeCycle - • Java ExecutorService -...
    Part 4: Callable/Future - • Java ExecutorService -...
    Channel
    ----------------------------------
    Complex concepts explained in short & simple manner. Topics include Java Concurrency, Spring Boot, Microservices, Distributed Systems etc. Feel free to ask any doubts in the comments. Also happy to take requests for new videos.
    Subscribe or explore the channel - / defogtech
    New video added every weekend.
    Popular Videos
    ----------------------------------
    What is an API Gateway - • What is an API Gateway?
    Executor Service - • Java ExecutorService -...
    Introduction to CompletableFuture - • Introduction to Comple...
    Java Memory Model in 10 minutes - • Java Memory Model in 1...
    Volatile vs Atomic - • Using volatile vs Atom...
    What is Spring Webflux - • What is Spring Webflux...
    Java Concurrency Interview question - • Java Concurrency Inter...
  • Věda a technologie

Komentáře • 290

  • @ramcorp542
    @ramcorp542 Před 3 lety +27

    Thank you, you have a skill for explaining complex concepts in a clear concise manner. I would love to see full fledged courses created by you.

  • @fazilkhan6779
    @fazilkhan6779 Před 11 měsíci +1

    This executor service series is one of the best ever educational CZcams series ever. Thanks a ton. Your explanation is awesome.

  • @amritasahoo6773
    @amritasahoo6773 Před 6 lety +98

    Really explained well. This is the best I have found till now. Thank you. Keep up the good work :)

    • @DefogTech
      @DefogTech  Před 6 lety +4

      Thank you for the kind words!!

    • @yathiraju1000
      @yathiraju1000 Před 4 lety

      Yes this guy is awesome in subject and the way he is describing the concepts are speechless . I heard few concepts and all are above the notch.

    • @orangefield2308
      @orangefield2308 Před 8 měsíci

      best work ever, please make more videos !! I understand executorService finally

  • @rishinjiya42
    @rishinjiya42 Před 4 lety +1

    The best combination of content and explanation. I wish Deepak had videos and courses on everything I need as a Java/Spring developer

  • @gobindarora007
    @gobindarora007 Před 5 lety +2

    Cleared all my doubts. Thanks for this amazing video. Keep doing the great work.

  • @mehulsolanki9435
    @mehulsolanki9435 Před rokem

    Clear and concise. As simple as it can get. Keep up the good work!

  • @harikavolam7123
    @harikavolam7123 Před 3 lety +1

    Thanks for explaining in both code and internal visualization of threads. Great explanation. You have explained complicated topic in very simple way.. Thanks a lot

  • @AyushSharma-ux4fk
    @AyushSharma-ux4fk Před 3 lety +3

    A very intelligent statement.
    If your tasks are I/O intensive e.g. DB calls, Network calls. Most of the threads would be in waiting state (waiting for DB response or Network call response) in such a scenario having a large thread pool is the right way to go. That way you would be able to start more tasks.
    Thanks

  • @pepperjack6749
    @pepperjack6749 Před 6 lety +1

    Most concise and clear executor service description I’ve seen. Thank you!

  • @siteshkulkarni5924
    @siteshkulkarni5924 Před rokem

    Hi Deepak, I just watched all your 4 videos related to ExecutorService, you have shown how things can be explained in a super simple way yet powerful. Great job!! thanks.

  • @RohitPal-lz1wf
    @RohitPal-lz1wf Před 3 lety

    Very well structured and explained perfectly. I would love to see the tutorial during my free time

  • @shikharchoudhary7639
    @shikharchoudhary7639 Před 5 lety

    Your visualization techniques are phenomenal.

  • @yathiraju1000
    @yathiraju1000 Před 4 lety +5

    Guys please share his videos in other groups. we have to support this kind of content and it will be very useful to people who are looking for good content

  • @contactdi8426
    @contactdi8426 Před 2 lety

    Holy Moli buddy!!! This was spot on! The BEST on the internet, cleared all my doubts right from basics to advance.. Super Thanks, I really appreciate great people like you that helps the community.

  • @ankitnavalakha508
    @ankitnavalakha508 Před 5 lety +4

    There are so many videos for multithreading available in CZcams but I found you best because of your diagram presentation which is unique.
    You explained very well. You are awesome and continue with this key feature.

  • @muruganvellaichamy709
    @muruganvellaichamy709 Před 5 lety +5

    Very well explained. Thanks for this. :)

  • @mikeprice7942
    @mikeprice7942 Před 5 lety

    You explain this topic very well! Appreciate the visualization!

  • @odilhonislomov8954
    @odilhonislomov8954 Před 2 lety

    THANK YOU !!! A LOT OF THANKS. There is no better explanation than yours. You are the best. Keep going

  • @vkalaivanan
    @vkalaivanan Před 4 lety +1

    Concepts are clear and simple to understand. Thank you :)

  • @mostinho7
    @mostinho7 Před 4 lety +5

    Done thanks
    Thread pool instead of creating a 1000 threads which is expensive, can make a fixed size pool and submit 1000 tasks to it.
    3:40 how it works internally
    5:30 ideal pool size for cpu task is number of cores
    9:30 thread pool size for io intensive tasks

  • @sharatchandra9198
    @sharatchandra9198 Před 3 lety

    I have read so many places, everything is of no use, you are brilliant.

  • @ruchigarg7788
    @ruchigarg7788 Před 2 lety +3

    Really, so easily explained these concepts with how to implement. Superb. Should create a playlist of java 8.

  • @edeepakjain
    @edeepakjain Před 5 lety +1

    Best video... Finally someone explained thread pool size derivation

  • @prakriti-ke-sath
    @prakriti-ke-sath Před 5 lety

    Loved the way you explained , it was neat and clear , thank you very much.

  • @philipmartinelli6994
    @philipmartinelli6994 Před rokem +1

    Awesome use of visualizations. This is really helpful, thank you!

  • @priyanka0112
    @priyanka0112 Před 3 lety

    Awesome explanation. This is the best i have seen so far. Looking forward to watch all your videos.

  • @rpkm85
    @rpkm85 Před 5 lety +2

    Very neatly explained... good work bro.. 👍🏻👍🏻

  • @pratiklohar4566
    @pratiklohar4566 Před 4 lety

    This the best explanation on executor service I have found so far . Thank you so much. Expecting more such videos from you !

  • @vijaynandwana4289
    @vijaynandwana4289 Před 5 lety +2

    You are awesome, thank you for posting these videos.

  • @tarunkundhiya5196
    @tarunkundhiya5196 Před 5 lety +1

    Thanks for the wonderful explanation.

  • @hemanthsavithala4081
    @hemanthsavithala4081 Před 5 lety +1

    Awesome video...
    Thanks for your efforts & all

  • @raghavendradake2057
    @raghavendradake2057 Před 4 lety

    Crisp and clear explanation ... Amazing work 👍

  • @harikrishnathariboyina6005

    Thank you for such a nice explanation. it's very clear and simple ..

  • @kitkarson4226
    @kitkarson4226 Před 2 lety

    Man .. god bless you!! Thanks!! you explain complex topics in a way anyone can understand.

  • @TonyStark-lv4ff
    @TonyStark-lv4ff Před 4 lety

    Amazingly nice explanied ! Thank you, sir!

  • @sakship1558
    @sakship1558 Před rokem

    Bestest explanation seen on Internet, thank you so much.

  • @ranvaknin9669
    @ranvaknin9669 Před 3 lety

    fantastic video. really well done, super clear!

  • @learnlearn8230
    @learnlearn8230 Před 3 lety

    Thanks a lot, very well explained .I feel one of the best video so far compare others on youtube

  • @nilesh6429
    @nilesh6429 Před 6 lety

    ThreadPoolSize tread off with CPU core concept is excellent. You have cleared all doubts about the size of the pool.
    Thank you.

    • @DefogTech
      @DefogTech  Před 6 lety

      You're welcome! I'm happy it helped

  • @AshishBurnwal
    @AshishBurnwal Před 6 lety

    This is the best tutorial I have ever seen for executor framework. Thanks a lot

  • @sekharsoftware
    @sekharsoftware Před 4 lety +1

    Really precise to the point and very useful. You should do a podcast.

  • @shivshaktipandey7148
    @shivshaktipandey7148 Před rokem

    explaining with how , why , what , when -------------- everything about the topic -------- hats off ----------- u will complete 100k soon bro

  • @parambharti7095
    @parambharti7095 Před 2 lety +1

    Extremely awesome. Please keep making videos like this.

  • @manishghoshi3861
    @manishghoshi3861 Před 2 lety

    The best till now. Thanks.

  • @abzzz4u
    @abzzz4u Před 4 lety

    All answers in one video ....keep them coming bro

  • @highlightsportz
    @highlightsportz Před 2 lety

    I as individual surf youtube a lot for learning purpose and almost have watched most of the youtuber on internet, But this channel is at another level in terms of quality . Thanks a lot sir . It would be great if you could take out some time and nail the microservice buzz words

  • @utkalkesharisahu3014
    @utkalkesharisahu3014 Před rokem

    You should post more bro.
    You really explain complicated topics in a really simple manner.

  • @br4676
    @br4676 Před 3 lety

    Thanks sir , this is the best video I have seen so far on this topic

  • @sonyroy45
    @sonyroy45 Před 3 lety

    You are awesome, please don't stop posting such videos 🙏

  • @mattmilzewski1062
    @mattmilzewski1062 Před 3 lety

    Explained excellently you are an absolute legend

  • @jyoshnaroy7205
    @jyoshnaroy7205 Před 4 lety

    Outstanding explanation and thanks a lot. Life saver.

  • @divyanshpatel1301
    @divyanshpatel1301 Před rokem

    All the concepts u given is aksed in an interview, best explanation ❤

  • @raidtheferry
    @raidtheferry Před 4 měsíci

    Very high quality explanation and accompanying slideshow. I appreciate you making this video

  • @rj7560
    @rj7560 Před 3 lety

    Big fan of you. Please more videos... Thank you very much.. much appreciated

  • @INTOITYT
    @INTOITYT Před 3 lety

    Very well explained! Thank you so much! :)

  • @SujitKumar-gs2qs
    @SujitKumar-gs2qs Před 5 lety

    Thanks for the clear explanation..

  • @GanaviN-f1o
    @GanaviN-f1o Před 17 dny

    you explained this so clearly.....thanks for this !

  • @naveen.kocherla
    @naveen.kocherla Před 2 lety

    Awesome explanation.. love your work brother

  • @aakashjain3498
    @aakashjain3498 Před 4 lety

    Wow. Hats off for that explanation.

  • @sanjeevanemani6720
    @sanjeevanemani6720 Před 4 lety

    maan.....where u been all these days? Glad to find ur channel. Please make more videos.

  • @vishlaldolare9557
    @vishlaldolare9557 Před 5 lety

    Awesome explanation today i actually understand thread

  • @ganesh221b
    @ganesh221b Před rokem

    Very well explained, thanks!

  • @786PrvN
    @786PrvN Před 5 lety +3

    Very much simplified and same effective as well. +1 :)

  • @rishipollai5646
    @rishipollai5646 Před 3 lety

    Lots of love and support 💖 .. one of the best explanation

  • @Maddy-jn5pk
    @Maddy-jn5pk Před 3 měsíci

    Thank you, amazing explanation!

  • @kamleshpar9847
    @kamleshpar9847 Před 4 lety

    Very well explained , pl continue your excellent work

  • @pradeep6295
    @pradeep6295 Před 4 lety

    just awesome explanation !

  • @clswar00p
    @clswar00p Před 3 lety

    Pleasant voice while explaning.Very clear

  • @ladnsathukorala
    @ladnsathukorala Před 2 lety

    Excellent Explanation 👍

  • @rajeshg3570
    @rajeshg3570 Před 2 lety

    awesome explanation .. really like it

  • @RamKumar-dm6es
    @RamKumar-dm6es Před 10 měsíci

    Thank You Deepak bhaiya for explaing this concept so beautifully

  • @drakezen
    @drakezen Před 6 lety

    Great explanation. Looking forward to more videos.

    • @DefogTech
      @DefogTech  Před 6 lety +1

      Thank you! Working on a few, will upload in couple of days.

  • @shellindebted5328
    @shellindebted5328 Před 6 lety

    Much Helpful. Thanks.

  • @prateekgupta8861
    @prateekgupta8861 Před 3 lety

    Very very well explained. Thanks.

  • @sampratikatariya5928
    @sampratikatariya5928 Před rokem

    Explained very well!!

  • @digvijaynalawade9207
    @digvijaynalawade9207 Před 2 lety

    Explained very nicely 👌

  • @sanjaygarg3540
    @sanjaygarg3540 Před 4 lety

    Great Explanation!!

  • @vijayakumarvj
    @vijayakumarvj Před 5 lety +1

    Can you pls make videos with in-depth details on generics..I must say above videos are incredibly awesome

  • @smarttrupti2007
    @smarttrupti2007 Před rokem

    Beautiful explanation

  • @MrVitalirapalis
    @MrVitalirapalis Před rokem

    Very informative!

  • @rsousaj
    @rsousaj Před 3 lety

    Very well explained! Thanks

  • @CodeNCode-rm8ci
    @CodeNCode-rm8ci Před 3 lety

    Very good explanation.

  • @sisa989
    @sisa989 Před 6 lety

    Crystal clear, good job!

  • @sametbaskc3768
    @sametbaskc3768 Před rokem +2

    Thanks for this clear explanation. You are doing a great job. I just wonder what is the strategy you follow to learn the concepts in crystal clear?
    Could you also share the resources (book, articles, docs) you follow when you were learning this topics?

  • @SonuKhan-mp2yn
    @SonuKhan-mp2yn Před 2 lety

    Legendary, Thank You Sir..

  • @johncerpa3782
    @johncerpa3782 Před 3 lety

    Excellent video, thank you so much

  • @ayushshukla1597
    @ayushshukla1597 Před 3 lety

    Amazing content. Big thanks.

  • @abrehamish
    @abrehamish Před 3 lety

    Excellent explanation

  • @deepamgupta8011
    @deepamgupta8011 Před 4 lety

    Clear cut explanation!

  • @HaSeebpjr01
    @HaSeebpjr01 Před rokem

    Well explained, thanku so much

  • @manish436
    @manish436 Před 2 lety

    Really great explanation, adding one formula for I/O intensive task, according to "Java Concurrency in Practice"
    Number of threads = Number of Available Cores * (1 + Wait time / Service time)

  • @vaibhavsawant20
    @vaibhavsawant20 Před 6 lety

    You explained nicely

  • @raghavmanchanda4736
    @raghavmanchanda4736 Před rokem

    Best explanation ever, thanks for it😇😇

  • @aditchauhan876
    @aditchauhan876 Před 5 lety +1

    Godly explanation

  • @rizwansayyed7893
    @rizwansayyed7893 Před 2 lety

    Masterpiece !!

  • @sathishspeaks
    @sathishspeaks Před 2 lety

    Defog come back and do more videos you are the best in explaining complex concepts buddy

  • @j.almadhaji
    @j.almadhaji Před 3 lety

    so detailed 👍
    thank you sir

  • @shans8880
    @shans8880 Před 5 lety

    Excellent !!

  • @jayasinghekasun
    @jayasinghekasun Před rokem

    Great explanation

  • @roshankarwalkar7102
    @roshankarwalkar7102 Před 3 lety

    Really explained well. Keep it up bro.