EIDA / mediatorws

EIDA NG Mediator/Federator web services
GNU General Public License v3.0
6 stars 6 forks source link

In memory fdsnws-station-text #87

Open damb opened 4 years ago

damb commented 4 years ago

Features and Changes:

damb commented 4 years ago

Stats:

Test were performed using the docker setup from https://github.com/EIDA/mediatorws/tree/feature/in-memory-station-text/docker/prod at localhost (i.e. granular endpoint requests; HTTP caching); logLevel=WARNING

N=100 Columns: Percentiles | Response start time | Response total time (times in seconds)

The difference is just marginal. Most probably there is still some kind of OS-level caching involved.

kaestli commented 4 years ago

This is OS level disk caching.

damb commented 4 years ago

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)?

kaestli commented 4 years ago

I know that linux typically uses the entire free physical RAM for caching (windows, at least non-server versions, not). It is widely configurable (e.g. https://unix.stackexchange.com/questions/30286/can-i-configure-my-linux-system-for-more-aggressive-file-system-caching); configuration is different for physical devices and NFS. Actual disk operation is FS-dependent, thus i guess also the effects of some config parameters. I think, at least for the current application, OS level optimization of the caching strategy may be overkill.