Server

A Server oversees one or more Schemas and named Databases. Over time, this concept will be extended to have support for other features including users and permissions.

There are two ways to initialize a PliantDb server:

  • Storage: A local, file-based server implementation with no networking capabilities.
  • Server: A networked server implementation, written using Storage. This server supports QUIC- and WebSocket-based protocols. The QUIC protocol is preferred, but it uses UDP which many load balancers don't support. If you're exposing PliantDb behind a load balancer, WebSockets may be the only option depending on your host's capabilities.