Mastering Concurrency Programming with Java 8 by Javier Fernandez Gonzalez

By Javier Fernandez Gonzalez

Master the rules and methods of multithreaded programming with the Java eight Concurrency API

About This Book

  • Implement concurrent functions utilizing the Java eight Concurrency API and its new components
  • Improve the functionality of your functions or approach extra information even as, making the most of your entire resources.
  • Construct real-world examples regarding computer studying, facts mining, picture processing, and client/server environments

Who This e-book Is For

If you're a useful Java developer with a superb realizing of concurrency yet don't have any wisdom of ways to successfully enforce concurrent courses or use streams to make tactics extra effective, then this booklet is for you.

What you'll Learn

  • Design concurrent functions through changing a sequential set of rules right into a concurrent one
  • Discover tips on how to keep away from the entire attainable difficulties you may get in concurrent algorithms
  • Use the Executor framework to regulate concurrent initiatives with no growing threads
  • Extend and adjust Executors to evolve their habit on your needs
  • Solve difficulties utilizing the divide and triumph over procedure and the Fork/Join framework
  • Process vast info units with parallel streams and Map/Reduce implementation
  • Control data-race stipulations utilizing concurrent info buildings and synchronization mechanisms
  • Test and computer screen concurrent applications

In Detail

Concurrency programming permits numerous huge initiatives to be divided into smaller sub-tasks, that are extra processed as person projects that run in parallel. the entire sub-tasks are mixed jointly as soon as the mandatory effects are completed; they're then merged to get the ultimate output. the total technique is particularly advanced. This strategy is going from the layout of concurrent algorithms to the checking out section the place concurrent purposes desire additional cognizance. Java contains a accomplished API with loads of ready-to-use elements to enforce strong concurrency functions in an ideal way, yet with a excessive flexibility to evolve those parts on your needs.

The ebook starts off with an entire description of layout rules of concurrent functions and the way to parallelize a sequential set of rules. we are going to enable you use the entire parts of the Java Concurrency API from fundamentals to the main complex strategies to enforce them in robust concurrency purposes in Java.

You may be utilizing real-world examples of complicated algorithms with regards to laptop studying, facts mining, usual language processing, photograph processing in buyer / server environments. subsequent, you'll find out how to use an important parts of the Java eight Concurrency API: the Executor framework to execute a number of initiatives on your functions, the phaser classification to enforce concurrent projects divided into levels, and the Fork/Join framework to enforce concurrent initiatives that may be cut up into smaller difficulties (using the divide and overcome technique). towards the top, we'll hide the recent inclusions in Java eight API, the Map and decrease version, and the Map and acquire version. The e-book also will train you concerning the information buildings and synchronization utilities to prevent data-race stipulations and different serious difficulties. ultimately, the e-book ends with a close description of the instruments and methods that you should use to check a Java concurrent application.

Style and method

A whole advisor enforcing real-world examples with algorithms regarding laptop studying, info mining, and common language processing in client/server environments. all of the examples are defined in a step by step approach.

Show description

Read Online or Download Mastering Concurrency Programming with Java 8 PDF

Best application development books

Ext JS 4 Plugin and Extension Development

In DetailExt JS is a natural JavaScript program framework for development interactive net functions utilizing concepts similar to Ajax, DHTML, and DOM scripting. Ext JS four Plugin and Extension improvement is a realistic, step by step educational which courses you to benefit and advance ExtJS plugins and extensions.

Getting Started with WebRTC

In DetailWebRTC grants web-based real-time communique and is decided to revolutionize our view of what the net particularly is. Streaming audio and video from browser to browser, in addition to establishing uncooked entry to the digicam and microphone, is already making a entire new dynamic net. WebRTC additionally introduces real-time information channels that may permit interplay with dynamic facts feeds from sensors and different units.

Mastering Concurrency Programming with Java 8

Grasp the rules and methods of multithreaded programming with the Java eight Concurrency APIAbout This BookImplement concurrent functions utilizing the Java eight Concurrency API and its new componentsImprove the functionality of your functions or approach extra facts whilst, making the most of all your assets.

Reactive Internet Programming: State Chart XML in Action

Is web software program so assorted from “ordinary” software program? This e-book virtually solutions this query in the course of the presentation of a software program layout strategy in keeping with the nation Chart XML W3C general besides Java. internet company, Internet-of-Things, and Android purposes, particularly, are seamlessly certain and applied from “executable versions.

Extra resources for Mastering Concurrency Programming with Java 8

Sample text

Download PDF sample

Rated 4.54 of 5 – based on 28 votes