Skip to main content
Full Stack Radio

112: Guillermo Rauch - Building Serverless Applications with Now

68 min episode · 2 min read
·

Episode

68 min

Read time

2 min

AI-Generated Summary

Key Takeaways

  • Serverless Architecture Model: Now functions as a CDN capable of executing code on demand, not just serving static files. Deploy via GitHub integration or CLI, and code automatically scales infinitely across edge locations without monitoring servers, configuring Apache, or SSH access to infrastructure.
  • Function Granularity Strategy: Structure applications with one serverless function per route instead of single Express server handling all routes. This prevents bottlenecks, enables independent scaling per endpoint, and keeps function size minimal. Next.js automatically splits pages into separate functions for optimal performance.
  • Database Proximity Rules: Deploy functions near databases, not users. Example: function in Sydney calling San Francisco database adds 250ms latency per query. Moving function to US East reduced response time three times. Physical distance between function and data source matters more than user proximity.
  • Stateless Constraints Benefits: Serverless functions cannot write to filesystem, forcing better architecture patterns. WordPress image uploads fail initially but switching to S3 plugin eliminates hard drive space monitoring, provides automatic backups, and prevents common outage scenarios from disk capacity issues.
  • Monolith Deployment Pattern: Deploy entire project as single unit using now command or git push, not individual microservices. All functions build together from shared codebase using open-source builders like now/node, now/php, now/go. Enables code sharing while maintaining independent function scalability and isolation.

What It Covers

Guillermo Rauch explains how Now deploys serverless applications using CDN-edge code execution, eliminating server management while maintaining PHP-like simplicity through automatic function isolation, multi-language support, and framework-agnostic deployment across global regions.

Key Questions Answered

  • Serverless Architecture Model: Now functions as a CDN capable of executing code on demand, not just serving static files. Deploy via GitHub integration or CLI, and code automatically scales infinitely across edge locations without monitoring servers, configuring Apache, or SSH access to infrastructure.
  • Function Granularity Strategy: Structure applications with one serverless function per route instead of single Express server handling all routes. This prevents bottlenecks, enables independent scaling per endpoint, and keeps function size minimal. Next.js automatically splits pages into separate functions for optimal performance.
  • Database Proximity Rules: Deploy functions near databases, not users. Example: function in Sydney calling San Francisco database adds 250ms latency per query. Moving function to US East reduced response time three times. Physical distance between function and data source matters more than user proximity.
  • Stateless Constraints Benefits: Serverless functions cannot write to filesystem, forcing better architecture patterns. WordPress image uploads fail initially but switching to S3 plugin eliminates hard drive space monitoring, provides automatic backups, and prevents common outage scenarios from disk capacity issues.
  • Monolith Deployment Pattern: Deploy entire project as single unit using now command or git push, not individual microservices. All functions build together from shared codebase using open-source builders like now/node, now/php, now/go. Enables code sharing while maintaining independent function scalability and isolation.

Notable Moment

Rauch demonstrates deploying a single project mixing Hugo static generation, Gatsby pages, and Node.js functions together. The builder system allows different languages and frameworks per route within one monolithic repository, maintaining developer productivity while achieving serverless scalability benefits without microservice complexity.

Know someone who'd find this useful?

You just read a 3-minute summary of a 65-minute episode.

Get Full Stack Radio summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

More from Full Stack Radio

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.

You're clearly into Full Stack Radio.

Every Monday, we deliver AI summaries of the latest episodes from Full Stack Radio and 192+ other podcasts. Free for up to 3 shows.

Start My Monday Digest

No credit card · Unsubscribe anytime