# Starlette

Starlette is a lightweight ASGI framework and toolkit for building asynchronous web services in Python.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Building ASGI Microservices with Cloudflare Python Workers in Production

DevFeed: [Building ASGI Microservices with Cloudflare Python Workers in Production](<https://devfeed.tech/articles/building-asgi-microservices-with-cloudflare-python-workers-in-production-58324.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/asgi-microservices-on-cloudflare-python-workers/>)

Author: SitePoint Team

Published: 2026-09-22T19:08:57Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [ASGI](<https://devfeed.tech/topics/asgi.md>), [Cloudflare Workers](<https://devfeed.tech/topics/cloudflare-workers.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [Python](<https://devfeed.tech/topics/python.md>), [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [async](<https://devfeed.tech/topics/async.md>), [Starlette](<https://devfeed.tech/topics/starlette.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [API](<https://devfeed.tech/topics/api.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [V8](<https://devfeed.tech/topics/v8.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [async](<https://devfeed.tech/tags/async.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [cloudflare-workers](<https://devfeed.tech/tags/cloudflare-workers.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [edge](<https://devfeed.tech/tags/edge.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [programming](<https://devfeed.tech/tags/programming.md>), [pyodide](<https://devfeed.tech/tags/pyodide.md>), [python](<https://devfeed.tech/tags/python.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [starlette](<https://devfeed.tech/tags/starlette.md>), [web](<https://devfeed.tech/tags/web.md>), [workers](<https://devfeed.tech/tags/workers.md>)

### AI overview

A practical guide to deploying production ASGI microservices built with Python frameworks such as FastAPI and Starlette on Cloudflare Workers. It covers edge execution, authenticated fan-out, Workers KV caching, global deployment, and cold-start optimization.

### Source excerpt

Deploy a Python ASGI microservice on Cloudflare Workers: Pyodide cold-start mitigation, async subrequest handling, and KV-backed state caching. Continue reading Building ASGI Microservices with Cloudflare Python Workers in Production on SitePoint.

## A Starlette middleware guide for FastAPI and Python developers

DevFeed: [A Starlette middleware guide for FastAPI and Python developers](<https://devfeed.tech/articles/a-starlette-middleware-guide-for-fastapi-and-python-developers-20057.md>)

Original publisher: [Read original article](<https://www.honeybadger.io/blog/starlette-middleware/>)

Author: Aditya Raj

Published: 2026-08-28T07:00:00Z

Content type: article

Language: en

Sources: [Honeybadger](<https://devfeed.tech/sources/honeybadger.md>)

Topics: [Starlette](<https://devfeed.tech/topics/starlette.md>), [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [ASGI](<https://devfeed.tech/topics/asgi.md>)

Tags: [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [cors](<https://devfeed.tech/tags/cors.md>), [distributed-tracing](<https://devfeed.tech/tags/distributed-tracing.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [guide](<https://devfeed.tech/tags/guide.md>), [logging](<https://devfeed.tech/tags/logging.md>), [middleware](<https://devfeed.tech/tags/middleware.md>), [python](<https://devfeed.tech/tags/python.md>), [python-articles](<https://devfeed.tech/tags/python-articles.md>), [route](<https://devfeed.tech/tags/route.md>), [starlette](<https://devfeed.tech/tags/starlette.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

Starlette middleware wraps the application so shared tasks such as logging, authentication, monitoring, and request filtering can run across routes without duplicating code in handlers. Middleware intercepts incoming requests before they reach a route (or the next middleware) and can inspect or modify them; it can also inspect or modify responses on their way back to the ASGI server. The excerpt gives examples of layers filtering disallowed sources or non-HTTPS requests, authenticating users, and measuring processing time. It does not provide the promised built-in middleware configurations, custom middleware implementations, or execution-order rules.

### Source excerpt

Starlette middlewares let you apply logging, auth, and CORS across every route in a web app without duplicating code. This article covers Starlette's built-in middlewares, building custom ones with pure ASGI and BaseHTTPMiddleware, and the execution-order rules that keep your FastAPI applications secure and fast. Read on to learn how to build and order Starlette middlewares the right way.

## Research Finds Frontier AI Coding Agents Often Reintroduce Previously Fixed Vulnerabilities

DevFeed: [Research Finds Frontier AI Coding Agents Often Reintroduce Previously Fixed Vulnerabilities](<https://devfeed.tech/articles/zombie-cves-put-to-rest-by-humans-dug-back-up-by-ai-agents-51287.md>)

Original publisher: [Read original article](<https://checkmarx.com/blog/zombie-cves-put-to-rest-by-humans-dug-back-up-by-ai-agents/>)

Author: Eran Kinsbruner

Published: 2026-07-26T11:47:28Z

Content type: article

Language: en

Sources: [Checkmarx](<https://devfeed.tech/sources/checkmarx.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Frontier AI](<https://devfeed.tech/topics/frontier-ai.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Starlette](<https://devfeed.tech/topics/starlette.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [adlc](<https://devfeed.tech/tags/adlc.md>), [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-llm-tools-in-application-security](<https://devfeed.tech/tags/ai-llm-tools-in-application-security.md>), [application-security-trends-insights](<https://devfeed.tech/tags/application-security-trends-insights.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [blog](<https://devfeed.tech/tags/blog.md>), [python](<https://devfeed.tech/tags/python.md>), [security-research](<https://devfeed.tech/tags/security-research.md>), [starlette](<https://devfeed.tech/tags/starlette.md>), [vibe-coding](<https://devfeed.tech/tags/vibe-coding.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

New research reports that 65-75% of working patches produced by tested frontier AI coding agents resurrected vulnerabilities that humans had previously found and fixed.

### Source excerpt

New research: 65-75% of frontier AI agents' working patches resurrect vulnerabilities that were already found, fixed, and buried. In 2023, a path traversal vulnerability in Starlette, one of Python's most popular web frameworks - was found, disclosed as CVE-2023-29159, and fixed. Case closed. The bug was dead and buried, like hundreds of thousands of CVEs before it: discovered by researchers, [...]

## Starlette vs FastAPI: what FastAPI actually adds

DevFeed: [Starlette vs FastAPI: what FastAPI actually adds](<https://devfeed.tech/articles/starlette-vs-fastapi-what-fastapi-actually-adds-20058.md>)

Original publisher: [Read original article](<https://www.honeybadger.io/blog/starlette-vs-fastapi/>)

Author: Farhan Hasin Chowdhury

Published: 2026-07-20T07:00:00Z

Content type: article

Language: en

Sources: [Honeybadger](<https://devfeed.tech/sources/honeybadger.md>)

Topics: [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [Starlette](<https://devfeed.tech/topics/starlette.md>), [Pydantic](<https://devfeed.tech/topics/pydantic.md>), [ASGI](<https://devfeed.tech/topics/asgi.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>)

Tags: [application](<https://devfeed.tech/tags/application.md>), [article](<https://devfeed.tech/tags/article.md>), [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [background](<https://devfeed.tech/tags/background.md>), [better](<https://devfeed.tech/tags/better.md>), [body](<https://devfeed.tech/tags/body.md>), [build](<https://devfeed.tech/tags/build.md>), [built-in](<https://devfeed.tech/tags/built-in.md>), [cases](<https://devfeed.tech/tags/cases.md>), [choice](<https://devfeed.tech/tags/choice.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [full-stack](<https://devfeed.tech/tags/full-stack.md>), [learn](<https://devfeed.tech/tags/learn.md>), [pydantic](<https://devfeed.tech/tags/pydantic.md>), [python](<https://devfeed.tech/tags/python.md>), [python-articles](<https://devfeed.tech/tags/python-articles.md>), [raw](<https://devfeed.tech/tags/raw.md>), [stack](<https://devfeed.tech/tags/stack.md>), [starlette](<https://devfeed.tech/tags/starlette.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

Starlette provides the ASGI web toolkit: routing, HTTP and WebSocket handling, middleware, background tasks, sessions, and testing support. Pydantic supplies typed data parsing, validation, serialization, and JSON Schema generation. FastAPI connects them by reading endpoint function type hints, adding parameter parsing and dependency injection, and generating OpenAPI documentation. The excerpt frames the choice as whether those higher-level conveniences are useful; it ends as the comparison begins, so it does not provide specific cases for choosing raw Starlette.

### Source excerpt

FastAPI is built on Starlette, but most developers never look at what's underneath. Learn what FastAPI actually adds on top of Starlette and Pydantic, what comes straight from Starlette, and when dropping down to raw Starlette makes more sense than pulling in the full stack.