#
“
Active threads consume system resources, especially memory. When there more runnable threads than available processors, threads sit idle. Having many idle threads can tie up a lot of memory, putting pressure on the garbage collector, and having many threads competing for the CPUs can impose other performance costs as well. If you have enough threads to keep all the CPUs busy, creating more threads won’t help and may even hurt.Bloch, Joshua; Goetz, Brian; Peierls, Tim; Bowbeer, Joseph; Holmes, David; Lea, Doug (2006-05-09). Java Concurrency in Practice (Kindle Locations 2772-2775). Pearson Education (US). Kindle Edition.
This was posted 6 months ago. It has 1 notes.
Tags:
programming
java
#
“
Need and struggle are what excite and inspire us.William James (The Power and Perils of Concurrency, Programming Concurrency on the JVM)
This was posted 7 months ago. It has 0 notes.
Tags:
quotes
#
Running a startup is like being punched in the face repeatedly, but working for a large company is like being waterboarded.
- Paul Graham
This was posted 8 months ago. It has 385 notes.
Tags:
Paul Graham
company

