paint-brush
How To Define HTTP Middleware and Best Practicesby@moesif
189 reads

How To Define HTTP Middleware and Best Practices

by moesif4mMarch 4th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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

@moesif

User-Centric API Analytics

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

About Author

moesif HackerNoon profile picture
moesif@moesif
User-Centric API Analytics

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Learnrepo
Coffee-web
Owlver
Owlver