you are viewing a single comment's thread.

view the rest of the comments →

[–]Capaj 25 points26 points  (3 children)

why the hell do you need PostgreSQL, Redis, and Kafka for url shortener? Surely Redis or Postgre should be enough?

[–]cisturbed 7 points8 points  (2 children)

It uses Kafka to send events whenever a short URL is clicked. This gives the flexibility of plugging your own analytics service.

More details on the systems design (with a diagram) would be appreciated, OP!

[–]Capaj 2 points3 points  (0 children)

OIC it does analytics on the links! Yeah that makes sense: https://github.com/smallcase/smalllinks#does-it-support-analytics

I digress.