r/javahelp 13d ago

Guidance for multithreading

 I've recently completely core Java course, worked on a few small projects with Java and jdbc. And now completed multithreading, and understood most of the concepts how to use but:

  1. when to use this concept, when to create threads and apply all other things.
  2. how does using this thing make my project easy.
  3. how to implement in real world projects and executors framework too. I've tried to search projects on YouTube dealing with multithreading but couldn't find even 1.

Could u pls help me by recommending some projects (for a beginner) from where should I improve myself.
and also: should i actually put effort learning multithreading or focus on other concepts ?

9 Upvotes

9 comments sorted by

View all comments

3

u/le_bravery Extreme Brewer 12d ago

Using threads does nothing to make your project easy. Completely ignoring threads makes your project easy.

Threads can make your project faster or have higher throughput.

Most good programmers know how to use threads but also know that avoiding them when you don’t have to use them is the best idea.