Best of Serverless — 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    The Ultimate Open Source Starter Kit

    The Ultimate Open Source Starter Kit provides a modern stack using Neon.tech for a serverless PostgreSQL database, Next.js, Lucia Auth, Bun, Vercel, ShadCN, Tailwind CSS, and Typescript. Designed for rapid SaaS deployment, the kit includes light/dark mode, and a blog feature with MDX for content management. It offers a robust and scalable foundation easily customizable for your specific needs.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Serverless vs. Traditional Hosting

    Compare serverless hosting and traditional hosting for web applications by evaluating their costs, benefits, and drawbacks. Serverless hosting, with its auto-scaling and pay-per-use model, is ideal for applications with unpredictable traffic. In contrast, traditional hosting offers fixed pricing and full control, making it suitable for consistently high traffic applications. Examples of providers include AWS Lambda for serverless and DigitalOcean for traditional hosting.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Monoliths, microservices, and serverless aren't what you think they are

    This post explores the misconceptions and true definitions of monoliths, microservices, and serverless architecture. It discusses the characteristics of each and how they can be scaled or shared.

  4. 4
    Video
    Avatar of fireshipFireship·2y

    when your serverless computing bill goes parabolic...

    Learn how a developer received a massive serverless bill from Versell and explore tools and alternatives to avoid the same situation. Discover tips for managing serverless costs and find out the consequences of failing to set a budget limit.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Serverless Node.js Tutorial

    Learn how to develop serverless applications using Node.js in this tutorial. Explore key sections covering serverless app development, project setup, deployment, securing and managing your deployment, database integration, and advanced deployment techniques.

  6. 6
    Video
    Avatar of beyondfireshipBeyond Fireship·2y

    How I deploy serverless containers for free

    Learn how to remove backgrounds from images using AI-powered tools, dockerize a Python web app, and deploy containers to the cloud for free or on various cloud services.

  7. 7
    Article
    Avatar of devtoDEV·2y

    Back-End Development: Definition, Stats, & Trends To Follow In 2024

    Back-end development now serves as a stand-alone solution, encouraging businesses to migrate applications server-side. Key trends for 2024 include AI and Machine Learning for smarter applications, containerization and orchestration for reliable deployment, Backend-as-a-Service (BaaS) for scalable app development, event-driven architecture for extensible systems, serverless architecture for faster deployment, API-first development for reusable APIs, microservice architecture for resilient applications, cloud-native development for multi-cloud environment flexibility, and serverless apps for cost-efficient cloud operations.

  8. 8
    Article
    Avatar of towardsdevTowards Dev·2y

    Building a Serverless Data Pipeline: A Step-by-Step Guide

    The guide provides step-by-step instructions to build a serverless data pipeline using AWS services. Key components include AWS Lambda for data extraction from the Colombo Stock Market Index API, Amazon Kinesis Data Firehose for data ingestion, Amazon S3 for storage, and AWS Glue for ETL orchestration with Athena for querying data. The pipeline uses event-driven architectures with SQS notifications and Glue crawlers for efficient data processing.

  9. 9
    Article
    Avatar of awsfundamentalsAWS Fundamentals·1y

    Building a Social Stats Dashboard with SST & Next.js

    Learn how to build a Social Stats Dashboard for tracking AWS Fundamentals Newsletter subscribers using AWS Lambda, Serverless Stack (SST), and Next.js. This guide is tailored for AWS beginners and walks through setting up the infrastructure, fetching data from third-party APIs, and displaying it on a user interface using serverless components and functions.

  10. 10
    Article
    Avatar of theburningmonktheburningmonk.com·2y

    When to use Light Events vs. Rich Events in Event-Driven Architectures

    Choosing between light and rich events in event-driven architectures involves trade-offs. Light events, containing minimal information, are cost-efficient but may increase complexity for subscribers needing additional data. Rich events include more information, reducing the need for extra calls by subscribers but increasing data transfer and storage costs. Domain events, often benefitting from light events, are shared within the same domain, while integration events, suited for rich events, are shared across domains. Understanding these differences helps optimize event design and system efficiency.

  11. 11
    Article
    Avatar of bytebytegoByteByteGo·2y

    AWS Lambda Under the Hood

    AWS Lambda is a serverless compute service that allows developers to run code without provisioning or managing servers. It supports various invocation models, including synchronous and asynchronous invocations. The Assignment Service is a robust and resilient way to manage execution environments in Lambda. Firecracker is a lightweight virtual machine manager designed for running serverless workloads. Lambda also incorporates significant storage service functionalities, managing and storing code and data efficiently.

  12. 12
    Article
    Avatar of communityCommunity Picks·2y

    Hashnode Architecture Overview

    This post provides an overview of Hashnode's architecture, including how it handles DDoS attacks and the caching mechanisms used.

  13. 13
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Full Stack Development with Next.js, Clerk, and Neon Postgres

    This tutorial provides a comprehensive guide on building full-stack applications using Next.js, Clerk, and Neon, a serverless PostgreSQL database. It covers setting up Neon, integrating it with Next.js, managing the database with Drizzle ORM, implementing user authentication with Clerk, and performing CRUD operations. The tutorial also highlights Neon's unique features like serverless architecture, auto-scaling, and instant branching.

  14. 14
    Article
    Avatar of communityCommunity Picks·2y

    Deploy Your Express Backend in Vercel for Free 🚀⚡

    Learn how to deploy your Node.js Express application on Vercel for free using a few simple steps. Create a basic Express app, configure the vercel.json file to route requests, and use the Vercel CLI for deployment. Understand important considerations when switching to Vercel’s serverless architecture, such as handling database connections, websockets, and efficient error handling.

  15. 15
    Article
    Avatar of hnHacker News·2y

    The Great Database Migration

    Shepherd successfully migrated its pricing engine database from SQLite to Postgres with zero downtime. The new architecture improves scalability, performance, and developer experience. The migration included converting synchronous functions to asynchronous, leveraging a serverless architecture with Neon, and automating ETL processes. The project highlighted performance optimizations, including caching strategies and connection pooling, resulting in significantly improved response times.

  16. 16
    Article
    Avatar of communityCommunity Picks·2y

    How McDonald’s Food Delivery Platform Handles 20,000 Orders per Second

    McDonald's food delivery platform handles 20,000 orders per second using hexagonal architecture, event-driven architecture, and various technologies like Redis, AWS Lambda, and serverless functions.

  17. 17
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    We stopped using serverless. The results are insane.

    Upload Thing V7 drastically improves file upload speeds, making uploads five times faster. Major changes include seamless pausing and resuming of uploads, integration support for Remix, and the transition from relying on direct S3 uploads to a custom upload server, simplifying the process and enhancing control. This update reduces the number of steps and requests needed, enhances security, and unlocks new features like bring-your-own-bucket and better file validation.

  18. 18
    Video
    Avatar of primeagenThePrimeTime·2y

    Sqlite Is Getting So Good

    The post dives into a new multi-tenant architecture and issues a scalability challenge for a serverless database based on a fork of SQLite. It emphasizes the advantages of deterministic simulation testing (DST) and highlights the importance of not reinventing the wheel unless mission-critical. It also discusses the application of Rust and its borrow checker for improved safety and performance, the implementation of DST for bug detection, and the decision-making process behind choosing Rust over Zig for the rewrite project.

  19. 19
    Article
    Avatar of virtuslabVirtusLab·2y

    7 trending frontend technologies for 2024 -

    Learn about the upcoming trends in frontend technologies for 2024, including micro frontends, Next.js, headless CMS, the 'Signals Approach' in Angular, AI-driven design, serverless computing, and styling in React. Stay ahead in the ever-evolving world of frontend development!

  20. 20
    Article
    Avatar of neontechNeon·1y

    psql from the browser

    Neon has developed a tool to run psql, the popular Postgres command-line client, directly in the browser. This innovation emerged from an internal hackathon and utilizes a WebSocket proxy, allowing seamless connection to databases in browser environments where the TCP stack is inaccessible. The app includes features like database instantiation from templates, SQL query execution, and slash commands for database schema inspection. It also provides a unique, isolated connection string for each session. The project is open-source and available for contributions.

  21. 21
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    Next.js 15 Is Here (Vercel Ship Breakdown)

    Next.js 15 introduces new features such as the Forell firewall and rethought feature flags. It also includes improvements in caching, hydration errors, and create-next-app template. Turbo can be enabled for faster dev experience, and external package bundling can be optimized for better performance. Overall, Next.js 15 offers several enhancements and updates.

  22. 22
    Article
    Avatar of theburningmonktheburningmonk.com·1y

    How to end-to-end test microservices across bounded contexts?

    Effective end-to-end testing in a microservices environment requires collaboration between various teams, such as microservice teams, QA teams, and full-stack teams. Microservice teams should focus on service-level testing with tools like Pact, while QA teams conduct broader user journey tests using tools like Cypress or Selenium. Full-stack teams, managing both frontend and backend, can autonomously test their parts of the user journey. Utilizing tools like WireMock can facilitate testing by mocking other teams' services, thus reducing interdependence and coordination. The chosen approach should align with the organization's structure, team responsibilities, and testing maturity.

  23. 23
    Article
    Avatar of awstipAWS Tip·2y

    Vitest setup with serverless framework: Node.js Express.js

    This post discusses the setup for using Vitest with the Serverless framework for Node.js and Express.js applications. Vitest is presented as a compelling alternative to Jest and Mocha, especially for projects that use TypeScript and modern tooling. It boasts a rich testing ecosystem and features like test coverage and visual test explorers.

  24. 24
    Article
    Avatar of communityCommunity Picks·2y

    Building Production API Services with Encore, TypeScript, and Neon Serverless Postgres

    Encore now supports Neon Postgres across all environments, including AWS and GCP. This integration streamlines the development, testing, and production deployment of scalable API services. Encore's TypeScript SDK allows developers to use familiar language for backend development, and Neon offers serverless Postgres for optimized performance without manual management. The post details a step-by-step guide to creating and deploying a URL shortener application using Encore and Neon.

  25. 25
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Serverless Architecture Patterns and Best Practices

    Learn about serverless architecture patterns and best practices. Discover the benefits and challenges of serverless, explore common architecture patterns, and gain insights on best practices for serverless development.