The Baked Data architectural pattern
I’ve been exploring an architectural pattern for publishing websites over the past few years that I call the “Baked Data” pattern. It provides many of the advantages of static site generators while avoiding most of their limitations. I think it deserves to be used more widely. I define the Baked Data architectural pattern as the following: Baked Data: bundling a read-only copy of your data alongside the code for your application, as part of the same deployment Most dynamic websites keep their code and data separate: the code runs on an application server, the data lives independently in some kind of external data store—something like PostgreSQL, MySQL or MongoDB. With Baked Data, the data is deployed as part of the application bundle. Any time the content changes, a fresh copy of the site is deployed that includes those updates. I mostly use SQLite database files for this, but plenty of other formats can work here too. This works particularly well with so-called “serverless” deployment
The Baked Data architectural pattern Simon Willison’s Weblog Subscribe Sponsored by: Microsoft - Agent projects stall between demo and production. Microsoft's MVP checklist closes that gap. Try it The Baked Data architectural pattern 28th July 2021 I’ve been exploring an architectural pattern for publishing websites over the past few years that I call the “Baked Data” pattern. It provides many of the advantages of static site generators while avoiding most of their limitations. I think it deserves to be used more widely. I define the Baked Data architectural pattern as the following: Baked Dat
saved by
related reading
- Building data-centric apps with a reactive relational databaseriffle.systems
- Everything I know about good system designseangoedecke.com
- Simon Willison’s Weblogsimonwillison.net
- Wesley Aptekar-Cassels | Consider SQLiteblog.wesleyac.com
- The Beginner's Guide to Databasestechnically.substack.com
- What is Serverless Architecture? | Datadogdatadoghq.com
- Build Your Own Databasenan.fyi
- I'm All-In on Server-Side SQLite · The Fly Blogfly.io
- Materialized views are obviously useful – Sophie Alpertsophiebits.com
- Wesley Aptekar-Cassels | There is no such thing as a static websiteblog.wesleyac.com
- Micro Frontends - extending the microservice idea to frontend developmentmicro-frontends.org
- Agent-native Architecturesevery.to