Now that we’re hitting cough Cough COUGH1 million users a month the LVFS is getting slower and slower. It’s really just a flask app that’s handling the admin panel and then apache is serving a set of small files to a lot of people. As switching to a HA server is taking longer than I hoped2, I’m in the process of switching to using S3 as a CDN to take the load off. I’ve pushed a commit that changes the default in the fwupd.conf
file. If you want to help test this, you can do a substitution of secure-lvfs.rhcloud.com
to s3.amazonaws.com/lvfsbucket
in /etc/fwupd.conf
although the old CDN will be running for a long time indeed for compatibility.
- Various vendors have sworn me to secrecy
- I can’t believe GPGME and python-gpg is the best we have…
What Apache worker module are you using? Some of them (notably the ones that work with Django/Flask) have a terrible overhead for serving lots of small files. With the right module or perhaps simpler with something like nginx, you should be able to easily do 10k hits/s, IIRC.