Book Image

Practical Site Reliability Engineering

By : Pethuru Raj Chelliah, Shreyash Naithani, Shailender Singh
Book Image

Practical Site Reliability Engineering

By: Pethuru Raj Chelliah, Shreyash Naithani, Shailender Singh

Overview of this book

Site reliability engineering (SRE) is being touted as the most competent paradigm in establishing and ensuring next-generation high-quality software solutions. This book starts by introducing you to the SRE paradigm and covers the need for highly reliable IT platforms and infrastructures. As you make your way through the next set of chapters, you will learn to develop microservices using Spring Boot and make use of RESTful frameworks. You will also learn about GitHub for deployment, containerization, and Docker containers. Practical Site Reliability Engineering teaches you to set up and sustain containerized cloud environments, and also covers architectural and design patterns and reliability implementation techniques such as reactive programming, and languages such as Ballerina and Rust. In the concluding chapters, you will get well-versed with service mesh solutions such as Istio and Linkerd, and understand service resilience test practices, API gateways, and edge/fog computing. By the end of this book, you will have gained experience on working with SRE concepts and be able to deliver highly reliable apps and services.
Table of Contents (19 chapters)
Title Page
Dedication
About Packt
Contributors
Preface
10
Containers, Kubernetes, and Istio Monitoring
Index

Representational State Transfer (REST)


This is used for the purpose of data communication across web APIs. The REST API works pretty much in the same way as a website: you make a call from the client to the server and get a HTTP response back. REST uses HTTP methods to interact with the client and the server. REST allows a variety of data formats such as JSON or XML. It is generally faster and uses less bandwidth. It is also easy to integrate with other applications.

Commonly used HTTP methods in REST APIs include the following:

  • GET: This is used for retrieving a data through APIs. It is a read-only method. It is safe to use duplicate GET methods.
  • PUT: This is used to change or update a data using APIs. It is a write method, and we can use duplicate PUT methods.
  • POST: This is used to create or insert data. It is a write method.
  • DELETE: This is used to remove a particular piece of data.

Any web service that uses a REST architecture is called a RESTful API or a REST API. 

Let's take an example of...