How To Define HTTP Middleware and Best Practicesby@moesif

How To Define HTTP Middleware and Best Practices

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Middleware is a design pattern to add cross-cutting concerns like logging, handling authentication, or gzip compression without having many code contact points. Some middleware is passive, such as logging middleware, can perform transforms on the request or response body. Latency and bandwidth are two orthogonal, yet related metrics. For example, an increase in latency can also reduce the bandwidth of a system, or the average time needed to perform a particular query. Latency may also increase the resident time of queues.

Company Mentioned

Mention Thumbnail
featured image - How To Define HTTP Middleware and Best Practices
moesif HackerNoon profile picture

@moesif

moesif

User-Centric API Analytics


Receive Stories from @moesif

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!