Releases: solinode/fnserve
Releases · solinode/fnserve
v0.2.1: Initial Release - Context Handling & Concurrency Support
Initial Release: Context Handling & Concurrency Support
This is the first official release of fnserve, a lightweight, self-hosted serverless runtime that brings AWS Lambda-style functions to your own infrastructure.
Core Features
Function Execution
- Run functions with JSON input/output
- Support for Python and Go runtimes
- Serve functions as HTTP endpoints
- Development mode with hot reload
Context System
- Rich context object with request ID, timestamp, deadline
- Parameter passing via query string
- Environment variable support
- Distributed tracing with trace/span IDs
Concurrency & Scaling
- Configurable concurrency limits
- Request timeout controls
- Worker pool for execution
- Semaphore-based request throttling
Monitoring & Debugging
- Health endpoint
- Statistics endpoint with request metrics
- Detailed error reporting
- Execution timing statistics
Documentation
- Comprehensive README
- In-depth guides for context and concurrency
- Runtime support documentation
- Testing and development guide
Usage Examples
Running functions with context
fnserve run ./functions/hello.py --event '{"name": "World"}'Serving with concurrency controls
fnserve serve ./functions --port 8080 --concurrency 100 --timeout 30sDevelopment mode with hot reload
fnserve dev ./functions --port 8080 --concurrency 10 --timeout 10s