Loading...
by high level architecture - there will be 2 main endpoints:
POST
GET
for this, i would go with the Postgresql for persistant storage, redis for cache, load balancer to distribute requests between backend pods
main entity will be the links:
table link(
id uuid primary key,
link text not null,
created_at timestamptz
)
there should not be any index, as we will only call this db by the primary key, which is already indexed.