askrobots / dbbasic-object-primitive
Public
Python functions as REST objects, with clustering, load balancing and state replication; no containers or orchestration.
cluster.example.tsv · 561 bytes · 15 lines
| 1 | # Cluster Configuration |
| 2 | # Copy this file to cluster.tsv and customize for your environment |
| 3 | # |
| 4 | # Columns: |
| 5 | # station_id - Unique identifier for this station (e.g., station1, station2) |
| 6 | # host - IP address or hostname |
| 7 | # port - Port number for the HTTP server |
| 8 | # user - SSH username for remote deployments |
| 9 | # role - Either 'master' or 'worker' |
| 10 | # |
| 11 | # Example 3-station cluster: |
| 12 | station_id host port user role |
| 13 | station1 192.168.1.10 8001 youruser master |
| 14 | station2 192.168.1.11 8001 youruser worker |
| 15 | station3 192.168.1.12 8001 youruser worker |