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.

Stateful vs Stateless Web Apps with Python: Key Examples & Differences ๐Ÿ”
Hussein Nasser
12.1K views โ€ข Jul 7, 2019
Stateful vs Stateless Web Apps with Python: Key Examples & Differences ๐Ÿ”

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

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)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.