Modal Made Crystal Clear · chapter 3: Zero to Cloud in Ten Minutes

three call styles on one function

2026-10-30

Only the method name changes; the code, the logs, and the terminal stay the same.

Below: the paragraph from the book that builds this idea, then the diagram itself (Figure 3.1), and a recap. About a minute of reading.

Figure 3.1 shows the same idea as a picture: one function, three execution targets, and everything streaming back to the one terminal you are sitting at. This diagram zooms into the input arrows of the big schema from chapter 2 (Figure 2.1); the App, autoscaler, and container pool you met there are all behind the two right-hand panels.

Figure 3.1: three call styles on one function. Only the method name changes; the code, the logs, and the terminal stay the same.
Figure 3.1: three call styles on one function. Only the method name changes; the code, the logs, and the terminal stay the same.

Recap

  • The idea: Only the method name changes; the code, the logs, and the terminal stay the same.
  • The picture: Figure 3.1, from chapter 3 ("Zero to Cloud in Ten Minutes") of Modal Made Crystal Clear.
  • Go deeper: the chapter builds this step by step, with recipes and sources at the end.

This diagram is one of many in Modal Made Crystal Clear.

Every chapter opens with the gist, draws the hard ideas, and ends with recipes and sources.

Get the book

All diagrams