Home / Companies / Tiger Data / Blog / Post Details
Content Deep Dive

Hexagons, Hypertables, and 240 Dead Tags: Migrating a Maritime Data Platform to TimescaleDB

Blog post from Tiger Data

Post Details
Company
Date Published
Author
Vessel
Word Count
3,054
Company Posts That Month
18
Language
English
Hacker News Points
-
Post removed?
No
Summary

VesselAPI, a maritime data service, transitioned its data platform from MongoDB to TimescaleDB to better handle the unique demands of processing Automatic Identification System (AIS) data, which involves real-time tracking of vessels worldwide. Initially, MongoDB's flexibility was useful for the rapidly changing schema, but it struggled with the time-series and spatial queries that the maritime data required, such as querying vessel positions over time and space. TimescaleDB, a time-series extension of PostgreSQL, provided the necessary features, like automatic partitioning, compression, and spatial querying through PostGIS, all of which aligned more naturally with the data's time-series structure. The company also employed H3, a hexagonal spatial indexing system, to improve query efficiency by pre-filtering location data, thus reducing the load on the spatial index. The migration revealed challenges such as outdated BSON tags in the code, which caused data processing errors, highlighting the importance of thoroughly updating system integrations during such transitions. The move to TimescaleDB allowed VesselAPI to efficiently manage its high volume of AIS data on a single server, streamlining operations that previously required multiple databases and significant application-level workarounds.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 6,457 1,307 242 +28%
Data Pipeline 1 732 223 82 +132%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.