nmandery / rout3serv

H3-grid based Routing server with GRPC-API and dataframe integration
0 stars 0 forks source link

Deduplicate requests when loading from S3 #15

Closed nmandery closed 2 years ago

nmandery commented 2 years ago

When receiving multiple concurrent requests for H3ShortestPath without having the graph already cached in the LRU cache, the file is downloaded multiple times. This should happen only once.

The functionality should be generic to be able to re-use it in til3serv