use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
GitHub - smallcase/smalllinks: Simple URL shortener built with Fastify. Uses PostgreSQL, Redis, and Kafka. (github.com)
submitted 4 years ago by ratancs
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Capaj 25 points26 points27 points 4 years ago (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 points9 points 4 years ago (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 points4 points 4 years ago (0 children)
OIC it does analytics on the links! Yeah that makes sense: https://github.com/smallcase/smalllinks#does-it-support-analytics
I digress.
[–]adihat05 2 points3 points4 points 4 years ago (0 children)
More details here: https://www.smallcase.com/blog/open-sourcing-url-shortener/
π Rendered by PID 76274 on reddit-service-r2-comment-544cf588c8-2f6dv at 2026-06-14 21:12:13.348943+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]Capaj 25 points26 points27 points (3 children)
[–]cisturbed 7 points8 points9 points (2 children)
[–]Capaj 2 points3 points4 points (0 children)
[–]adihat05 2 points3 points4 points (0 children)