Closed peppelinux closed 5 years ago
look at scripts/mirror-mdq.sh and also test the new api backend. With the redis backend and config.cache_size turned up to a bit more than your expected volume of entities you should get much better performance.
At the moment I'll be in production with nginx static serve, when I'll have more time I'll try to read the code and understand your suggestions, otherwise I'll wait more time to get for official documentation on these tasks. thank you @leifj
I'm using NginX to serve metadata on MDQ queryes like:
The rules are the following
This experience is related to https://github.com/IdentityPython/pyFF/pull/171
pyff without a CACHE will take roughly 3 or 4 seconds to get back the result, NginX instead will take 36ms. In addition to this if nginx is unable to find the requested sha1 metadata it will return 404, instead of error 500 as pyff does.
Please share your ideas