Skip to content

Case study · Marketing technology

Tuku

High-availability URL shortener & analytics

Full-Stack ProductWeb ApplicationAnalyticsPerformance

At a glance

Industry
Marketing technology
Tuku
Tuku
  1. 01 · Link expirynever · a week · a month
  2. 02 · One-field shortenpaste, shrink, share
  3. 03 · Live counterslinks · clicks · users

<50 msredirect latency

Project details

Tuku is a URL shortener and link intelligence platform. It turns long, cryptic links into short slugs, on a custom domain or as a vanity URL, and records every click as an event, so the team that shared a link can see what it did afterwards. It is built for marketing and product teams who need to know which campaign, channel or post actually drove traffic, and for whom a redirect that hangs is a lost visit.

Why fast links and rich analytics pull against each other

A short link sits in front of every click a campaign gets, so it has two jobs that pull in opposite directions. The redirect has to be instant and always available; if it is slow or down, the visit is lost. The analytics have to be detailed, with every click recorded alongside where it came from, and detail is expensive to compute. Tuku is designed so that the second job can never slow down the first.

What Tuku does

Shortening is a single field: paste a link, choose when it should expire (never, after a week or after a month) and get a short URL back. Signed-in users get a dashboard for every link they have made, with click counts, the time and location of each click, the device it came from and the referrer that sent it. Historical trends sit beside the raw counts, so a spike can be traced to the day and the source behind it.

Tuku is API-first. Everything the dashboard shows is available programmatically, so link data can be pulled into marketing, affiliate and internal reporting tools instead of living only inside Tuku.

How the redirect stays fast

A redirect is the one request that has to feel instant, so it does as little as possible. Slugs are resolved from a distributed cache, and each click is handed to a queued analytics pipeline rather than written to reporting storage on the spot; aggregation happens later, away from the request. That split keeps heavy reporting work from ever slowing a redirect, and it avoids the hot keys and single points of failure that appear when one popular link takes most of the traffic.

Redirects resolve in under 50 ms, and the analytics pipeline keeps every click observable under heavy load because it never sits in the redirect's path.

Public link shorteners attract abuse, so link creation is wrapped in rate limiting and anti-abuse heuristics. Slug allocation is collision-safe: two links created at the same moment can never be handed the same short code.

Key features

  • Custom domains and vanity URLs — links carry the brand rather than a generic short domain
  • Link expiry — never, after a week or after a month, chosen when the link is made
  • Click analytics — count, time, location, device and referrer for every click
  • Historical trends — a spike traced to the day and the source behind it
  • API-first — every number on the dashboard available to other tools
  • Abuse protection — rate limiting, anti-abuse heuristics and collision-safe slugs

Design

The home screen puts the whole product in one band: a headline, the field to paste a link into, the expiry choice and the button that shortens it. Running totals for links shortened, clicks and users sit underneath, and a signed-in user reaches their dashboard from the same header.

What we'd build next

Two additions would make Tuku easier to run at scale: automated onboarding and custom-domain verification, so a new team can connect its own domain without a support request, and an anomaly-detection layer that flags bot patterns and sudden traffic spikes before they distort a campaign's numbers.

See the work in action. Start your project with us.

Start a project