Skip to content

Commit da3c4ad

Browse files
committed
Refine pasta overhead analysis: highlight Quarkus CPU saturation and clarify Spring's reduced sensitivity to networking gains
1 parent e74950c commit da3c4ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • content/post/hidden-cost-rootless-container-networking

content/post/hidden-cost-rootless-container-networking/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Fedora's `firewalld` maintains 973 https://wiki.nftables.org/[nftables] rules th
100100

101101
Removing pasta boosts Quarkus by 55% but Spring by only 2.3%. **The same absolute overhead hits the efficient framework harder.**
102102

103-
Pasta adds ~0.073 ms of kernel CPU per request (the difference between 0.231 and 0.158 ms/req). For Quarkus, whose framework cost is just 0.158 ms/req, that overhead consumes **46% of its CPU budget**. For Spring, whose framework cost is ~0.233 ms/req, the same overhead is **31%**. When your framework already spends most of its CPU on its own code, saving a few cycles on networking matters less.
103+
Pasta adds ~0.073 ms of kernel CPU per request to Quarkus (the difference between 0.231 and 0.158 ms/req)that's **46% on top of its framework cost**. Quarkus is CPU-saturated, so every freed cycle translates directly to more requests. Spring spends far more CPU in its own framework code, so saving a small fraction of cycles on networking simply cannot help.
104104

105105
**The more CPU-efficient your framework is, the more you feel the infrastructure tax.**
106106

0 commit comments

Comments
 (0)