Home / Companies / Prismic / Blog / Post Details
Content Deep Dive

What is Serverless - Episode 5: Building a fast website

Blog post from Prismic

Post Details
Company
Date Published
Author
Edward Hewitt
Word Count
1,242
Language
English
Hacker News Points
-
Summary

Guillermo from Zeit discusses the advantages of using Serverless technology to build and deploy fast, efficient websites, which can integrate with any framework and support both static and dynamic content. The process involves creating a /pages directory, where each page is converted into an independent serverless function, allowing for simultaneous deployment using the "Now" command. This approach supports a monorepo system that allows all application logic, including serverless functions, static files, and APIs, to be maintained in a single repository, facilitating shared components and consistent design systems across projects. Unlike monolithic architectures, monorepos enable scalable, fast deployments without the complexity of managing multiple repositories. Serverless deployment also includes automatic CDN caching, offering flexibility in handling static and dynamic data. Guillermo emphasizes the distinction between monorepos and monoliths, highlighting the efficiency and scalability of monorepos, which allow independent functions and outputs while avoiding the performance drawbacks of monolithic systems.