# Stateless vs stateful web apps

DevFeed: [Stateless vs stateful web apps](<https://devfeed.tech/articles/stateless-vs-stateful-web-apps-44021.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/stateless-vs-stateful-web-apps>)

Author: George Guimarães

Published: 2016-02-04T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Stateful](<https://devfeed.tech/topics/stateful.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Server](<https://devfeed.tech/topics/server.md>), [Web app](<https://devfeed.tech/topics/webapp.md>)

Tags: [phoenix](<https://devfeed.tech/tags/phoenix.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [server](<https://devfeed.tech/tags/server.md>), [socket](<https://devfeed.tech/tags/socket.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [web](<https://devfeed.tech/tags/web.md>), [web-apps](<https://devfeed.tech/tags/web-apps.md>)

## AI overview

This article explains how stateless and stateful web applications differ in deployment and scaling. It contrasts independent HTTP requests with long-running WebSocket connections, emphasizing the infrastructure, proxy, server, concurrency, and memory implications of maintaining many open connections.

## Source excerpt

Learn the technical requirements and implications of running stateful web apps and how Phoenix simplifies your stack compared to frameworks like Rails and Socket.IO.