<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by jagadeesh katla on Medium]]></title>
        <description><![CDATA[Stories by jagadeesh katla on Medium]]></description>
        <link>https://medium.com/@katla.jagadeesh?source=rss-a02567f2ef6d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Sc8EaEVNwuLE3SDupeSlhA.jpeg</url>
            <title>Stories by jagadeesh katla on Medium</title>
            <link>https://medium.com/@katla.jagadeesh?source=rss-a02567f2ef6d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 14:09:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@katla.jagadeesh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Meet Cello: Rust-Engineered Performance for Python Web APIs]]></title>
            <link>https://medium.com/@katla.jagadeesh/meet-cello-rust-engineered-performance-for-python-web-apis-78a09b87d80a?source=rss-a02567f2ef6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/78a09b87d80a</guid>
            <category><![CDATA[web-framework]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[rust]]></category>
            <dc:creator><![CDATA[jagadeesh katla]]></dc:creator>
            <pubDate>Fri, 21 Aug 2026 02:12:26 GMT</pubDate>
            <atom:updated>2026-08-21T02:16:07.334Z</atom:updated>
            <content:encoded><![CDATA[<p>The Python web ecosystem has long wrestled with an architectural trade-off: intuitive developer ergonomics versus raw execution speed. When services hit hundreds of thousands of concurrent requests, teams often face a difficult decision - add more worker nodes to absorb interpreter overhead, or rewrite performance-critical layers in C++or Rust.</p><p><strong>Cello</strong> (cello-framework) solves this dilemma by adopting a dual-engine architecture: execute the network hot path in pure Rust, while keeping business logic in clean, idiomatic Python.</p><h3>The Architecture: Offloading the Critical Path to Rust</h3><p>In standard ASGI/WSGI stacks, CPU cycles are spent inside the Python interpreter on mechanical tasks like HTTP parsing, regex routing, JSON serialization, and middleware evaluation. Under heavy concurrency, the GIL and interpreter overhead can introduce significant latency.</p><p>Cello delegates the request lifecycle directly to a native Rust engine before invoking Python route handlers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*PKcELE1CYYR3hDwJ2Om5eA.png" /></figure><ul><li><strong>Tokio + Hyper Core:</strong> HTTP/1.1 and HTTP/2 and HTTP/3 network I/O run asynchronously inside compiled Rust.</li><li><strong>Radix-Tree Routing (</strong><strong>matchit):</strong> Zero-regex route matching provides constant-time path lookups, supporting path parameters and wildcards.</li><li><strong>SIMD JSON Parsing (</strong><strong>simd-json):</strong> Payload parsing leverages CPU vector instructions for fast serialization and deserialization.</li><li><strong>PyO3 </strong><strong>abi3 Bindings:</strong> Interfaces directly with Python 3.12+ runtimes while maintaining stability across minor releases.</li></ul><h3>Benchmark Performance</h3><p>In standard release benchmarks run on an 8-core machine (In wsl) using wrk (-t12 -c400 -d10s, 4 workers):</p><pre>| Endpoint                | Requests / Sec | Avg Latency |<br>| ----------------------- | -------------: | ----------: |<br>| GET / (Simple JSON)     | ~138,000 req/s |  3.3–4.7 ms |<br>| GET /json (Nested JSON) | ~134,000 req/s |  3.3–3.8 ms |</pre><h3>Clean, Intuitive Developer Experience</h3><p>Cello retains standard decorator-driven routing and supports both synchronous and asynchronous handlers out of the box:</p><pre>from cello import App, Response<br><br>app = App()<br><br>@app.get(&quot;/&quot;)<br>def index(request):<br>    return {&quot;status&quot;: &quot;ok&quot;, &quot;message&quot;: &quot;Welcome to Cello!&quot;}<br><br>@app.get(&quot;/users/{id}&quot;)<br>async def get_user(request):<br>    user_id = request.params[&quot;id&quot;]<br>    return {&quot;id&quot;: user_id, &quot;active&quot;: True}<br><br>@app.post(&quot;/users&quot;)<br>async def create_user(request):<br>    data = request.json()<br>    return Response.json({&quot;created&quot;: True, &quot;user&quot;: data}, status=201)<br><br>if __name__ == &quot;__main__&quot;:<br>    app.run()</pre><h3>Getting Started</h3><p>Install the package via pip:</p><pre>pip install cello-framework  </pre><ul><li><strong>GitHub Repository:</strong> <a href="https://github.com/jagadeesh32/cello">github.com/jagadeesh32/cello</a></li><li><strong>Documentation:</strong> <a href="https://cello.lineupcode.com/">cello.lineupcode.com</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78a09b87d80a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>