Menu

1 / 2

The Next Release of PAGI::Server Will Be Slower, and that's Fine.

DEV Community: perl·John Napiorkowski·5 days ago
#w8MFtk6f
#devtoperl#devto#dev#secs#pagi
Reading 0:00
15s threshold

Over the last few months a lot of work has gone into the PAGI specification and its reference server PAGI::Server to make it more resilient under more real life workloads. The main focus of this release is to make PAGI::Server dependable when clients misbehave or connections end at awkward moments. Clients can abandon uploads, stop reading responses, send malformed traffic, or disappear halfway through a WebSocket closing handshake. Across HTTP, WebSocket, and SSE, the server should handle those cases predictably: report what actually happened, distinguish successful completion from an interrupted exchange, settle pending operations, and release resources without losing cleanup notifications.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.