Server Programming

How to Implement Server Side Events Using Python Flask and React

How to Implement Server Side Events Using Python Flask and React

A typical Request Response cycle works such that client sends request to server and server responds to that request. But there are few use cases where we might need to send data from server without request or client is expecting a data that can arrive at anonymous time.There are few mechanisms available to solve this problem.

Server Side Events

Broadly we can classify these  as client pull and server push mechanisms.Websockets is a bi directional mechanism where data is transmitted via full duplex TCP protocol.

Introduction to the Modern Server-side Stack - Golang, Protobuf, and gRPC

Introduction to the Modern Server-side Stack - Golang, Protobuf, and gRPC

There are some new players in town for server programming and this time it’s all about Google. Golang has rapidly been gaining popularity ever since Google started using it for their own production systems. And ever since the inception of Microservice Architecture, people have been focusing on modern data communication solutions like gRPC along with Protobuf. In this post, I will walk you through each of these briefly.