Conversation
Implement an in-memory download task for fdsnws-station-text. The class inherits from InMemoryTask.
When downloading fdsnws-station-text the corresponding RequestProcessor can either handle a (temporary) file-based download task or an in-memory download task. Though task types, switching is not configurable, yet.
|
Stats: Test were performed using the docker setup from https://github.com/EIDA/mediatorws/tree/feature/in-memory-station-text/docker/prod at N=100
The difference is just marginal. Most probably there is still some kind of OS-level caching involved. |
|
This is OS level disk caching. |
@kaestli, do you know the actual limits of OS-level disk caching? How does it scale with more files (most probably this is both hardware, OS and filesystem dependent, right)? |
|
I know that linux typically uses the entire free physical RAM for caching (windows, at least non-server versions, not). |
Features and Changes:
fdsnws-station-textdownload task results into temporary files, keep them in-memory