Skip to content

[WIP] add sqlite backed position storage#11

Open
tkurki wants to merge 5 commits intomainfrom
position-sqlite
Open

[WIP] add sqlite backed position storage#11
tkurki wants to merge 5 commits intomainfrom
position-sqlite

Conversation

@tkurki
Copy link
Copy Markdown
Member

@tkurki tkurki commented Mar 22, 2025

Add the option to store positions once per minute
in a sqlite database with indexed s2 cell data.
This will allow for fast retrieval of positions
to support track API endpoints.

tkurki added 5 commits March 22, 2025 21:20
Add the option to store positions once per minute
in a sqlite database with indexed s2 cell data.
This will allow for fast retrieval of positions
to support track API endpoints.
@jaffadog
Copy link
Copy Markdown

Will this also preserve tracks through signalk server restarts?

@tkurki
Copy link
Copy Markdown
Member Author

tkurki commented May 20, 2025

Yes!

@jaffadog
Copy link
Copy Markdown

Yes!

Super looking forward to that. It’s the thing that gives me the most pause on restarts - the loss of tracks.

@tkurki
Copy link
Copy Markdown
Member Author

tkurki commented May 20, 2025

I have been a bit weary about adding sqlite as a dependency, as its install may be slow. But I guess there is only one way to find out if that is a problem....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants