spatio-server

Crates.iospatio-server
lib.rsspatio-server
version0.2.4
created_at2026-01-08 14:48:16.953798+00
updated_at2026-01-12 15:42:35.572941+00
descriptionHigh-performance RPC server for Spatio database
homepage
repositoryhttps://github.com/pkvartsianyi/spatio
max_upload_size
id2030379
size85,282
Petro Kvartsianyi (pkvartsianyi)

documentation

README

Spatio Server

A lightweight TCP server for remote access to the Spatio spatio-temporal database.

Overview

The Spatio Server provides a high-performance, framed TCP interface for interacting with a Spatio database instance from multiple processes or remote machines. It supports the full Spatio API via a custom RPC protocol.

Running the Server

Using Cargo

cargo run --package spatio-server -- --host 127.0.0.1 --port 3000

Options

  • --host: Bind address (default: 127.0.0.1)
  • --port: Port to listen on (default: 3000)
  • --path: Path to the persistent database file (default: :memory:)
  • --buffer-capacity: Size of the in-memory trajectory buffer (default: 1000)

Client Access

Python

Use the SpatioClient from the spatio package:

import spatio
client = spatio.Spatio.server(host="127.0.0.1", port=3000)

Security Note

The current version of Spatio Server does not include TLS or authentication. It is intended for use in trusted private networks or behind a secure proxy.

License

MIT - see LICENSE

Commit count: 243

cargo fmt