Loading...
API Server have only two http/2 API handlers
The first one is - /create (creating an url)
Request:
Response:
The second one is - /receive (return the long URL associated with short url)
Request:
Response:
When you are call /receive handler, you are forwarding to a target site, by redirection
The system is a scalable URL shortening service designed for high read throughput and horizontal scalability
Role
Scaling
Trade-off
Role
Scaling
Workers consume messages and process:
Stateless and horizontally scalable.
Trade-offs
Pattern