Latest / CyberCode Academy / Course 31 - Dive Into Docker | Episode 11: Framework Starters and Design Best Practices
Transcript
- 0:00Speaker 1: Imagine moving into this incredibly futuristic, highly automated smart home,
- 0:07Speaker 1: like the kind of place with climate control zones, built in,
- 0:10Speaker 1: ambient lighting, automated security.
- 0:12Speaker 2: Oh that sounds amazing, right.
- 0:14Speaker 1: It practically runs itself. But when you move in, you
- 0:17Speaker 1: insist on bringing all of your clunky, outdated furniture, like.
- 0:21Speaker 2: A massive vintage sofa.
- 0:23Speaker 1: Exactly. You drag in this massive vintag sofa that completely
- 0:27Speaker 1: blocks the motion sensors, and you plug in an antique
- 0:29Speaker 1: lamp that constantly trips the smart grits breakers.
- 0:33Speaker 2: So you're basically fighting the architecture rather than leveraging it.
- 0:36Speaker 1: Yeah, you have this brilliant new environment, but you're sabotaging
- 0:39Speaker 1: it because you're trying to live in it exactly the
- 0:41Speaker 1: same way you lived in your old apartment.
- 0:43Speaker 2: The environment completely changed around you, but the behavior of
- 0:46Speaker 2: the things inside it, well, they didn't adapt.
- 0:48Speaker 1: Welcome to the deep dive today, we are exploring a
- 0:51Speaker 1: transition that feels exactly like that smart home scenario.
- 0:55Speaker 2: It really does.
- 0:56Speaker 1: We are crossing the bridge from just understanding basic Docker command,
- 1:00Speaker 1: you know, like spinning up a pre Maine image, to
- 1:03Speaker 1: actually architecting and docrizing your own real world Web applications.
- 1:08Speaker 2: And that transition is historically where so many developers just
- 1:12Speaker 2: hit a wall.
- 1:13Speaker 1: Yeah they really do.
- 1:14Speaker 2: Applying Docker to production level applications isn't just about throwing
- 1:17Speaker 2: your existing code into a container and hoping it runs.
- 1:20Speaker 2: It requires a fundamental paradigm shift in how you design
- 1:23Speaker 2: the applications behavior from the ground up.
- 1:26Speaker 1: So today's mission is to map out that paradigm shift
- 1:29Speaker 1: for you. We're going to explore the absolute essential blueprint
- 1:32Speaker 1: every project needs, break down some critical architectural rules for scalability,
- 1:37Speaker 1: and unpack a massive logging trap that catches almost everyone
- 1:41Speaker 1: off guard.
- 1:42Speaker 2: That logging trap is a big one.
- 1:43Speaker 1: Oh yeah, And finally, we'll explore why making your application
- 1:46Speaker 1: incredibly unbelievably stupid is actually the smartest thing you can
- 1:50Speaker 1: do for its survival.
- 1:51Speaker 2: Making an application stupid to make the infrastructure smart. I mean,
- 1:54Speaker 2: in the context of modern development, it is the absolute
- 1:57Speaker 2: core of system resilience.
- 1:59Speaker 1: Let's start with the found foundation before we can even
- 2:01Speaker 1: touch application design. We need the materials to get a
- 2:04Speaker 1: project off the ground right. The materials we're reviewing today
- 2:08Speaker 1: lay out a very specific blueprint, like four fundamental files
- 2:12Speaker 1: that should be sitting at the root of every single
- 2:15Speaker 1: dock rized project you build.
- 2:16Speaker 2: Yeah, we are looking at a Docker file, a doctre
- 2:19Speaker 2: ignor file, a doctor composed UL file, in an N file.
- 2:25Speaker 1: Four files. Right.
- 2:26Speaker 2: Strictly speaking, you could hack a container together without all
- 2:30Speaker 2: of them, but for a robust, professional setup, skipping any
- 2:34Speaker 2: of these is a mistake.
- 2:35Speaker 1: The docter file is your recipe, the doctor composed file
- 2:39Speaker 1: is the orchestrator getting your containers to talk to each other,
- 2:41Speaker 1: and the n handles your secrets. But let's pause on
- 2:46Speaker 1: that doctor ignore file.
- 2:48Speaker 2: Ah.
- 2:48Speaker 1: Yes, I think a lot of developers treated as an afterthought,
- 2:51Speaker 1: sort of like a standard gidnore. But the stakes are
- 2:54Speaker 1: much higher in the containerized.
- 2:55Speaker 2: Environment, much higher. It's not just about keeping the final
- 2:58Speaker 2: image size down, though you know that is important. It
- 3:01Speaker 2: fundamentally dictates your build times through Docker's layer caching mechanism.
- 3:06Speaker 1: Right the caching.
- 3:07Speaker 2: If you don't aggressively ignore local directories like a massive
- 3:11Speaker 2: mode modules folder or local log files or tem data,
- 3:15Speaker 2: Docker will evaluate those files during the build process.
- 3:18Speaker 1: It just scans everything.
- 3:19Speaker 2: Exactly, and if a single local log file changes, Docker
- 3:23Speaker 2: busts the cash for that entire layer. A build that
- 3:27Speaker 2: should take ten seconds suddenly takes ten minutes because you
- 3:30Speaker 2: forgot to ignore a constantly changing local directory.
- 3:33Speaker 1: Ten minutes instead of ten seconds. That adds up fast.
- 3:36Speaker 1: And there's the security aspect too. If you don't ignore
- 3:39Speaker 1: your local d file, you might accidentally bake your development
- 3:43Speaker 1: databased password straight into the static.
- 3:45Speaker 2: Image and push that to a public registry.
- 3:47Speaker 1: Yeah, total nightmare.
- 3:48Speaker 2: Precisely, that four file blueprint is critical, but setting those
- 3:52Speaker 2: files up from scratch, perfectly tuned for your specific web
- 3:55Speaker 2: framework is notoriously tedious.
- 3:57Speaker 1: A lot of trial and error, endless.
- 3:59Speaker 2: Trial and error with sports dependency managers and volume mappings,
- 4:03Speaker 2: which brings us to a highly recommended approach leveraging starter projects.
- 4:07Speaker 1: Right this sources strongly advocate for these pre coded templates.
- 4:11Speaker 1: They actually highlight readily available royalty free templates for seven
- 4:16Speaker 1: major frameworks out of the box.
- 4:18Speaker 2: Flask Express, dot Net, Django, Rubyon, Rails, go Lang, and Larravel.
- 4:24Speaker 1: Yeah, you can grab these templates and immediately use them
- 4:26Speaker 1: as rappers for your own applications.
- 4:28Speaker 2: It gives you a massive headstart. I mean, you completely
- 4:30Speaker 2: eliminate the friction of reinventing the infrastructure wheel every time
- 4:33Speaker 2: you start a new build.
- 4:34Speaker 1: Okay, let's unpack this. The materials specify that these starter
- 4:38Speaker 1: templates are deliberately kept incredibly basic, like bare bones, Hello
- 4:44Speaker 1: wind levels simple, very simple. If someone is listening to
- 4:47Speaker 1: this and they are already a senior Jango developer, or
- 4:50Speaker 1: they've been building massive enterprise architectures in dot need for years,
- 4:54Speaker 1: why on earth would they want a basic Hello World
- 4:58Speaker 1: starter project? Doesn't that feel like going backward.
- 5:01Speaker 2: What's fascinating here is that you have to completely separate
- 5:03Speaker 2: your application logic from the infrastructure logic. The Hello World
- 5:07Speaker 2: app isn't the product, It's just a placeholder. The true
- 5:10Speaker 2: gold in these starter projects is the heavily optimized, pre
- 5:14Speaker 2: configured Docker file and Docker Compose environment surrounding it.
- 5:17Speaker 1: Ah, so it's not teaching you how to write Jango.
- 5:20Speaker 1: It's a guaranteed, stable ecosystem that already knows how to
- 5:24Speaker 1: host Jango inside a container exactly.
- 5:27Speaker 2: The hardest part of porting an existing framework into Docker
- 5:31Speaker 2: is dealing with its specific quirks, like how does it
- 5:34Speaker 2: bind to a network port? How does it handle static
- 5:38Speaker 2: assets behind a proxy? Right by starting with a Hello
- 5:41Speaker 2: World app that already has a perfectly tuned Docker environment,
- 5:45Speaker 2: wrapped around it. You isolate the variables. If you copy
- 5:48Speaker 2: your complex application code into that container and it breaks,
- 5:52Speaker 2: you know immediately the issue is in your application code,
- 5:54Speaker 2: not a misconfigured container port the infrastructure works.
- 5:58Speaker 1: Going back to our smart home analogy, you're buying a
- 6:00Speaker 1: house that perfectly calibrates the heating, cooling, and security. You
- 6:04Speaker 1: don't need the house to come fully furnish exactly. Yeah,
- 6:06Speaker 1: you just swap out the placeholder Hello World furniture with
- 6:10Speaker 1: your custom bill pieces, knowing the grid won't short out.
- 6:13Speaker 2: That is the ideal workflow. But once you bring your
- 6:16Speaker 2: custom code into this new environment, you have to break
- 6:19Speaker 2: some ole habits. Designing an app to live inside a container,
- 6:23Speaker 2: even on a single machine, means designing it as if
- 6:26Speaker 2: it's going to scale across one hundred servers.
- 6:28Speaker 1: And the first habit developers need to break is how
- 6:31Speaker 1: they handle logging.
- 6:32Speaker 2: Oh absolutely, this is.
- 6:34Speaker 1: Where people bring that anti clamp into the smart home.
- 6:37Speaker 1: The old habit is writing logs to a disc right.
- 6:40Speaker 2: Traditionally, frameworks like Rivion Rails or Larreval, they're configured by
- 6:46Speaker 2: default to write log files directly to a temporary directory
- 6:49Speaker 2: inside the project.
- 6:50Speaker 1: Folder, which makes sense on a normal server.
- 6:52Speaker 2: On a permanent, bare metal server. That's fine, you just
- 6:55Speaker 2: ssh into the server and read the text file. But
- 6:58Speaker 2: containers are ephemeral by design. They are meant to be
- 7:00Speaker 2: destroyed and recreated at a moment's notice.
- 7:03Speaker 1: So if your app is writing a log file to
- 7:05Speaker 1: the disk inside the container, and that container crashes and restarts,
- 7:09Speaker 1: that log file is vaporized, woof gone right when you
- 7:12Speaker 1: desperately needed to debug the crash, The evidence is just gone.
- 7:16Speaker 2: It's well, it's a disaster. In production and in development,
- 7:19Speaker 2: where you are likely using a volume mount to sink
- 7:22Speaker 2: your code. It creates a completely different problem for clutter Exactly.
- 7:26Speaker 2: The container writes logs to its internal temp folder, which
- 7:29Speaker 2: is mounted to your host machine, and suddenly your local
- 7:31Speaker 2: hard drive is cluttered with endless generated log files.
- 7:35Speaker 1: The metaphor I keep thinking of is writing in a
- 7:38Speaker 1: private diary versus broadcasting in a news ticker. The old
- 7:42Speaker 1: way is writing everything down in a physical diary and
- 7:45Speaker 1: hiding it under the bed. If the bed burns down,
- 7:48Speaker 1: the diary is gone. The container ways stopping the physical
- 7:51Speaker 1: writing entirely.
- 7:52Speaker 2: That is a perfect way to look at it. Thestcution
- 7:55Speaker 2: is to configure your web application to stop writing files
- 7:58Speaker 2: entirely and instead push all of its log output directly
- 8:01Speaker 2: to standard out or start out.
- 8:03Speaker 1: Most developers know to log t st out. But the
- 8:05Speaker 1: crucial piece here is how Docker actually wrangles those streams
- 8:09Speaker 1: without choking the demon what happens to that broadcasted newsticker.
- 8:13Speaker 2: By default, Docker uses logging drivers. When your application pushes
- 8:18Speaker 2: a message to standard out, the Docker Damon intercepts that stream.
- 8:22Speaker 2: It completely decouples the logging mechanism from your application, so
- 8:26Speaker 2: the app doesn't have to manage it exactly. The default driver,
- 8:30Speaker 2: usually the Jason file driver, formats that stream and stores
- 8:33Speaker 2: it at the host level, completely safely outside the ephemeral container.
- 8:38Speaker 1: Your app is just shouting into the void, completely unaware
- 8:41Speaker 1: of what happens next, and Docker is catching every word.
- 8:44Speaker 2: And that separation of concerns is incredibly powerful. At the
- 8:48Speaker 2: system level, you can configure the Docker demon to automatically
- 8:51Speaker 2: rotate those logs when they hit a certain size. Oh nice,
- 8:54Speaker 2: Or you can change the logging driver entirely to ship
- 8:57Speaker 2: those streams directly to a centralized server like Elcy or
- 9:00Speaker 2: data Dog without changing a single line of your application code.
- 9:04Speaker 2: Your app doesn't need to know how to connect a
- 9:06Speaker 2: data dog. It just prints to stir out and the
- 9:08Speaker 2: infrastructure has the rest.
- 9:10Speaker 1: But wait, if we are shipping logs to an external
- 9:13Speaker 1: service like data Dog, the environment needs an apikey to authenticate,
- 9:18Speaker 1: and if we are keeping our application clean and decoupled,
- 9:21Speaker 1: we certainly aren't hard coding that apikey into the source code.
- 9:25Speaker 2: Definitely not.
- 9:26Speaker 1: So where does that configuration live?
- 9:28Speaker 2: That brings us directly to configuration management. The materials strongly
- 9:31Speaker 2: mandate extracting all configuration out of the application's internal files
- 9:35Speaker 2: and moving them strictly into environment variables.
- 9:38Speaker 1: Even if the framework has its own sophisticated config files.
- 9:42Speaker 2: Especially then, hard coded configuration files tie your application to
- 9:46Speaker 2: a specific environment. If your database URL is in a
- 9:49Speaker 2: config file, moving from a local development laptop to a
- 9:52Speaker 2: staging server means you either have to rewrite the code
- 9:55Speaker 2: or build complex logic to detect where the app is.
- 9:57Speaker 1: Running, which introduces massive risk. You never want a scenario
- 10:01Speaker 1: where a production database pass whord accidentally gets committed to
- 10:04Speaker 1: a get repository because a developer just forgot to swap
- 10:08Speaker 1: a config file back.
- 10:09Speaker 2: By relying exclusively on environment variables, the application just boots
- 10:13Speaker 2: up and queries its surrounding operating system for the current variables.
- 10:17Speaker 2: It asks the OS what is the database URL?
- 10:21Speaker 1: Right?
- 10:21Speaker 2: This means you can use the exact same immutable Docker
- 10:24Speaker 2: image in development, staging, and production. The only thing that
- 10:28Speaker 2: changes is the envy file you feed it at runtime.
- 10:31Speaker 1: I want to dig into the mechanics of that and
- 10:32Speaker 1: the context of Docker. There is a big distinction between
- 10:36Speaker 1: ARG and ENV. How does Docker compose actually inject these
- 10:41Speaker 1: variables so the application can read them.
- 10:43Speaker 2: It's a really critical distinction. ARG variables are only available
- 10:47Speaker 2: during the actual image build process. Say, if you need
- 10:50Speaker 2: a token to download a private code package while running
- 10:53Speaker 2: the Docker file.
- 10:53Speaker 1: Got it.
- 10:54Speaker 2: They do not persist into the final running container. ENV variables,
- 10:57Speaker 2: on the other hand, are strictly for runtime. Okay, so
- 11:00Speaker 2: that's the live app exactly. When you use a Docker
- 11:03Speaker 2: composed dot mlo file, you can map your local end
- 11:06Speaker 2: file to the service. When Docker spins up the container,
- 11:10Speaker 2: it takes those values and injects them directly into the
- 11:13Speaker 2: isolated process tree of the container before it even executes
- 11:16Speaker 2: your application's entry point.
- 11:18Speaker 1: So the framework boots up, checks the system environment just
- 11:22Speaker 1: like it normally would, and the variables are magically there
- 11:24Speaker 1: provided by the composed orchestrator.
- 11:26Speaker 2: Exactly, the app is entirely shaped by the environment it's
- 11:29Speaker 2: placed in, which leads us to the final and perhaps
- 11:32Speaker 2: most counterintuitive architectural rule, which is you must design your
- 11:36Speaker 2: web applications to be as stupid as possible.
- 11:39Speaker 1: Here's where it gets really interesting. When the sources say stupid,
- 11:42Speaker 1: they are talking specifically about the application's memory. They state
- 11:47Speaker 1: that the application itself should have the memory of a goldfish.
- 11:50Speaker 2: Yes, the technical term is statelessness. A truly scalable web
- 11:54Speaker 2: application holds no state, no local cache, and no memory
- 11:58Speaker 2: of past events from one HTTP request to the next.
- 12:01Speaker 1: I understand the theory because of the ephemeral nature of containers.
- 12:05Speaker 1: If the app restarts, local memory is wiped. But how
- 12:09Speaker 1: does that work in reality? For a user?
- 12:11Speaker 2: It can be tricky to conceptualize, right, because if I
- 12:14Speaker 2: log into an e commerce platform, add an item to my.
- 12:16Speaker 1: Cart, and click to the checkout page, the application has
- 12:19Speaker 1: to remember who I am. If the app is a goldfish,
- 12:23Speaker 1: how does it know I'm still logged in?
- 12:25Speaker 2: Well? Traditionally, older frameworks solve this by keeping a session
- 12:29Speaker 2: file in the server's local memory or disc But in
- 12:32Speaker 2: a containerized world, if you scale your web service to
- 12:35Speaker 2: run across five identical containers behind a load balancer, your
- 12:39Speaker 2: first click might hit container A, which saves your log in.
- 12:43Speaker 2: Your second click hits container B, which has no idea
- 12:46Speaker 2: who you are, and you are immediately logged out.
- 12:48Speaker 1: So we can't use the app's internal memory. How do
- 12:51Speaker 1: we solve the session problem while keeping the app stateless?
- 12:54Speaker 2: The sources provide two highly robust solutions. The first is
- 12:58Speaker 2: pushing the memory entirely to the client side using cryptographically
- 13:02Speaker 2: signed cookies.
- 13:02Speaker 1: The user's web browser does the heavy lifting.
- 13:05Speaker 2: Exactly when you log in. The server validates your credentials,
- 13:09Speaker 2: creates a data payload, cryptographically signs it so it can't
- 13:12Speaker 2: be tampered with, and hands it.
- 13:14Speaker 1: Back to your browser like an ID card.
- 13:16Speaker 2: Perfect analogy. On your next click, your browser hands that
- 13:19Speaker 2: signed cookie back to the server. The server verifies the signature,
- 13:23Speaker 2: reads the data, and processes the request. The server itself
- 13:27Speaker 2: didn't remember you, It just read the ID card you
- 13:29Speaker 2: handed it.
- 13:30Speaker 1: That is incredibly elegant, but sometimes for security compliance or
- 13:34Speaker 1: architecture reasons, you have to store session data on the
- 13:38Speaker 1: server side. You can't trust the client with the payload.
- 13:41Speaker 1: What do we do then?
- 13:42Speaker 2: If you must save sessions on the server side, you
- 13:45Speaker 2: decouple that memory into a dedicated external tool. The material
- 13:49Speaker 2: specifically highlight reddis as the industry standard session back end.
- 13:53Speaker 1: Reddis is an in memory data store. But wait, if
- 13:57Speaker 1: we offload all our sessions to a Reddus container, haven't
- 13:59Speaker 1: we move the single point of failure?
- 14:01Speaker 2: It sounds like it, doesn't it.
- 14:03Speaker 1: Yeah, if that Reddus container crashes, doesn't everyone get logged out? Anyway?
- 14:06Speaker 1: We're back to square.
- 14:07Speaker 2: One if we connect this to the bigger picture. The
- 14:09Speaker 2: key difference is that Reddus is purpose built to handle
- 14:12Speaker 2: that exact risk, whereas a standard web application container isn't
- 14:17Speaker 2: Reddus isn't just a fragile box of memory.
- 14:19Speaker 1: Oh, it's more durable, much more.
- 14:20Speaker 2: You can configure it with persistent strategies like writing an
- 14:23Speaker 2: a pend only file or taking point in time snapshots
- 14:27Speaker 2: map to a persistent host volume, or for true high availability,
- 14:31Speaker 2: you deploy a retes cluster. If one node fails, another
- 14:35Speaker 2: takes over instantly.
- 14:36Speaker 1: Ah. So we delegate the responsibility of memory to a
- 14:40Speaker 1: tool that specializes entirely in resilient memory. The web application
- 14:44Speaker 1: container remains a goldfish exactly. Every time a user makes
- 14:47Speaker 1: a request, the web app reaches over to the redes
- 14:49Speaker 1: cluster over the internal network, grabs the session data, processes
- 14:54Speaker 1: the request, and forgets it again.
- 14:56Speaker 2: Spot on. It makes your application to your completely disposable
- 14:59Speaker 2: and infinite le scalable. If traffic spikes, you can spin
- 15:02Speaker 2: up fifty clones of your web container. They instantly tap
- 15:05Speaker 2: into the centralized data dog logs, read the same environment variables,
- 15:08Speaker 2: and hit the same reddess cluster.
- 15:11Speaker 1: Wow, let's zoom out and recap the journey we just took.
- 15:14Speaker 1: To truly docrize an application, you start with a foundation
- 15:18Speaker 1: those four essential files, heavily utilizing a doc Docker ignore
- 15:22Speaker 1: to keep builds fast.
- 15:23Speaker 2: Yep.
- 15:23Speaker 1: You lean on pre built starter projects to handle the
- 15:26Speaker 1: infrastructure quirks. Then you rewire the app's behavior, pushing logs
- 15:31Speaker 1: strictly to standard out, pulling all configuration into runtime environment variables,
- 15:35Speaker 1: and relying on signed cookies or reddis to keep the
- 15:38Speaker 1: application entirely stateless.
- 15:40Speaker 2: Following those constraints forces you to build highly maintainable systems.
- 15:44Speaker 2: And this methodology isn't just abstract theory. It maps directly
- 15:48Speaker 2: to a formal philosophy. That we want to challenge you
- 15:50Speaker 2: with today.
- 15:51Speaker 1: The sources point to the twelve factor app methodology for
- 15:54Speaker 1: those who aren't familiar. It's a famous set of principles
- 15:56Speaker 1: for building software as as service apps. It isn't tied
- 15:59Speaker 1: to dockers specifically, but Dogger perfectly enforces its rules.
- 16:02Speaker 2: Exactly the concepts we discussed today, stateless processes, environment variables,
- 16:08Speaker 2: treating logs as event streams. They are pulled straight from
- 16:11Speaker 2: the twelve factor manifesto, but there are others that are
- 16:14Speaker 2: just as crucial, like port binding.
- 16:16Speaker 1: Port binding is a great example. A twelve factor web
- 16:18Speaker 1: app doesn't rely on a hidden web server like apatche
- 16:21Speaker 1: injected into its environment. The web app exports HTTP as
- 16:26Speaker 1: a service by binding directly to a port specified by
- 16:30Speaker 1: the environment. Doesn't care if it's running on port eighty
- 16:32Speaker 1: or port five thousand. The infrastructure tells it where to listen.
- 16:36Speaker 2: Another factor is disposability. Your application needs to maximize robustness
- 16:41Speaker 2: with fast startup times and graceful shutdowns. When Docker sends
- 16:45Speaker 2: a termination signal to your container, your aption just instantly
- 16:49Speaker 2: die and drop user connections.
- 16:51Speaker 1: It needs to wrap things up right.
- 16:52Speaker 2: It needs to finish processing current requests and exit cleanly.
- 16:55Speaker 1: This brings us to your actionable challenge for the day.
- 16:58Speaker 1: Whether you are as student expres floring architecture for the
- 17:01Speaker 1: first time, or a seasoned tech professional dealing with legacy code.
- 17:04Speaker 1: Take fifteen minutes today search for the twelve factor app
- 17:07Speaker 1: Guide online.
- 17:08Speaker 2: It's a fantastic resource.
- 17:10Speaker 1: Read through the twelve principles and audit your current projects.
- 17:13Speaker 1: Where are you storing state and memory? Where are you
- 17:16Speaker 1: hard coding a configuration file? It is a brilliant diagnostic
- 17:20Speaker 1: tool to elevate your engineering.
- 17:21Speaker 2: It shifts your mindset from just writing code that successfully
- 17:25Speaker 2: compiles to designing resilient ecosystems that can survive hardware failures
- 17:30Speaker 2: and massive scaling.
- 17:32Speaker 1: Speaking of shifting mindsets, I want to leave you with
- 17:35Speaker 1: one final thought. We started by talking about the smart
- 17:38Speaker 1: home adapting to the new environment. But if the ultimate
- 17:42Speaker 1: goal of modern cloud native development is to make our
- 17:45Speaker 1: applications completely stupid, intentionally right, intentionally stripping away their memory,
- 17:51Speaker 1: their internal configuration logic, their log management, and relying entirely
- 17:55Speaker 1: on the surrounding infrastructure to do all the heavy.
- 17:58Speaker 2: Lifting, it creates a fascinating, fullis sophagal question about our
- 18:01Speaker 2: priorities as developers exactly.
- 18:04Speaker 1: It makes you wonder, are we rapidly moving toward a
- 18:06Speaker 1: future where the actual application code we write matters far
- 18:10Speaker 1: less than the ecosystem we build to surround it.
- 18:12Speaker 2: That's a great point.
- 18:13Speaker 1: Next time you sit down to write a brilliant piece
- 18:14Speaker 1: of business logic, ask yourself, is the code the masterpiece
- 18:19Speaker 1: or is the masterpiece the invisible automated smart home you're
- 18:22Speaker 1: building to keep that code alive. Think about it.
- 18:25Speaker 2: That is the defining question of modern architecture.
- 18:28Speaker 1: Until next time, keep diving deep.