Best of ServerlessSeptember 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
    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.

  3. 3
    Article
    Avatar of hnHacker News·2y

    cloudflare/serverless-registry: A Docker registry backed by Workers and R2.

    Cloudflare's serverless Docker registry uses Workers and R2 for managing container images. It supports push/pull workflows and multiple authentication methods, and requires dependencies installed via pnpm. Deployment includes setting up an R2 bucket, configuring wrangler files, and deploying with npx wrangler. The registry can fallback to another registry if images are missing. Limitations include a maximum layer size of 500MB for Docker pushes. Credentials should always be set as secrets, not directly in configuration files.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Build your own edge computing app

    Learn how to create and deploy an edge computing web app using Glitch and Fastly's Compute platform. This guide covers remixing a demo site, editing Compute code, and deploying your app as a serverless solution on Fastly's network. The process involves using JavaScript and WebAssembly (Wasm) to customize the user experience based on geolocation, and provides steps to set up a Fastly account, create an API token, and deploy your project seamlessly.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    Deno 2.0 by Ryan Dahl

    Deno 2.0 aims to continue the optimization goals of Node.js in a more expansive and modern manner. It includes built-in support for NPM, enforceable security constraints, and a key-value database called Deno KV. Deno Deploy is a serverless platform optimized for fast reads, ideal for building eCommerce sites or application servers at the edge. Deno 2.0 is set to introduce more features like cache, persistent queues, and background workers to enhance the development of global services.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Build AI Chat Apps in Minutes: Unleashing the Power of NeonChat Starter Kit

    NeonChat is an open-source starter kit designed to simplify the building of AI chat applications. It integrates Next.js, Prisma, and Neon's serverless Postgres to offer a scalable, flexible, and developer-friendly solution. Key features include a clean chat interface, real-time AI chatting, and easy conversation saving. A CLI tool helps developers quickly set up their projects with their preferred AI providers.

  7. 7
    Article
    Avatar of flydotioFly.io·2y

    AI GPU Clusters, From Your Laptop, With Livebook

    Livebook, FLAME, and the Nx stack are powerful components in the Elixir ecosystem that enhance data computation and serverless computing. Livebook integrates closely with Elixir app clusters for seamless local and remote compute, while FLAME manages serverless executors for scalable application performance. The Nx stack supports Elixir-native AI and ML, allowing complex computations with GPU backends. Recent demonstrations at ElixirConf 2024 highlighted their capabilities, including real-time hyperparameter tuning on remote GPUs, made possible by Fly.io's infrastructure.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    How Amazon Lambda Works 🔥

    AWS Lambda is a serverless computing service that allows for scalable backend solutions without the hassle of server management. By using lightweight virtual machines called microVMs managed by Firecracker, AWS Lambda can efficiently handle scalability and performance. The system includes important components like the invoke service for routing requests, the assignment service for tracking workers, and the use of journal logs for failover and fault tolerance. Techniques like warm starts and lazy-loading of container images help reduce latency.

  9. 9
    Article
    Avatar of bytesdevBytes by ui.dev·2y

    Feasting at the Cloudflare buffet

    Cloudflare's recent Builder Day 2024 introduced 18 major updates for the Workers serverless platform, including doubled Node.js API support, open betas for static asset hosting and CI/CD workflows, and an initiative to enable self-hosting Next.js apps across platforms via the @opennextjs/cloudflare npm package. Cloudflare aims to prevent vendor lock-in and promote portability in open-source frameworks, potentially attracting more developers to deploy their applications on Cloudflare Workers. The updates promise easier setup, maintenance, and cost efficiency.

  10. 10
    Article
    Avatar of lnLaravel News·2y

    Serverless Search using Laravel and the Typesense Cloud

    Modern web applications require high performance and efficient data handling. Laravel developers often need a search feature, but using a simple key/value datastore like AWS DynamoDB can be limited. Typesense offers a powerful search database that handles complex searches easily. This guide demonstrates using AWS Lambda and DynamoDB's Streams to sync data between DynamoDB and Typesense in a Laravel application. The Typesense API, combined with Laravel's provider pattern, simplifies search operations and enhances user experiences with features like typo correction.