This repository contains the code for the implementation of an API Gateway for Orbital 2023.
CloudWeGo API Gateway is an API Gateway based on CloudWeGo
projects, using technologies, such as Kitex
- RPC framework,
and Hertz
- HTTP framework. This API Gateway can handle JSON-encoded HTTP requests and utilize Kitex
's Generic-Call feature.
to convert these requests into Thrift
binary format. The API Gateway will then route the requests to one of the backend.
RPC servers obtained from the registry center.
CloudWeGo is an open-source middleware set launched by ByteDance that can be used to quickly build enterprise-class cloud native architectures. It contains many components, including the RPC framework Kitex, the HTTP framework Hertz, the basic network library Netpoll, thrfitgo, etc. By combining the community's excellent open source products, developers can quickly build a complete set of microservices systems.
Hertz [həːts] is a high-performance, high-usability, extensible HTTP framework for Go. It’s designed to make it easy for developers to build microservices. Inspired by other open source frameworks, combined with the unique challenges we met in ByteDance, Hertz has become production-ready and has powered ByteDance’s internal services over the years.
Kitex [kaɪt’eks] is a high-performance and strong-extensibility Golang RPC framework that helps developers build microservices. If performance and extensibility are the main concerns when you develop microservices, Kitex can be a good choice.