Localzet Server and related projects documentation

Operations and security

Triangle Pusher requires exactly one worker. Subscriptions live in process memory: there is no shared registry, cross-process or cross-node broadcast, durable delivery, replay, or delivery guarantee. HTTP triggers and WebSocket connections must reach the same listener; independent instances do not share state.

The config sets max_connections=1000, max_message_bytes=10000, and allow_client_events=false; the message limit cannot be raised above 10,000 bytes. Limits apply per process. Size memory and connection capacity for your workload; these defaults are not evidence of load testing.

The default listener binds to 127.0.0.1:3131. Keep it on loopback or a private network, terminate TLS at a trusted reverse proxy, and forward WebSocket upgrades and HTTP POST /apps/{app_id}/events through it. Configure Origin rules, rate limits, and network ACLs at the application/proxy layer; the plugin does not provide these as built-in policies. Do not expose the listener publicly without a protected perimeter.

The app secret is used to sign channel authorization and HTTP API requests. Store it only in a secret store or process environment, restrict access, and rotate it. Enabling allow_client_events expands what connected clients can do; enable it only when needed and account for authorized channel members publishing client event data.

Encrypted and cache channels, user sign-in, an auth endpoint, webhooks, and batch HTTP triggers are not implemented. Observed behavior does not establish full compatibility with hosted Pusher or every option in a third-party SDK.