Expand description
Standalone cache server.
Runs a lightweight HTTP server that exposes only cache and pub/sub endpoints. This allows the cache to be deployed independently of the main pylon server for horizontal scaling.
§Usage
pylon cache --port 6380 --max-keys 100000 --max-history 100§Endpoints
POST /cache– execute a cache command (same protocol as/api/cache)GET /cache/:key– shorthand GETDELETE /cache/:key– shorthand DELETEPOST /pubsub/publish– publish a messageGET /pubsub/channels– list channelsGET /pubsub/history/:ch– channel historyGET /health– health check
Functions§
- start_
cache_ server - Start a standalone cache server on the given port.
- start_
cache_ server_ with_ options - Start a standalone cache server with optional RESP protocol support.