Skip to Content
Migrating Java to the Cloud
book

Migrating Java to the Cloud

by Kevin Webber, Jason Goodwin
September 2017
Intermediate to advanced
50 pages
2h 3m
English
O'Reilly Media, Inc.
Content preview from Migrating Java to the Cloud

Chapter 2. Cloud Native Requirements

Applications that run on cloud infrastructure need to handle a variety of runtime scenarios that occur less frequently in classical infrastructure, such as transient node or network failure, split-brain state inconsistencies, and the need to gracefully quiesce and shut down nodes as demand drops off.

Applications or Services?

We use the term “application” to refer to a legacy or heritage application, and “service” to refer to a modernized service. A system may be composed of both applications and services.

Any application or service deployed to cloud infrastructure must possess a few critical traits:

Location independence
The ability to move across hosts in the event of a server failure, with no loss of state.
Fast startup
Cloud nodes are expected to fail and restart, therefore the startup time of services must be ultra fast, ideally measured in single-digit seconds.
Fault-tolerance
In-memory state will be lost when a node crashes, therefore stateful applications and services that run on cloud infrastructure must have a robust recovery mechanisms.
Reliable communications
Other processes will continue to communicate with a service or application that has crashed, therefore they must have a mechanism for reliable communications even with a downed node.
Distributed state
Cloud-native services must support in-memory state and have a mechanism for recovery in case the service fails and restarts.

Infrastructure Requirements

Some so-called cloud ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning Quarkus Framework: Build Cloud-Native Enterprise Java Applications and Microservices

Beginning Quarkus Framework: Build Cloud-Native Enterprise Java Applications and Microservices

Tayo Koleoso
Cloud Native Infrastructure with Azure

Cloud Native Infrastructure with Azure

Nishant Singh, Michael Kehoe
Cloud-Native Applications in Java

Cloud-Native Applications in Java

Ajay Mahajan, Munish Kumar Gupta, Shyam Sundar S

Publisher Resources

ISBN: 9781491994931Errata Page