{"id":31483,"date":"2017-09-06T14:26:00","date_gmt":"2017-09-06T14:26:00","guid":{"rendered":"http:\/\/cloudcomputing.sys-con.com\/node\/4151910"},"modified":"2017-09-06T14:26:00","modified_gmt":"2017-09-06T14:26:00","slug":"finally-getting-the-most-out-of-the-java-thread-pool-cloudexpo-jvm-java-cloud","status":"publish","type":"post","link":"https:\/\/icloud.pe\/blog\/finally-getting-the-most-out-of-the-java-thread-pool-cloudexpo-jvm-java-cloud\/","title":{"rendered":"Finally Getting the Most out of the Java Thread Pool | @CloudExpo #JVM #Java #Cloud"},"content":{"rendered":"<p>First, let&#8217;s outline a frame of reference for multithreading and why we may need to use a thread pool.<br \/>\nA thread is an execution context that can run a set of instructions within a process &#8211; aka a running program. Multithreaded programming refers to using threads to execute multiple tasks concurrently. Of course, this paradigm is well supported on the JVM.<br \/>\nAlthough this brings several advantages, primarily regarding the performance of a program, multithreaded programming can also have disadvantages &#8211; such as increased complexity of the code, concurrency issues, unexpected results and adding the overhead of thread creation.<br \/>\nIn this article, we&#8217;re going to take a closer look at how the latter issue can be mitigated by using thread pools in Java.<\/p>\n<p><a href=\"http:\/\/cloudcomputing.sys-con.com\/node\/4151910\" >read more<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, let&#8217;s outline a frame of reference for multithreading and why we may need to use a thread pool.<br \/>\nA thread is an execution context that can run a set of instructions within a process &#8211; aka a running program. Multithreaded programming refers to usi&#8230;<\/p>\n","protected":false},"author":143,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-31483","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts\/31483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/users\/143"}],"replies":[{"embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/comments?post=31483"}],"version-history":[{"count":3,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts\/31483\/revisions"}],"predecessor-version":[{"id":32753,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts\/31483\/revisions\/32753"}],"wp:attachment":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/media?parent=31483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/categories?post=31483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/tags?post=31483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}