Python functions as REST objects, with clustering, load balancing and state replication; no containers or orchestration.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-primitive.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-primitive.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-primitive.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Q Consolidate duplicate QUICKSTARTs on the top-level file 503f830 7 months ago History
__init__.py · 799 bytes · 29 lines
1"""
2Runtime execution engine for the Object Primitive System.
3
4This module handles the execution of endpoint code:
5- Endpoint execution (run user code)
6- Compilation (Python bytecode compilation)
7- Caching (compiled endpoint caching)
8- Hot reload (update code without restart)
9- Sandboxing (security isolation)
10- Resource limits (CPU, memory, time)
11
12Philosophy:
13 The runtime executes endpoint code efficiently and safely.
14 It should be fast, secure, and isolated.
15
16 Endpoint code is untrusted - we must sandbox it.
17 But we also want performance - cache compiled code.
18
19 Hot reload enables live updates without downtime.
20"""
21
22__all__ = [
23 # To be implemented in Phase 4+
24 # "EndpointExecutor",
25 # "CodeCompiler",
26 # "EndpointCache",
27 # "HotReloader",
28 # "Sandbox",
29]