@platformatic/python-node v2.0.0 introduces HTTP streaming and WebSocket support, enabling real-time bidirectional communication between Python ASGI applications and Node.js. The release implements ASGI 3.0 protocol with new handleStream() method for incremental response processing, request body streaming with backpressure, and full WebSocket support. This enables use cases like server-sent events, live dashboards, chat applications, and ML model inference while maintaining backward compatibility. The streaming architecture provides proper backpressure between languages, reduces memory footprint for large responses, and allows immediate access to headers before body completion.
Table of contents
Permalink What's New in v2.0.0Permalink HTTP Streaming in Action: Server-Sent Events with FastAPIPermalink WebSocket Support: Building Real-Time ApplicationsPermalink Real-World Integration Scenarios for Full-Stack TeamsPermalink Getting Started and Migration GuidePermalink ConclusionSort: