System Requirements

63 views
Skip to first unread message

victo...@gmail.com

unread,
Jul 14, 2015, 11:40:45 PM7/14/15
to democra...@googlegroups.com
Hi there,

I've got a good understanding on how to run a Democracy OS instance. My organization and I want to put it into motion here in Canada. Currently, it's deployed on my development machine. I'd like to host it on cloud.

If someone with experience deploying for the Red Party could give their opinion, what is the maximum cloud technical requirements I will need to scale to (given thousands of users). This will help me pick the right server. Please provide an estimate on anything you can:

# Of Cores
Network Speed in Mbit/Gbit
# GB of Ram
# GB of SSD
# TB of monthly data transfer

Thank you,

Victor

Guido Vilariño

unread,
Jul 15, 2015, 12:25:20 AM7/15/15
to Victor Gypsy, democra...@googlegroups.com
Node is signle-proceess, so 1 core is enough. We used to have a built-in multi-core solution but deprecated it. If you want to bring it back in check releases aroun 0.8 and see how we did it.

A 1-2 GB server with a 2Ghz core should do the trick. Node is well known for not taking too much toll on the hardware. We've used a standard heroku dyno for handling ~2k users; a 2X dyno for quite a bit more (we've seen it take > 10k users). More ram will do you no good since Node.js (because of V8) has a RAM hard limit so you'll want to scale horizontally for that.

Keep in mind that notifier shouldn't be scaled horizontally for the time been since we haven't performed tests on parallel processing of tasks.

Storage size shouldn't be an issue at all; our models are small and Mongo does a nice job on binary storage. 10GB would be more than enough.

We don't have any metrics on data transfer.

Your network speed should always be the highest possible.

Hope it helps


--
You received this message because you are subscribed to the Google Groups "DemocracyOS/app" group.
To unsubscribe from this group and stop receiving emails from it, send an email to democracyos-a...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dpasq...@gmail.com

unread,
Nov 15, 2015, 6:54:25 PM11/15/15
to DemocracyOS/app, victo...@gmail.com
Em quarta-feira, 15 de julho de 2015 01:25:20 UTC-3, Guido Vilariño escreveu:
> Node is signle-proceess, so 1 core is enough. We used to have a built-in multi-core solution but deprecated it. If you want to bring it back in check releases aroun 0.8 and see how we did it.

Hi, I've just tested democracyos on docker container in a single core machine with 2GB ram and it seems to handle around 460 requests per second with an average of 1800ms of response time.

Then I tried to scale it up in a two core machine with two docker containers behind an apache with load balancer configured. The number of requests per second increased less than expected, to about 510 req/s. Any idea why that would happen?

Guido Vilariño

unread,
Nov 18, 2015, 9:23:18 AM11/18/15
to dpasq...@gmail.com, DemocracyOS/app, Victor Gypsy
Not really, we haven't profiled the application in a while. These findings are interesting. They may related to a Mongo Issue
Reply all
Reply to author
Forward
0 new messages