Hosting Flet Applications
Overview
Flet applications rely on WebSockets for real-time, partial UI updates and event communication between the client and the Flet program.
Key Considerations
**WebSocket Support**: Ensure the hosting provider explicitly supports WebSockets. Some providers may restrict or offer WebSockets as a premium feature. Be aware of potential proxy configurations that might terminate WebSocket connections due to timeouts; Flet includes reconnection logic, but this can negatively impact user experience.
**Latency**: Minimize latency by selecting hosting providers with multiple data centers. Deploying your Flet app in a data center geographically closer to the majority of your users will improve responsiveness, as UI updates and events are transmitted frequently.Related Topics
Publishing Flet apps as dynamic websites.
Specific hosting guides (e.g., Fly.io, Replit, Self-Hosting).