awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
fermyon avatar

fermyon/spin

0
View on GitHub↗
6,443 星标·304 分支·Rust·Apache-2.0·8 次浏览spinframework.dev↗

Spin

Spin is a WebAssembly serverless framework and development toolchain for building and running portable microservices. It functions as an event-driven orchestrator and runtime that executes WebAssembly components, allowing developers to map HTTP requests, Redis messages, and cron schedules to specific modules.

The project distinguishes itself by implementing a Wasm-based AI inference gateway, enabling components to perform model inference and generate text embeddings. It utilizes the WebAssembly Component Model and WASI for language-agnostic composition and portable host interfacing, while employing a capability-based security system to restrict access to network hosts and storage backends.

The framework provides a comprehensive set of capabilities including OCI-compliant distribution, in-memory service chaining for internal microservices, and integration with various SQL and NoSQL databases. It also includes tools for background task spawning, OpenTelemetry signal export for observability, and a CLI for project bootstrapping and hot reloading.

The toolchain supports compiling multilingual components into WebAssembly and deploying them across local environments, Kubernetes clusters, or global edge distributions.

Features

  • Event-Driven Orchestration - Functions as an event-driven orchestrator mapping HTTP, Redis, and cron events to Wasm components.
  • AI Model Inference - Provides a Wasm-based AI inference gateway for executing models and generating text responses.
  • Inference Gateways - Implements an AI inference gateway connecting Wasm components to large language models.
  • Text Embeddings - Implements text embeddings generation to transform strings into vector representations for semantic analysis.
  • WASI-Based - Uses WASI and the Gateway Interface to provide portable host interfacing and system call access.
  • Wasm Component Wiring - Wires components together via WIT interfaces using local paths, registries, or URLs for language-agnostic composition.
  • Wasm Execution Engines - Runs WebAssembly microservices as isolated processes from local manifests or remote OCI registries.
  • HTTP Request Routing - Maps incoming HTTP requests to specific components using exact paths or wildcards.
  • Multi-Language Wasm Compilers - Compiles source code from multiple programming languages into WebAssembly bytecode for serverless execution.
  • Multilingual Runtime Support - Supports a wide array of programming languages by targeting WebAssembly and WASI standards for cloud services.
  • Wasm Component Runtimes - Provides a runtime that executes WebAssembly modules as portable microservices using the Component Model.
  • Wasm Development Toolchains - Provides a complete toolset for bootstrapping, compiling, and deploying Wasm microservices.
  • Capability-Based Access Controls - Implements a capability-based security system to delegate a subset of permissions to dependent modules.
  • Capability-Based Security - Restricts component access to network, storage, and system resources via a declarative permission system.
  • Configuration Manifests - Uses a centralized configuration file to define application structure, routing, and resource permissions.
  • WebAssembly Component Models - Implements the WebAssembly Component Model for language-agnostic composition of microservices using WIT interfaces.
  • Trigger-Based Execution - Maps external events like HTTP requests, Redis messages, and cron schedules to specific Wasm components.
  • HTTP Request Handling - Handles incoming HTTP requests and returns responses through defined handler classes.
  • Serverless Frameworks - Offers a developer framework for building and running event-driven serverless applications using WebAssembly.
  • Event Trigger Mapping - Maps incoming events such as HTTP requests, Redis messages, and cron schedules to specific Wasm components.
  • MCP Servers - Enables the creation of Model Context Protocol servers for standardized communication between AI agents and tools.
  • Key-Value Stores - Provides a built-in key-value store for persisting application state.
  • Redis Clients - Provides capabilities to interact with external Redis instances for data operations.
  • Hot Reloading - Automatically builds and restarts the application when source files are modified to accelerate the development cycle.
  • Project Bootstrapping Templates - Provides predefined templates and blueprints to generate initial directory structures and manifests for new projects.
  • Project Scaffolding Templates - Enables the creation of reusable blueprints for services with custom value prompts and text transformations.
  • OCI-Compliant Packaging - Packages and distributes WebAssembly applications using OCI-compliant registries.
  • OCI Container Registry Clients - Implements clients to push and pull applications from OCI-compliant registries.
  • Environment Variable Configurations - Injects runtime settings and secrets into components via key-value pairs to control service behavior.
  • Kubernetes Cluster Orchestration - Automates the setup of clusters and workload identities for hosting applications on Kubernetes.
  • Local Service Execution - Provides a local server to instantiate components and route traffic for development.
  • Recurring Job Scheduling - Provides the ability to execute components on fixed timetables using standard cron expressions.
  • Edge Deployments - Publishes applications to a global edge environment for low-latency execution near users.
  • Asynchronous Task Spawning - Allows components to trigger asynchronous background functions that run to completion independently of the main entry point.
  • In-Memory Private Endpoints - Provides internal microservices accessible only via in-memory service chaining.
  • HTTP Request Dispatchers - Allows components to send outbound network requests to interact with external APIs and services.
  • In-Memory Service Chaining - Routes requests between internal microservices via direct runtime calls to avoid network latency.
  • Tracing Context Propagation - Supports inbound and outbound trace context propagation to link requests across distributed services.
  • WebAssembly Engine Embedding - Allows integrating the component execution engine into external applications to run WebAssembly modules.
  • WAGI Module Execution - Handles HTTP requests using the WebAssembly Gateway Interface for languages without component model support.
  • Network Access Control - Implements a whitelist of hosts and ports to regulate outbound network traffic from Wasm components.
  • Component Access Isolations - Employs a capability-based security system to grant components specific permissions for key-value stores and storage services.
  • OpenTelemetry Exporters - Exports traces, metrics, and logs to external collectors using the OpenTelemetry standard.
  • Application Deployment - Packages applications and uploads them to remote deployment environments.
  • Response Streaming - Supports incremental delivery of HTTP response bodies using a sink interface to optimize memory.
  • Container Runtimes and Platforms - Framework for building Wasm-based microservices.
  • Service Frameworks - Framework for building fast, secure WebAssembly microservices.

