Best of Serverless โ€” December 2024

  1. 1
    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.

  2. 2
    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.

  3. 3
    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.

  4. 4
    Article
    Avatar of fermyonFermyonยท1y

    You Are Already Using Wasm In Production

    WebAssembly (Wasm) has been in production for years, used in popular applications like Microsoft Office.com, Figma, and streaming services such as BBC and Amazon Prime. Despite its proven stability and deployment, doubts persist regarding its readiness due to misconceptions about language support, WASI standardization, and threading capabilities. However, numerous server-side and serverless applications, including platforms like Fermyon Cloud, Fastly Compute@Edge, and Cloudflare Workers, demonstrate the widespread use and reliability of Wasm in production environments. The real-world adoption of WebAssembly proves its production-readiness.

  5. 5
    Article
    Avatar of cloudflareCloudflareยท1y

    Hi Claude, build an MCP server on Cloudflare Workers

    Anthropic announced a new way for AI applications to interact with services using Model Context Protocol (MCP). The post provides a guide on how to build an MCP server using Cloudflare Workers, making it easy to deploy services and applications that AI assistants like Claude can interact with. By leveraging Cloudflare Workers, developers can quickly set up MCP servers without dealing with complex configurations and schemas. The provided examples illustrate functionalities like generating images and sending messages seamlessly through AI integrations.

  6. 6
    Article
    Avatar of theburningmonktheburningmonk.comยท1y

    Cohesion vs. Coupling

    Cohesion measures how well components within a module or system work together to achieve a single purpose, while coupling describes the extent of dependencies between different modules or systems. High cohesion and low coupling are desired for better system design and maintenance.

  7. 7
    Article
    Avatar of gcgitconnectedยท1y

    ๐Ÿš€ Unlocking the Power of Solution Architecture: A Guide to Methodologies for Modern Systems

    Solution Architecture is essential for building scalable and efficient software systems. It involves defining system interactions, choosing appropriate technologies, and ensuring integration, scalability, and security. Key methodologies include Monolithic Architecture, Microservices, Event-Driven Architecture, Serverless Architecture, and Domain-Driven Design, each with unique benefits. Netflix exemplifies effective modern solution architecture through its use of Microservices and Event-Driven Design.