Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow cache reads to operate in a "non-blocking" mode for maximum performance #187

Open
Michad opened this issue Aug 24, 2024 · 0 comments

Comments

@Michad
Copy link
Owner

Michad commented Aug 24, 2024

Current cache reads happen before tile generation. If using a higher latency cache setup it can add hundreds of milliseconds. With a typical remote such a cache would be still faster upon a hit but upon a miss adds enough latency to make the map feel less snappy. We should consider support for a non-blocking cache operating mode that causes cache read and tile generation to operate in parallel goroutines, with whichever returns first causing the other to cancel. This is unwanted behaviour in many situations so it needs to be configurable, both overall and per-layer.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant