elio
Full-blown, fully open-source server-less infrastructure for Node.js that can run anywhere, anytime and at any scale.
Architecture
Elio was built from ground up to rely on short-running processes called Nodes that handle numerous functions under the same VM. This means that optimization passes done by a VM can apply to the entire session.
Getting Started
const Elio = ;const crypto = ;const InMemoryPipelines = Elioservices; const elio = maxNodes: 3 // Total number of concurrent workers (should be higher than core count for redundancy) ttl: 30000 // Maximum execution time for functions; // In Memory Storageelio; const source = ` module.exports = async (context) => ({ result: context.name || "echo" });`;const sourceSHA1 = crypto; // Emitted after at least one Node is onlineelio; /* Output: { result: "test"}*/
Extending Elio
Features such as NPM support and signing are available as Elio services:
const Elio = ;const Signature = Elioservices; const elio = ; // Requires digest to be a signature of source code signed by a key pairelio;
Services
- Package (support for NPM)
- Signature (key pair signing for all deployments)
Roadmap
- Support for pipelines
- Support for A/B
- API for custom services
- Rollbacks