Posts

Showing posts from February, 2021

gRPC - Future of Complex API services

gRPC (gRPC Remote Procedure Calls) is an open source remote procedure call (RPC) system initially developed at Google in 2015. It uses HTTP/2 for transport, Protocol Buffers as the interface description language, and provides features such as authentication, bidirectional streaming and flow control, blocking or nonblocking bindings, and cancellation and timeouts. It generates cross-platform client and server bindings for many languages. Most common usage scenarios include connecting services in a microservices style architecture, or connecting mobile device clients to backend services. gRPC's complex use of HTTP/2 makes it impossible to implement a gRPC client in the browser, instead requiring a proxy Reference  https://developers.google.com/protocol-buffers/docs/javatutorial

Micro services : Simplified architecture

Image
Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are. Highly maintainable and testable. Loosely coupled. Independently deployable. Organized around business capabilities. Here are the steps to designing a microservices architecture: 1. Understand the monolith Study the operation of the monolith and determine the component functions and services it performs.  2. Develop the microservices Develop each function of the application as an autonomous, independently-running microservice. These usually run in a container on a cloud server. Each microservice answers to a single function – like search, shipping, payment, accounting, payroll, etc. 3.  Integrate the larger application Loosely integrate the microservices via API gateways so they work in concert to form the larger application. An iPaaS like Factory can play an essential role in this step. 4. Allocate system r...