---
title: Microservices in your monolith
url: "https://aaronfrancis.com/about/speaking/microservices-in-your-monolith-mergephp"
path: "/about/speaking/microservices-in-your-monolith-mergephp"
type: talk
author: Aaron Francis
published: 2022-10-13
topic: "Laravel & PHP"
keywords: [microservices, monolith, php, architecture, mergephp]
location: MergePHP
chunked: true
full_bytes: 36574
section_count: 3
full_url: "/about/speaking/microservices-in-your-monolith-mergephp/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Microservices in your monolith

I gave a talk called "Microservices in Your Monolith" at a virtual PHP meetup.

## Sections (35.7 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (35.7 KB)](/about/speaking/microservices-in-your-monolith-mergephp/full.md).

### 1. Part 1 (00:03–18:22 · 15.6 KB)
Aaron Francis introduces microservices in monoliths at PlanetScale, then demonstrates deploying Lambda functions across multiple runtimes (Node.js, Python, PHP) to show how to offload specialized workloads without adding complexity to the main application.
Keywords: `headless chrome`, `planetscale`, `javascript`, `function`, `monolith`, `sidecar`, `basic.js`, `lambda`
[Read section 1 verbatim](/about/speaking/microservices-in-your-monolith-mergephp/sections/1-part-1.md)

### 2. Part 2 (18:22–35:47 · 15.6 KB)
Lambda can receive event parameters with custom data, enabling dynamic function execution; Sidecar tool manages Laravel-to-Lambda integration with caching and partitioning, with real-world use cases including PDF generation, form automation, and image manipulation.
Keywords: `javascript`, `hello world`, `pdfs`, `curl`, `half seconds`, `deploy process`, `lambda`, `php`
[Read section 2 verbatim](/about/speaking/microservices-in-your-monolith-mergephp/sections/2-part-2.md)

### 3. Part 3 (35:47–40:39 · 4.5 KB)
Sidecar enables using specialized libraries (JavaScript, Chrome, Prince) for tasks like PDFs and QR codes without leaving Laravel; Aaron positions it as a reasonable middle ground between full microservices and strict monolithic architecture, available at hammerstone.dev/sidecar.
Keywords: `browsershot`, `javascript`, `rubygem`, `pdf generation`, `sidecar`, `pdf`, `generation`, `headless chrome`
[Read section 3 verbatim](/about/speaking/microservices-in-your-monolith-mergephp/sections/3-part-3.md)

---

## Related on aaronfrancis.com

- [Adding a microservice to your monolith](/writing/adding-a-microservice-to-your-monolith) *(Article · 2022-02-17 · shared: microservices, monolith, php)*
- [Microservices in Your Monolith](/about/speaking/microservices-in-your-monolith-full-stack-europe) *(Talk · 2022-10-07 · shared: microservices, monolith, architecture)*
- [About](/about) *(Page · 2026-11-25 · shared: php)*
- [The PHPocalypse](/podcast/the-phpocalypse-d55fa68c) *(Podcast · 2026-10-27 · shared: php)*
- [My identity was never “developer”](/newsletter/my-identity-was-never-developer) *(Newsletter · 2026-03-13 · shared: architecture)*

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `microservices` ([M-N](/llms/keywords/m-n.txt)), `php` ([O-P](/llms/keywords/o-p.txt)), `architecture` ([A-B](/llms/keywords/a-b.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
