Skip to Content
Engineering Resilient Systems on AWS
book

Engineering Resilient Systems on AWS

by Kevin Schwarz, Jennifer Moran, Nate Bachmeier
October 2024
Intermediate to advanced
348 pages
9h 36m
English
O'Reilly Media, Inc.
Audio summary available
Content preview from Engineering Resilient Systems on AWS

Chapter 6. Integrated AvailableTrade Frontend with APIs

Up to this point, you’ve been learning and implementing resilient patterns for individual microservice components. You’ve successfully deployed the AvailableTrade single-page application, the Account Open serverless API, and the containerized Trade Stock APIs. Your retail stock trading application only becomes useful when these components are integrated. In this chapter, you’ll integrate the UI with the backend services to prepare for recovery orchestration in Chapter 7 and learn more resilience patterns along the way.

In this chapter, you will accomplish the following:

  • Integrate your microservices with the UI

  • Automate endpoint configuration

  • Integrate API calls

  • Configure rational client timeouts

  • Deal gracefully with API unavailability

  • Monitor real user experience

  • Observe and track JavaScript errors

  • Trace user actions to backend processing

Technical Requirements

The functional requirement of this chapter is to integrate the AvailableTrade UI with the Trade Stock and the Trade Confirms microservices using the JavaScript Fetch API. In addition to integration, as with prior chapters, you’ll make informed design decisions to ensure a reliable user experience. You’ll also apply nonfunctional instrumentation to capture usage and performance data to help engineers reliably operate the AvailableTrade system. Figure 6-1 shows an overview of the data flow from the brokerage customer’s browser as they load your website ...

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

Building Resilient Architectures on AWS

Building Resilient Architectures on AWS

Ajit Puthiyavettle, Imaya Kumar Jagannathan, Rodrigue Koffi
Serverless Architectures on AWS, Second Edition

Serverless Architectures on AWS, Second Edition

Yan Cui, Ajay Nair, Peter Sbarski

Publisher Resources

ISBN: 9781098162412Errata Page