Pincaster

maintenance

by Frank Denis · since 2010

Frank Denis's in-memory, persistent store for geographic points and key/value records with an HTTP/JSON API.

spatialkey-valuedatabase engineopen source (permissive)legacy

maintenance. No feature work since the early 2010s; occasional fixes continue (security patches to the bundled YAJL parser, Dec 2025).

Overview

Pincaster is a small NoSQL server in C by Frank Denis (author of libsodium and Pure-FTPd) that keeps data in memory, persists it to disk and speaks HTTP/JSON. A database holds independent layers, each a namespace with a flat or spherical geographic space; records in a layer can be empty, a set of binary-safe key/value properties, a latitude/longitude point, or both, and can expire automatically. It answers nearby-point and bounding-box queries, supports master-to-replica replication, and community client libraries exist for Ruby, Node.js, Python and PHP. Development peaked around 2010, but the author still patches it occasionally, most recently with security fixes to its bundled JSON parser in December 2025.

Strengths & trade-offs

Strengths

  • +Radius and bounding-box queries over points with almost no setup
  • +Points and arbitrary properties live in the same record
  • +Tiny C server with record expiry and replication built in

Trade-offs

  • −Single-node in-memory design limits dataset size
  • −Point data only: no polygons or spatial joins
  • −Community client libraries are mostly unmaintained

Great for

  • +Nearby-place or store-locator lookups
  • +Ephemeral location data with automatic expiry

Think twice for

  • −Complex GIS analysis
  • −Datasets larger than RAM

Capabilities

Native or official first-party support · 5 of 25 tracked

✓Geospatial
✓JSON
✓TTL / expiry
✓In-memory
✓Durable persistence
–Transactions
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–Pub/Sub
–Columnar storage
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
None
Consistency
Eventual
Schema
Schemaless
Architecture
In memory, Primary replica, Client server
Query languages
HTTP/JSON API

Working set in RAM on one server, with asynchronous replicas.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsHTTP/JSON REST
client languagesRuby, JavaScript, Python, PHP

Alternatives to Pincaster

Compare all→
Tile38Spatial10.0

In-memory geospatial database and geofencing server that speaks the Redis protocol and HTTP.

pincaster vs tile38 →
RedisKey-Value84.3

The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.

pincaster vs redis →
PostGISSpatial47.5

The standard spatial extension for PostgreSQL: geometry, geography, rasters and topology in SQL.

pincaster vs postgis →
ValkeyKey-Value58.0

The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.

pincaster vs valkey →
MemcachedKey-Value50.6

The original multi-threaded, dead-simple distributed memory cache for key-value blobs.

pincaster vs memcached →
EhcacheKey-Value17.6

The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.

pincaster vs ehcache →

Pincaster FAQ

What is Pincaster?

Pincaster is a spatial database by Frank Denis, first released in 2010. Pincaster is a small NoSQL server in C by Frank Denis (author of libsodium and Pure-FTPd) that keeps data in memory, persists it to disk and speaks HTTP/JSON. A database holds independent layers, each a namespace with a flat or spherical geographic space; records in a layer can be empty, a set of binary-safe key/value properties, a latitude/longitude point, or both, and can expire automatically. It answers nearby-point and bounding-box queries, supports master-to-replica replication, and community client libraries exist for Ruby, Node.js, Python and PHP. Development peaked around 2010, but the author still patches it occasionally, most recently with security fixes to its bundled JSON parser in December 2025.

Is Pincaster open source?

Yes. Pincaster is open source. License: ISC-style license.

Does Pincaster support ACID transactions?

No. Pincaster does not provide ACID transactions; its consistency model is eventual.

Does Pincaster scale horizontally?

Pincaster does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run Pincaster?

You can self-host it.

What is Pincaster best for?

Pincaster is a strong fit for nearby-place or store-locator lookups and ephemeral location data with automatic expiry. Think twice for complex GIS analysis.

What are the best alternatives to Pincaster?

Common alternatives to Pincaster include Tile38, Redis, PostGIS, Valkey and Memcached. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is Pincaster still maintained?

Pincaster is in maintenance mode. No feature work since the early 2010s; occasional fixes continue (security patches to the bundled YAJL parser, Dec 2025).

How popular is Pincaster?

Pincaster ranks #590 of 844 databases on the WhichDB Score (1.0/100), and #3 among spatial databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.