Code Monkey home page Code Monkey logo

grpc-compression's Introduction

gRPC Compression

Compression is used in networking to reduce the amount of bandwidth consumed by network communication. Similarly, the gRPC protocol enables compression over the network. There are two main types of gRPC compression schemes.

  1. gRPC channel-level compression
  2. gRPC message-level compression

Many languages prefer to support message-level compression, and the most popular compression algorithm in gRPC is Gzip. gRPC compression, in general, does not have many clear and concise resources. The primary intention of this repository is to provide examples that demonstrate the gRPC message compression functionality in different languages, Go, Java, and Ballerina. This repository contains both gRPC client and server implementations in Go, Java, and Ballerina. Users have to freedom try these examples either using clients and servers from the same language or different languages.

Note that, you can verify the gRPC message compression using Wireshark. You just have to filter out the HTTP2 or gRPC packets and check the compressed flag or relevant message size details.

For More Information

grpc-compression's People

Contributors

buddhiwathsala avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.