Experimental test project
A link shortener that scales horizontally.
Redoma Links exists to test horizontal, scalable architectures: instead of one big database,
links are spread over many small ones. It is an experiment of
Redoma, not a production service.
Paste a long address to try it.
- Redirects served
- …
- short links opened so far
- Databases in use
- …
- of billions possible
- Possible links
- …
- short addresses that can exist
How it works
- A code is drawn Seven random letters and digits, then one check character:
k3x9ab7x. There is no counter to wait for.
- Six characters pick the database
k3x9ab means the link is kept in links-k3x9ab. A database is created the first time it is needed.
- One query opens the link A visit asks that one small database, however many others exist. A mistyped address fails the check and opens no database at all.
- One database keeps the totals Redirects and databases in use are counted in
redirect-count. It is the only thing all visits share, so a link still opens if a count cannot be saved.
k3x9abDatabase
7Link
xCheck
The parts of a code. The first names the database, the second tells apart the links inside it, and the last is computed from the others.