Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a data caching server to speed up data loading #1183

Closed
3 tasks done
pietervdvn opened this issue Dec 23, 2022 · 2 comments
Closed
3 tasks done

Create a data caching server to speed up data loading #1183

pietervdvn opened this issue Dec 23, 2022 · 2 comments
Assignees
Labels
NLNet Will be developed, funded by NLNet Performance Make things faster or leaner

Comments

@pietervdvn
Copy link
Owner

pietervdvn commented Dec 23, 2022

One of the NL-Net tasks is to speed up data loading

Introduction

Currently, MapComplete loads all data from Overpass (or from the OSM-AP if zoomed in). For
some themes, it would be nice to see globally how much data is available and to be able to load
the data quickly. While Overpass is an amazing service and allows extremely flexible queries, it
often takes a long time to load the data – especially on a global level.
A service like MapComplete doesn’t need this flexibility: once a thematic visualization is created, it
is well-known what features should be loaded. A service could then cache all these features and
keep these layers up-to-date with the minutely diffs. This also ties in with the internal handling of
data: within MapComplete, the ‘FeaturePipeline’ is a complicated piece of code which merges the
data from different sources (overpass, fallback-overpass, cache, external sources, the actual
OSM-API). It contains several bugs, and issues, for example: it can’t handle deleted points nor can
and emits many duplicate features in some cases.

Tasks

  • Find and adapt a vector tile generating server, with a data layer for every mapcomplete-
    layer
  • Refactor the feature pipeline and feature sources to remove unneeded code
  • Fix caching behaviour and behaviour of deleted items

As this issue is mostly for project management, no discussions are allowed here. Please use #581 for technical discussions

@pietervdvn pietervdvn added the NLNet Will be developed, funded by NLNet label Dec 23, 2022
@pietervdvn pietervdvn self-assigned this Dec 23, 2022
Repository owner locked as off-topic and limited conversation to collaborators Dec 23, 2022
@thibaultmol
Copy link
Collaborator

@pietervdvn this is solved now I think?

@pietervdvn
Copy link
Owner Author

Indeed!

@riQQ riQQ added the Performance Make things faster or leaner label Jun 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
NLNet Will be developed, funded by NLNet Performance Make things faster or leaner
Projects
None yet
Development

No branches or pull requests

3 participants