Stateful vs Stateless Web Apps with Python: Key Examples & Differences ๐
Discover clear examples of stateful and stateless web applications using Python. Enhance your backend skills with our popular Python on the Backend Course! Learn the differences and best practices today.

Hussein Nasser
12.1K views โข Jul 7, 2019

About this video
Python on the Backend Course: https://www.husseinnasser.com/courses
We have made a very popular video on stateless vs stateful application, but that was little bit theoretical and i wanted to follow it up with another video making it practical. We have two python tornado applications one is stateful and one stateless we got through both examples.
Stateful webapp
App with three buttons
Connect - connects to the postgres database
Read - Read the table
Close - close the database connection
Stateless web app
Read - It always opens a connection, use it read and then closes that connection.
More courses https://husseinnasser.com/courses
stateless vs stateful, stateless application example, stateful application example, stateless service, stateless programming, stateless python webapp, stateless postgres connection, psycopg2, stateful applications
Source Code: https://github.com/hnasr/python_playground/tree/master/stateful_stateless
1:00 statefull vs stateless https://www.youtube.com/watch?v=nFPzI_Qg3FU
11:00 fetch api
11:50 tcp vs udp
Stay Awesome!
Hussein
We have made a very popular video on stateless vs stateful application, but that was little bit theoretical and i wanted to follow it up with another video making it practical. We have two python tornado applications one is stateful and one stateless we got through both examples.
Stateful webapp
App with three buttons
Connect - connects to the postgres database
Read - Read the table
Close - close the database connection
Stateless web app
Read - It always opens a connection, use it read and then closes that connection.
More courses https://husseinnasser.com/courses
stateless vs stateful, stateless application example, stateful application example, stateless service, stateless programming, stateless python webapp, stateless postgres connection, psycopg2, stateful applications
Source Code: https://github.com/hnasr/python_playground/tree/master/stateful_stateless
1:00 statefull vs stateless https://www.youtube.com/watch?v=nFPzI_Qg3FU
11:00 fetch api
11:50 tcp vs udp
Stay Awesome!
Hussein
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
12.1K
Likes
289
Duration
14:42
Published
Jul 7, 2019
User Reviews
4.6
(2) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now