Skip to content

Commit 29bcf6c

Browse files
committed
add relevant BuckleScript -> ReScript context
1 parent c7989cd commit 29bcf6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

data/success_stories/ahrefs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ By 2017, Ahrefs faced a frontend bottleneck. Their frontend was built with PHP a
3232

3333
Over a decade later, Ahrefs stands as one of the OCaml community's most enduring success stories—a company that didn't just survive betting on OCaml, but thrived because of it. What started as a small team writing crawlers in OCaml has evolved into a **$100M+ ARR company** with **150 employees** and **4000+ servers**, all while maintaining their original philosophy of doing more with less.
3434

35-
The full-stack OCaml vision became reality when Ahrefs successfully transitioned their entire frontend team from PHP and jQuery to OCaml using Melange and React. This eliminated the API bottleneck between teams—frontend developers could now work directly with backend data types, and everyone in the company could contribute across the entire stack. The result was a unified codebase of **1.5 million lines of OCaml** powering systems that handle **5 billion frontend requests** and **500 billion backend requests per day**. For more up-to-date statistics, see [Ahrefs' statistics and metrics page](https://ahrefs.com/big-data).
35+
Around 2017-2020, Ahrefs' frontend lead investigated new technologies like Reason/BuckleScript and created demo applications, which ultimately led to the company transitioning their web frontend to [BuckleScript](https://discuss.ocaml.org/t/a-short-history-of-rescript-bucklescript/7222). BuckleScript later [rebranded as ReScript](https://rescript-lang.org/blog/bucklescript-is-rebranding) and decided to take a different direction from its OCaml roots to enable evolution of ReScript as a separate language.
36+
37+
Ultimately, in 2023, the full-stack OCaml vision became reality when [Ahrefs successfully transitioned from ReScript to OCaml using Melange](https://tech.ahrefs.com/ahrefs-is-now-built-with-melange-b14f5ec56df4) and [React](https://tech.ahrefs.com/building-react-server-components-in-ocaml-81c276713f19). This eliminated the API bottleneck between teams—frontend developers could now work directly with backend data types, and everyone in the company could contribute across the entire stack. The result was a unified codebase of **1.5 million lines of OCaml** powering systems that handle **5 billion frontend requests** and **500 billion backend requests per day**. For more up-to-date statistics, see [Ahrefs' statistics and metrics page](https://ahrefs.com/big-data).
3638

3739
But the real victory isn't just the scale—it's the sustainability. Ahrefs proved that OCaml's "boring" reliability and expressiveness could power not just technical excellence, but business excellence. They've maintained their position as an industry leader trusted by **44% of Fortune 500 companies** while staying true to their original vision: a lean, efficient team empowered by a technology stack that amplifies rather than constrains their capabilities.
3840

0 commit comments

Comments
 (0)