Skip to content

Architecture and isolation

Every Liner customer runs on a dedicated platform instance with its own database, queues and services. A faulty query physically cannot return another customer's data: that data is not in the database.

Platform components

Liner PlatformWeb app, CRM features, reporting, public API, change history Liner CPaaSOur own telephony platform: calls, WebRTC, call recording, answering-machine detection Liner AgentMobile apps for agents on Android and iOS

Request path

Userbrowser or mobile app HTTPS / WSS Edge proxyTLS termination, HTTPS redirect internal network Customer instanceapp, DB, Redis, RabbitMQ, services

Users reach the platform only through the edge proxy. The database, cache, queues and internal services of an instance communicate over an isolated internal Docker network.

Single-tenant model

Shared database (multi-tenant) Liner (single-tenant)
Database One for all, separated by tenant_id One per customer
Cache and queues Shared One per customer
Application containers Shared One set per customer
Impact of a filtering bug Possible leak of other customers' data No other customers' data in the database
Updates and maintenance All at once Per instance, independently

Call recordings and files are kept in S3 object storage, in a separate namespace for each instance.

Telephony isolation

Own instancefor each customer on the telephony platform Own onlynumbers and trunks available for calls localhostPBX database and management interface are not exposed to the network

  • The telephony API key is bound to the customer's instance. Every API call checks that the key, the instance and the node are active.
  • Calls can only be placed from numbers and through trunks owned by that customer.
  • Answering-machine detection runs on our own servers with our own model. Audio is not sent to third-party services for this.

Resilience

Platform stability rests on three things: distributed load, continuous observation and a team that responds to incidents.

Observemetrics, logs, checks every minute signal Respondself-healing and on-call team review Improveroot-cause fix via CI/CD

Load balancingLoad balancers distribute traffic so no single node becomes a bottleneck Metrics in GrafanaReal-time dashboards for platform and telephony health Logs in GraylogLogs from all services in one system — incidents investigated in minutes Checks every minuteAutomated health checks for every platform instance Self-healingStalled telephony components restart automatically based on health checks Team on callOperations engineers monitor the platform and respond to incidents

  • Failure isolation. Each customer runs on its own instance, so an issue affecting one customer does not affect the others.
  • Safe updates. Updates roll out through CI/CD instance by instance, with a maintenance mode and automated migrations. See Secure development.