this post was submitted on 05 Apr 2024
47 points (92.7% liked)

Programming

17024 readers
272 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 !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] keccsx@programming.dev 6 points 5 months ago (1 children)

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

[–] nik9000@programming.dev 3 points 5 months ago (1 children)

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

[–] keccsx@programming.dev 1 points 5 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@programming.dev 1 points 5 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.