Skip to Content
Building RESTful Web Services with Java EE 8
book

Building RESTful Web Services with Java EE 8

by Mario-Leander Reimer
July 2018
Intermediate to advanced
116 pages
2h 41m
English
Packt Publishing
Content preview from Building RESTful Web Services with Java EE 8

Benefits and usage scenarios of asynchronous processing

In this section, we're going to take a look at the motivations and reasons for asynchronous request processing and why this matters to you. One thing I need to tell you is that the free lunch is over! concurrency counts.

Let's take a look at the following diagram:

We can see that the number of transistors on a processor is constantly rising; however, the clock speed pretty much stayed constant since 2004. This means you need to be more concurrent in order to get more speed, and we usually do this by using threads. 

By default, the request processing on the server usually works in a synchronous ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

RESTful Java Web Services - Third Edition

RESTful Java Web Services - Third Edition

Balachandar Bogunuva Mohanram

Publisher Resources

ISBN: 9781789532883Supplemental Content