
Introduction to QUIC & HTTP/3
QUIC is a new multiplexed transport built on top of UDP. The overall goal is to reduce latency and eliminate head-of-line blocking compared to that
Home » Tutorials
QUIC is a new multiplexed transport built on top of UDP. The overall goal is to reduce latency and eliminate head-of-line blocking compared to that
Previously, we have demonstrated how to implement a bi-directional gRPC streaming server using python. Once the server implementation is ready we will implement the client. In order to implement the client we will have to use the same proto file as the server as that acts as a data contract between server and client. Proto file as follows.
So today we will demonstrate how to setup a bi-directional server using python & gRPC. The very first step to setup any gRPC streaming is to create a data contract in the form of a protocol buffer file. In our demonstration, we will use a simple contract that should be able to create some resource entries to the server in the stream and expect a response in the form of a stream.
In our previous tutorial, we have built a server to handle the bi-directional streams. Here we will build a bi-directional streaming client for the same with NodeJS. In order to implement the following tutorial, we need to have NodeJS 14+ installed on your system and the bi-directional gRPC streaming server is running successfully on the system. As the server is running as a part of the prerequisite so we will assume that all the required dependencies have been installed on the system.
gRPC also provides a unique capability for bi-directional streaming which could be used for any use cases starting from Chat server, persistent service-to-service connection, and lots more. Today we will learn how to implement bi-directional streaming using gRPC with NodeJS. We will build a bi-directional streaming server and client to create an article management application that will allow us to create articles in bulk using streaming.
Go is a very powerful language and has been making a lot of noise in the developer communities. Go is lean, powerful and efficient for
Go is a very powerful language and has been making a lot of noise in the developer communities. Go is lean, powerful and efficient for
In our previous tutorial, we have provided guide to install and run your very first project with MoCherry – The CherryPy MongoDB REST webservice engine. Here we will explain to create a sample REST based webservice with the framework.
We have to build an article management system where users can create / list / view / update / delete articles based using REST webservice.
In our previous tutorial we have explained, why we have started building MoCherry and how it will help developers to build REST webservices seamlessly with CherryPy with MongoDB support. Here we will demonstrate a step by step guide to build REST based CRUD operations using MoCherry framework.
Currently, MoCherry is not available from python pip repository directly. So we can use direct github link to install MoCherry and all it’s required dependencies to our system or virtualenv.
Python has been developed initially in 1991 and since then it has gradually evolved into the version 3.x. Most of us used python 2.7.x for a long time for different projects which is now came to the end of his lifecycle from 2020 onwards.
In the most recent release of python version 3.8, it has incorporated a set of kool features as an advancement. We will discuss a few of them below: Robust Function Arguments types, Reversible dictionary, Improved readability on Assignment expressions, f-string: elegant string formatting syntax, etc.
© 2019 by Techunits | All rights reserved