DEV Community

Suttipong Kullawattana
Suttipong Kullawattana

Posted on • Updated on

RESTful Webservice, gRPC, ApacheThrift for Microservices

How to create microservices

We will create a RESTful Webservice using request URI/URL to search and process and respond in XML, HTML, JSON format.

Commands are followed by HTTP verbs, which are

- GET: performs fetching within a given URI.
- POST: for generating data.
- PUT: is used to edit information.
- DELETE: to delete data.

How to create API naming convention

The API naming convention should be named as a group of nouns to indicate that it is a group of Resources.

How to checking request and response with tool

I recommend the gRPC tool. It is an open source framework that will perform request service and response that requests come in.

In thai reference have many talk how to use gRPC

How to improve performance transmission data with tool

How to talk through the service with a Binary method, which will make the transmission efficiency faster It recommends a tool called ApacheThrift. Suitable for use in Big Data applications where most applications are synchronous. If the destination system has a timeout, it should not be called.

Top comments (0)