Loading...
Functional Requirements:
Non-Functional Requirements:
The architecture can consist of the following components:
flowchart TD A[Client] -->|shortenURL()| B[API Gateway] B -->|shortenURL()| C[Shortening Service] A -->|redirectURL()| D[API Gateway] D -->|redirectURL()| E[Mapping Service] E -->|Fetch from Cache| F[Redis Cache] F -->|Cache Hit| G[Redirect to Long URL] E -->|Fetch from DB| H[Database]
Explain any trade offs you have made and why you made certain tech choices...
Try to discuss as many failure scenarios/bottlenecks as possible.