Star 历史

fermyon/spin 的 Star 历史图表fermyon/spin 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Spin 的开源替代方案

相似的开源项目,按与 Spin 的功能重合度排序。
  • wasmedge/wasmedgeWasmEdge 的头像

    WasmEdge/WasmEdge

    10,665在 GitHub 上查看↗

    WasmEdge is an extensible WebAssembly runtime that executes WebAssembly bytecode in a secure sandbox for cloud, edge, and embedded applications. It functions as a multi-language compiler, compiling applications written in Rust, JavaScript, Go, and Python into WebAssembly bytecode for sandboxed execution, and as a server-side JavaScript runtime that runs JavaScript programs with ES6 modules, NPM packages, and Node.js-compatible APIs. The runtime also serves as an AI inference runtime, executing AI models from JavaScript using WASI-NN plug-ins for inference tasks on personal devices and edge har

    C++artificial-intelligencecloudcloud-native
    在 GitHub 上查看↗10,665
  • redis/redis-pyredis 的头像

    redis/redis-py

    13,566在 GitHub 上查看↗

    redis-py is a Python client library for interacting with Redis databases to execute commands and manage key-value data. It serves as a driver for programmatic data manipulation, providing interfaces for Redis command execution and key-value storage. The project includes a dedicated cluster client that handles topology discovery, slot mapping, and request routing across distributed nodes. It further supports high availability through active-active deployment coordination, utilizing health checks and failure detection to trigger automatic failover between instances. The library incorporates ne

    Pythonpythonredisredis-client
    在 GitHub 上查看↗13,566
  • roadrunner-server/roadrunnerroadrunner-server 的头像

    roadrunner-server/roadrunner

    8,473在 GitHub 上查看↗

    RoadRunner is a high-performance application server and process manager designed to serve PHP applications using a persistent worker model. It eliminates bootload overhead and initialization time by keeping application processes alive between requests, acting as a protocol-agnostic proxy that routes traffic to a pool of supervised workers. The server is built with a plugin-based modular architecture, allowing it to be extended with custom Go plugins and compiled into tailored binaries. It distinguishes itself by providing a unified execution model for a wide array of communication protocols,

    Goapplication-servergolanghacktoberfest
    在 GitHub 上查看↗8,473
  • temporalio/temporaltemporalio 的头像

    temporalio/temporal

    18,411在 GitHub 上查看↗

    Temporal is a distributed workflow orchestration engine designed to manage fault-tolerant, stateful, and long-running background processes. It functions as a platform for coordinating complex cross-service operations, ensuring consistency and reliability in distributed environments by decoupling workflow orchestration from task execution. The platform distinguishes itself through a deterministic, event-sourced execution model that reconstructs workflow state by re-executing code from an immutable event log. This approach isolates non-deterministic side effects into managed activities, allowin

    Gocronjob-schedulerdistributed-crondistributed-systems
    在 GitHub 上查看↗18,411
查看 Spin 的所有 30 个替代方案→

常见问题解答

fermyon/spin 是做什么的?

Spin is a WebAssembly serverless framework and development toolchain for building and running portable microservices. It functions as an event-driven orchestrator and runtime that executes WebAssembly components, allowing developers to map HTTP requests, Redis messages, and cron schedules to specific modules.

fermyon/spin 的主要功能有哪些?

fermyon/spin 的主要功能包括:Event-Driven Orchestration, AI Model Inference, Inference Gateways, Text Embeddings, WASI-Based, Wasm Component Wiring, Wasm Execution Engines, HTTP Request Routing。

fermyon/spin 有哪些开源替代品?

fermyon/spin 的开源替代品包括: wasmedge/wasmedge — WasmEdge is an extensible WebAssembly runtime that executes WebAssembly bytecode in a secure sandbox for cloud, edge,… redis/redis-py — redis-py is a Python client library for interacting with Redis databases to execute commands and manage key-value… roadrunner-server/roadrunner — RoadRunner is a high-performance application server and process manager designed to serve PHP applications using a… temporalio/temporal — Temporal is a distributed workflow orchestration engine designed to manage fault-tolerant, stateful, and long-running… kubescape/kubescape — Kubescape is a Kubernetes security posture management platform designed to scan clusters, manifests, and images for… fission/fission — Fission is a function-as-a-service platform and serverless framework for Kubernetes. It manages the lifecycle and…