electron / update.electronjs.org

📡 A free service that makes it easy for open-source Electron apps to update themselves.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support GPMDP

zeke opened this issue · comments

@MarshallOfSound would like to use this service for https://electronjs.org/apps/google-play-music-desktop-player but is concerned about the request volume, as the app is very popular.

@MarshallOfSound can you share your usage numbers, or what you think would be a baseline for load testing?

@juliangruber I recall you doing some load tests on this service, right?

Let's see if we can make it work.

I have done some basic load testing using my machine until the internet gave out, and that was fine, but no, not yet used one of those services to generate some real load.

I'll set something up once @MarshallOfSound gives us some numbers :)

Also, maybe you can share your current update service deployment?

@juliangruber Currently we get (according to cloudflare) around 120,000,000 requests a month which translates to approximately 4,000,000 a day and approximately 45 a second. Around 70% of those are handled by cloudflare, the rest hit a single vertically scaled server running a modified version of nuts to have better (read more aggressive) caching. That server currently averages 60% load and spikes to 80% during PST. I use pm2 to cluster that nuts instance 12 times.

That servers specs are currently an E5 1650 v3 and way too much RAM (like 96GB).

Please note this may just be that nuts is not very optimized (I had to put a lot of custom caching in).