<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/announcing-ada-v4-validating-35-6m-urls-per-second-pk9pmm6ca" -->

---
title: Announcing Ada v4: Validating 35.6M URLs per second
description: Ada 4.0.0, the WHATWG-compliant URL parser used by Node.js, Cloudflare Workers, Redpanda, Kong, Telegram, Datadog, and ClickHouse, ships with major speed...
canonical: https://daily.dev/posts/announcing-ada-v4-validating-35-6m-urls-per-second-pk9pmm6ca
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Announcing Ada v4: Validating 35.6M URLs per second | daily.dev
og:description: Ada 4.0.0, the WHATWG-compliant URL parser used by Node.js, Cloudflare Workers, Redpanda, Kong, Telegram, Datadog, and ClickHouse, ships with major speed...
og:url: https://daily.dev/posts/announcing-ada-v4-validating-35-6m-urls-per-second-pk9pmm6ca
og:image: https://api.daily.dev/og/posts/PK9Pmm6cA.png
og:image:alt: Announcing Ada v4: Validating 35.6M URLs per second
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Announcing Ada v4: Validating 35.6M URLs per second

**[Yagiz Nizipli](https://daily.dev/sources/yagiz)** · 8 min read · 0 upvotes · 0 comments

## Summary

Ada 4.0.0, the WHATWG-compliant URL parser used by Node.js, Cloudflare Workers, Redpanda, Kong, Telegram, Datadog, and ClickHouse, ships with major speed gains, a smaller binary footprint, and hardened parsing. Benchmarks on Apple M5 Max show can_parse throughput jumping from 17.1M to 35.6M URLs/s, with url_aggregator and ada::url also seeing 20-30% latency reductions. IDNA table compression shrinks src/ada_idna.cpp from 683 KiB to 400 KiB, cascading into smaller amalgamated and shared-library artifacts. The release bumps the shared library soname from libada.so.3 to libada.so.4, requiring downstream rebuilds, adds a configurable maximum URL length (default ~4GB) for defense against untrusted input, and fixes several correctness bugs including host-parsing rollback failures, hex IPv4 overflow handling, and IDNA Bidi rule enforcement. Security hardening addresses a URLPattern tokenizer DoS on malformed UTF-8 and integer wraparound in component offsets, alongside expanded fuzzing coverage.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.yagiz.co/release-of-ada-v4>

## Questions this post answers

### What changed in Ada v4.0.0 that requires rebuilding downstream packages?

Ada 4.0.0 bumps the shared library soname from libada.so.3 to libada.so.4 because the ABI intentionally changed. Downstream packages linking the shared library must rebuild against 4.0.0 or install a package providing libada.so.4. Static linking and the amalgamated ada.h/ada.cpp pair are unaffected beyond a normal recompile.

_daily.dev keeps developers ahead of ABI and soname bumps before a rebuild breaks their pipeline._

### How much faster is Ada 4.0.0 compared to Ada 3.4.4 for URL parsing?

On a 100k-URL realistic dataset benchmarked on Apple M5 Max, ada::can_parse throughput rose from 17.1M to 35.6M URLs per second, a 2.08x speedup. Full ada::url parsing improved from 159.3 ns to 128.8 ns per URL (1.24x), and url_aggregator parsing went from 98.5 ns to 81.5 ns per URL (1.21x).

_Teams choosing a URL parser for high-throughput services can weigh benchmarks like these on daily.dev._

### Does Ada's new max input length setting change default URL parsing behavior?

No, the default maximum input length remains about 4 GB (UINT32_MAX), so most applications see no behavior change after upgrading. Services that accept untrusted URL strings can call ada::set_max_input_length to enforce a tighter limit on both raw input and normalized href, including percent-encoding expansion, as defense against oversized or amplification attacks.

_daily.dev helps developers securing untrusted input pipelines track hardening changes like this one._

## Similar posts on daily.dev

- [Eight bytes in one register](https://daily.dev/posts/eight-bytes-in-one-register-mloumcpw2) · Yagiz Nizipli · 2 upvotes · 0 comments
- [This Month in Ladybird](https://daily.dev/posts/this-month-in-ladybird-wmtgqhzgv) · Hacker News · 12 upvotes · 2 comments
- [A slightly faster slimmer curl](https://daily.dev/posts/a-slightly-faster-slimmer-curl-md3wg8skq) · daniel.haxx.se · 15 upvotes · 0 comments
- [Zod Brings In-Process Schema Compilation and a 9x Cut in Memory Footprint](https://daily.dev/posts/zod-brings-in-process-schema-compilation-and-a-9x-cut-in-memory-footprint-v66bavi13) · InfoQ · 12 upvotes · 1 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#nodejs](https://daily.dev/tags/nodejs), [#deep-learning](https://daily.dev/tags/deep-learning), [#c++](https://daily.dev/tags/c++)

[View this post on daily.dev](https://daily.dev/posts/announcing-ada-v4-validating-35-6m-urls-per-second-pk9pmm6ca)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Announcing Ada v4: Validating 35.6M URLs per second","url":"https://daily.dev/posts/announcing-ada-v4-validating-35-6m-urls-per-second-pk9pmm6ca","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/announcing-ada-v4-validating-35-6m-urls-per-second-pk9pmm6ca"},"datePublished":"2026-09-13T19:57:44.809Z","dateModified":"2026-09-13T19:59:16.207Z","description":"Ada 4.0.0, the WHATWG-compliant URL parser used by Node.js, Cloudflare Workers, Redpanda, Kong, Telegram, Datadog, and ClickHouse, ships with major speed...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7e0c50b59bcb0439746457e1ab29619c?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7e0c50b59bcb0439746457e1ab29619c?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Yagiz Nizipli","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Yagiz Nizipli","logo":"https://media.daily.dev/image/upload/s--9Cscmaqk--/f_auto,q_auto/v1789329427/logos/yagiz?_a=BAMAMicg0","url":"https://daily.dev/sources/yagiz"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/announcing-ada-v4-validating-35-6m-urls-per-second-pk9pmm6ca","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,nodejs,deep-learning,c++","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Yagiz Nizipli","item":"https://daily.dev/sources/yagiz"},{"@type":"ListItem","position":3,"name":"Announcing Ada v4: Validating 35.6M URLs per second"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/announcing-ada-v4-validating-35-6m-urls-per-second-pk9pmm6ca#faq","mainEntity":[{"@type":"Question","name":"What changed in Ada v4.0.0 that requires rebuilding downstream packages?","acceptedAnswer":{"@type":"Answer","text":"Ada 4.0.0 bumps the shared library soname from libada.so.3 to libada.so.4 because the ABI intentionally changed. Downstream packages linking the shared library must rebuild against 4.0.0 or install a package providing libada.so.4. Static linking and the amalgamated ada.h/ada.cpp pair are unaffected beyond a normal recompile. daily.dev keeps developers ahead of ABI and soname bumps before a rebuild breaks their pipeline."}},{"@type":"Question","name":"How much faster is Ada 4.0.0 compared to Ada 3.4.4 for URL parsing?","acceptedAnswer":{"@type":"Answer","text":"On a 100k-URL realistic dataset benchmarked on Apple M5 Max, ada::can_parse throughput rose from 17.1M to 35.6M URLs per second, a 2.08x speedup. Full ada::url parsing improved from 159.3 ns to 128.8 ns per URL (1.24x), and url_aggregator parsing went from 98.5 ns to 81.5 ns per URL (1.21x). Teams choosing a URL parser for high-throughput services can weigh benchmarks like these on daily.dev."}},{"@type":"Question","name":"Does Ada's new max input length setting change default URL parsing behavior?","acceptedAnswer":{"@type":"Answer","text":"No, the default maximum input length remains about 4 GB (UINT32_MAX), so most applications see no behavior change after upgrading. Services that accept untrusted URL strings can call ada::set_max_input_length to enforce a tighter limit on both raw input and normalized href, including percent-encoding expansion, as defense against oversized or amplification attacks. daily.dev helps developers securing untrusted input pipelines track hardening changes like this one."}}]}
```

