AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

App platforms: stateless apps, environment config and the deploy that logged everyone out

See why an app that keeps users' sessions in its own memory breaks as soon as you run two copies, how configuration kept in the environment lets one build run everywhere, and fix a deploy that signs every user out.

Platforms such as Cloud Foundry (and the SAP BTP Cloud Foundry environment) run your app as several short-lived instances and restart them whenever you deploy, scale or move them. That works only if the app is stateless (nothing important lives in one instance's memory) and takes its configuration from the environment rather than from the code. These are the core ideas of the "twelve-factor" way of building apps.

This course models both ideas with small Python programs you can run in your browser. Python stands in for the platform: the code is not a manifest, but the routing, the restarts and the configuration checks it shows follow how app platforms behave. Check your platform's documentation for exact commands, environment variables and the services it offers for sessions. All numbers are made up.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

No platform experience is assumed. Basic Python helps.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 25 min Free sample 🔒 AiTeky Pass The second instance has never met you Simulate a user whose session lives in one instance's memory, and see how running two or three instances logs them out, and how a shared store fixes it.
  2. 02 25 min 🔒 AiTeky Pass One build, many environments Read configuration from the environment so the same build runs in test and production, fail fast on a missing setting, and keep secrets out of logs.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 03 30 min 🔒 AiTeky Pass On the job: the deploy that logged everyone out Every deploy signs 5,000 active users out and floods support. Count the cost, compare four fixes by effort and risk, choose, and write the note.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in