Announcing Tower — A library for writing robust network services with Rust.

tl;dr

  • tower-web will be a server web framework, focusing on ergonomics and ease of use. Allowing users to rapidly build out production ready HTTP services based on the tower stack.
  • tower-grpc is a gRPC client and server based on the tower stack. It takes a proto file and generates the stubs for you. It uses Prost (a really great library) for the protobuf part.

Extracting what is common across protocols

Middleware

  • tower-timeouttakes a service and requires the response to complete within the specified duration. If it takes too long, the request is timed out.
  • tower-balance distributes the incoming requests across a number of inner service instances.
  • tower-buffer specifies a max number of concurrent requests that the inner service can handle. When the max is reached, it will stop accepting new requests until in-flight ones complete.

Tower Web

Tower gRPC

How to get involved

--

--

--

I do stuff. I say stuff. It's serious business.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Passing variables between tests in Cypress

Surfow V6.0.0 is here

ZEDEDA’s Zero Trust Orchestration Solution for the Distributed Edge Now Fully Integrated with…

Elasticsearch Security Authenticate

The Way of Entering the Programming World.

Results of “Design & Meme” contest

What you’ll find in this AWS Architech publication

Docker on local Machine!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Carl Lerche

Carl Lerche

I do stuff. I say stuff. It's serious business.

More from Medium

Why There is a Need for useEffect() in React

OnlySwitch

AppIcon

What is Depth-First Search?

What Are Some of the Most Popular Programming Languages for 2022?

What Are Some of the Most Popular Programming Languages for 2022?