update.electronjs.org icon indicating copy to clipboard operation
update.electronjs.org copied to clipboard

Support GPMDP

Open zeke opened this issue 7 years ago • 3 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.

zeke avatar Jun 07 '18 11:06 zeke

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

juliangruber avatar Jun 11 '18 11:06 juliangruber

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

juliangruber avatar Jun 11 '18 11:06 juliangruber

@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).

MarshallOfSound avatar Jun 11 '18 12:06 MarshallOfSound