this post was submitted on 05 Apr 2024
89 points (95.9% liked)

Programming

17534 readers
246 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] keccsx 6 points 7 months ago (3 children)

Aren't time series databases like Prometheus pretty good at storing this kind of data?

[–] nik9000 3 points 7 months ago (2 children)

I don't believe Prometheus supports geospatial data. Two minutes of googling though, so I could be wrong.

[–] keccsx 1 points 7 months ago (1 children)

They're just storing doubles in their own format too. I'm not sure if they even need any spatial lookups on the data, they didn't mention anything about that in the article. Maybe they do that in-memory?

[–] nik9000 1 points 7 months ago

I imagine a delta encoding scheme similar to what the time series DBs use would work well for the geo points. Maybe even a delta-of-delta encoding for things like ships which move very consistently.

It's probably not worth it given how small they've already go their data. But it is fun.