Best of Serverless2025

  1. 1
    Article
    Avatar of goserverlessServerless·1y

    Introducing the Serverless MCP

    Serverless MCP is a powerful debugging tool that integrates with AI-assisted IDEs to streamline troubleshooting of AWS serverless applications. It provides intelligent resource discovery, error analysis, and up-to-date documentation access, eliminating the need for AWS console visits. Included in the Serverless Framework CLI, MCP offers service-wide summaries, resource identification, and detailed performance diagnostics for Lambda functions and IAM roles.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    The Serverless Architecture Handbook: How to Publish a Node Js Docker Image to AWS ECR and Deploy the Container to AWS Lambda

    Learn how to deploy a Node.js application using a serverless architecture with AWS Lambda and Docker. The detailed guide covers cloning your repository, building a Docker image, pushing the image to AWS ECR, and deploying the container to AWS Lambda. Additionally, it explains serverless advantages, differences between deployment models, and practical use cases.

  3. 3
    Article
    Avatar of goserverlessServerless·1y

    Introducing Serverless Container Framework

    Serverless Container Framework (SCF) simplifies container deployment across serverless environments like AWS Lambda and Fargate ECS. It offers a unified deployment experience, seamless platform switching without code rewrites, and rich local development with hot-module-reloading. SCF supports automated infrastructure setup, smart code change detection, and built-in SSL management, aiming to optimize serverless workflows and reduce costs.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to build a serverless AI agent to generate cold emails for your dream job

    This guide explains how to build a serverless AI agent using Langbase to automate the process of generating personalized cold emails for job applications. It details how to integrate memory agents into a Node.js project to enhance LLMs with long-term memory, making AI applications smarter and more capable. The tutorial covers step-by-step instructions from setting up the project to generating and using memory embeddings, ensuring the AI agent can produce context-aware responses based on the user's résumé and job descriptions.

  5. 5
    Video
    Avatar of flydotioFly.io·1y

    Using web sockets on Next.js | NO third party solution

    Learn how to implement WebSockets in a Next.js application without using third-party services by leveraging traditional servers on Fly.io. The post explains the setup and configuration required to create a custom server for handling WebSocket connections, illustrated with a simple chat application example.

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

    Bye bye schema coupling, hello semantic coupling

    The post introduces the concept of semantic coupling as an innovative method to manage schema evolution in event-driven architectures, replacing traditional schema coupling. By using semantic tags instead of versioning or altering event schemas, it allows consumers to focus on the meaning of data rather than its representation. This approach prevents breaking changes and eliminates the need for event versioning, encouraging smoother schema transitions. Tools like Orbital and Taxi can facilitate these transformations by decoupling the data representation from consumers.

  7. 7
    Video
    Avatar of developedbyeddevelopedbyed·1y

    How I'm Deploying My Future Web Applications

    Explores the journey of deploying future web applications, discussing past experiences with JavaScript, course platforms, and server setups. Highlights the transition from jQuery to vanilla JavaScript, the benefits of serverless computing over VPS, and the use of Cloudflare, Stanstack, and React in the current stack for improved scalability, performance, and simplicity.

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

    Event versioning strategies for event-driven architectures

    The post discusses various strategies for versioning event schemas in event-driven architectures, including adding versions in event names, event payloads, separate streams, and using schema registries. It evaluates the pros and cons of each method and suggests alternative approaches to avoid breaking changes. The author emphasizes the importance of supporting backward compatibility and recommends always adding new fields instead of breaking existing schemas.

  9. 9
    Article
    Avatar of hnHacker News·1y

    mastra-ai/mastra: the TypeScript AI agent framework

    Mastra is an opinionated TypeScript framework for building AI applications easily. It provides essential tools like workflows, agents, RAG, integrations, and evals. You can run it locally or on a serverless cloud. To get started, use the `create-mastra` CLI tool and set the appropriate API keys for LLM providers. Contributions are welcome, and there's an open community Discord for support.

  10. 10
    Article
    Avatar of goserverlessServerless·23w

    CI/CD for monorepos

    Serverless Framework Pro's CI/CD solution supports deploying multiple services from a single monorepo. Services should be organized in separate subdirectories off the root, with each service configured with the same app and org settings. After initial deployment via CLI, connect your GitHub or BitBucket repository and configure branch-to-stage mappings for automated deployments. Advanced features include selective deployments (only redeploy when specific service code changes) and dependency-based deployments (redeploy when dependent services or shared code folders are modified). This approach provides flexibility to deploy only what's needed based on code changes.

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

    Understanding push vs poll in event-driven architectures

    Explore the differences between push and poll models in event-driven architectures, focusing on how they affect system design, event delivery, and error handling. Learn the pros and cons of both models, suitable use cases, and how Lambda's async invocations can convert push to poll and vice versa, assisting in stream processing and real-time event handling.

  12. 12
    Article
    Avatar of pulumiPulumi·1y

    Host your Python app for $1.28 a month

    Discover how to host low-traffic Python applications on AWS Lambda for minimal cost. Using containers, developers can leverage Lambda to maintain high availability while paying only when their service is called. The post describes the process of containerizing a Flask app and deploying it with Pulumi, minimizing the need for extensive serverless knowledge. This approach allows for zero cost when idle and scalable infrastructure, benefiting APIs with sporadic traffic and cost-sensitive projects.

  13. 13
    Article
    Avatar of infoqInfoQ·30w

    Cloudflare Introduces Email Service to Compete with Amazon SES, Resend, and SendGrid

    Cloudflare announced a private preview of its Email Service during Birthday Week, enabling developers to send and receive emails directly from Workers without API keys. The globally managed service automatically configures SPF, DKIM, and DMARC for improved deliverability, supports both REST APIs and SMTP, and integrates with Workers AI for routing and parsing incoming emails. Unlike regional services like Amazon SES, Cloudflare offers a single global endpoint. The beta launches in November with message-based pricing and requires a paid Workers subscription.

  14. 14
    Article
    Avatar of neontechNeon·1y

    Test Your Database Without Mocks

    Mocks for databases are often too brittle and complex to be useful, leading to unreliable tests and maintenance headaches. Instead of mocks, using database branching provides isolated, real-environment testing without the downsides of mock setups. Branching allows efficient and cost-effective testing by creating copies of databases that only differ when changes are made, offering a more realistic and reliable testing scenario.

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

    How to version APIs with API Gateway and Lambda

    Explore strategies for API versioning using AWS API Gateway and Lambda without duplicating infrastructure or introducing complex logic. Learn about different methods such as URL-based versioning, custom HTTP headers, and using Lambdaliths, along with their trade-offs. The discussion includes approaches to prevent breaking changes and considerations for choosing the right strategy based on version differences, client needs, and infrastructure requirements.

  16. 16
    Article
    Avatar of bytebytegoByteByteGo·1y

    How Meta Built Threads to Support 100 Million Signups in 5 Days

    Meta's Threads platform achieved a rapid growth of 100 million signups by leveraging existing, robust infrastructures like ZippyDB and Async. ZippyDB, a distributed key-value store, ensured scalability and strong consistency, while Async, a serverless computing engine, handled trillions of background tasks to support seamless user experiences. These systems, honed by Meta's experience with Facebook, Instagram, and WhatsApp, allowed Threads to scale effortlessly without the need for bespoke solutions.

  17. 17
    Article
    Avatar of detlifeData Engineer Things·1y

    I spent 6 hours learning AWS Glue. Here is what I found

    AWS Glue is a serverless data integration service that simplifies and automates the ETL process, enabling users to integrate data from various sources, preprocess and transform it, and make it available for analytics. It seamlessly integrates with AWS services like S3, Redshift, and Athena and supports cost-effective and scalable data processing. Key components include Glue Studio, Glue ETL Library with DynamicFrames, and serverless execution with auto-scaling. The Glue Data Catalog acts as a central repository for metadata, facilitating efficient data discovery and management.

  18. 18
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Create Serverless AI Agents with Langbase Docs MCP Server in Minutes

    Learn to set up the Langbase Docs MCP server within the Cursor AI code editor to create serverless AI agents quickly. This tutorial guides you through using Langbase SDK, enabling memory-enhanced, agentic AI systems by providing live, on-demand Langbase documentation as context. The integration helps streamline AI model workflows by reducing context switching and allows developers to extend AI capabilities seamlessly.

  19. 19
    Article
    Avatar of fermyonFermyon·48w

    Why We Chose Rust For Spin

    Fermyon explains their decision to build Spin, an open-source serverless WebAssembly framework, using Rust. The choice was driven by Rust's synergy with the wasmtime runtime, its powerful tooling ecosystem including clap and cargo workspaces, and its ability to support extensible architecture through plugins, templates, and factors. The article highlights how Rust's type system, memory safety, and developer toolchain enabled them to create a scalable, maintainable codebase while delivering an excellent developer experience.

  20. 20
    Article
    Avatar of neontechNeon·33w

    A PostgREST-Compatible Data API, Now on Neon

    Neon launched a PostgREST-compatible Data API that allows querying Postgres databases directly over HTTPS. Built as a Rust re-implementation of PostgREST integrated into Neon's proxy fleet, it offers improved resource efficiency, multi-tenant architecture, and automatic scaling across thousands of databases. The API provides dedicated endpoints for each database branch, supports scale-to-zero compute while maintaining constant availability, and integrates with Neon Auth or external JWT providers. Designed particularly for AI agent platforms, it eliminates the need for Postgres client libraries by using standard HTTP requests with JWT authentication and Row-Level Security.

  21. 21
    Article
    Avatar of vercelVercel·24w

    Rust runtime now in public beta for Vercel Functions

    Vercel has launched public beta support for Rust runtime in Vercel Functions, powered by Fluid compute. The native runtime includes HTTP response streaming, Active CPU pricing, increased environment variable limits (64KB vs 6KB), and automatic integration with Vercel's logging and monitoring systems. Developers can get started using Cargo.toml configuration and the vercel_runtime crate, with starter templates available for basic and Axum-based deployments.

  22. 22
    Article
    Avatar of cloudflareCloudflare·27w

    Replicate is joining Cloudflare

    Cloudflare acquires Replicate, a platform for running AI models with 50,000+ models in its catalog. The integration will bring Replicate's model catalog and fine-tuning capabilities to Cloudflare's Workers AI platform, while maintaining existing APIs for current users. The combined platform aims to provide serverless GPU inference on Cloudflare's global network, unified model management through AI Gateway, and seamless integration with Cloudflare's developer tools including Workers, R2, Vectorize, and Durable Objects.

  23. 23
    Article
    Avatar of 0qilnorm9q8seosq1zwqpCodeious·36w

    The Hidden Cost of Next.js API Routes (My Experience)

    Next.js API routes can become expensive on Vercel as traffic grows because each request counts as a serverless function call. The author shares their experience hitting usage limits and unexpected charges, then explains their solution: caching GET APIs and moving heavy logic to a separate Node.js backend for better cost efficiency and scalability.

  24. 24
    Article
    Avatar of communityCommunity Picks·1y

    Papers We Love

    Papers We Love is a repository and community dedicated to academic computer science papers. It features various chapters worldwide and organizes meetups discussing topics such as neural networks for detecting epileptic attacks, the Exponential Time Hypothesis, Named Data Networking, and serverless frameworks.

  25. 25
    Video
    Avatar of bytegradByteGrad·46w

    Next.js Background Jobs / Cron Jobs / Queue / AI-Calls Are EASY Now! (Inngest)

    Inngest provides a solution for handling background jobs, cron jobs, and long-running tasks in Next.js applications. The platform addresses the limitations of serverless functions when dealing with AI workloads or tasks that exceed typical request-response cycles. It offers event-driven workflows, step-based functions with checkpoints for retry logic, built-in queuing with prioritization, and specialized AI features including token tracking and agent toolkits. The service integrates seamlessly with Next.js through API routes and provides a dashboard for monitoring and managing workflows.