What are the best resources to learn Java Synchronization/Concurrency concepts?
-
-
Answer:
The best resource that I found is the book Java Concurrency in Practice by Brian Goetz. It takes you through every aspect of concurrency. There is also a Google Tech Talk about Java Memory Model: For some advanced and subtle topics I found useful some blog posts of Jeremy Manson http://jeremymanson.blogspot.com, the documentation (and the source code) of the java.util.concurrent package and some articles like the one on https://blogs.oracle.com/dave/entry/biased_locking_in_hotspot for understanding the performance impact of different synchronization mechanisms.
Cristian TÄlÄu at Quora Visit the source
Other answers
I would do a detailed study in the following order. You will need to fully understand each step. - Process vs Threads - Synchronization using the synchronized keyword. - Locks and Conditions vs Monitor - Volatile , atomics, final variables and thread local variables - semaphore, barriers and latches - concurrency collections - Thread safe collections - Callable and Future constructs You can then use Brian Goetz's book and every introductory Java book and online information to get a holistic grasp on the subject. Keep notes and links. Refresh your understanding every few months. :) All along you should be trying out examples for each concept.
Anil Saldanha
Related Q & A:
- What are the best resources to learn about web crawling and scraping?Best solution by Quora
- What is the best way to learn English?Best solution by Yahoo! Answers
- What is the best way to learn how to build websites and web applications with Python?Best solution by Quora
- What is the best way to learn jazz piano?Best solution by Yahoo! Answers
- What is the best way to learn French?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.