Skip to content

Performance Comparison and Analysis of gRPC and ZeroMQ for Efficient Library Selection in Chat Service Implementation

License

Notifications You must be signed in to change notification settings

bik1111/2023-02-CapstoneDesign

Repository files navigation

2023-02-CapstoneDesign

1. Research Title

Performance Comparison and Analysis of gRPC and ZeroMQ for Efficient framework Selection in Chat Service Implementation

2. Research Object

To provide insights for companies and services looking to implement a chat service in selecting an efficient library

3. Research Model

  • Independent Variable: zeroMQ, gRPC
  • Controlled Variable: Message Transmission Count, Message Size
  • Dependent Variable: Transmission Speed, Throughput(message/s), CPU Usage

4. Research Method

  • gRPC: Implementing asynchronous programming using Python Module Asyncio.
  • zeroMQ: Implementing a bidirectional streaming with PUB/SUB + PUSH/PULL patterns.

5. Research Results

5-1. Transmission Speed Aspect

image

5-2. CPU Usage Aspect

image

5-3. Measuring the elapsed time and throughput (messages per second) when sending messages of a specific byte size.

image image

6. Reference


7. Material

About

Performance Comparison and Analysis of gRPC and ZeroMQ for Efficient Library Selection in Chat Service Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published