Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Improving PicoHTTPParser further with AVX2

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Vlad Krasnov
Word Count
699
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

Vlad Krasnov recently joined CloudFlare and has been working on low level optimization of their servers. In a recent blog post, he discusses an improvement to PicoHTTPParser using the SSE4.2 instruction PCMPESTRI for finding delimiters in HTTP requests/responses. However, this method has limitations such as high latency and limited throughput. Krasnov proposes using AVX2 instructions instead, which operate on 32 bytes and have a higher throughput. He also suggests changing the logical flow of the program from latency bound to throughput oriented by creating bitmaps for all occurrences in a long string. This results in significant performance improvements compared to the previous version using PCMPESTRI.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.