Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This question already has an answer here:

I created a simple API for my project I'm working on. The API is basically used for user authentication and to execute user actions within a panel (example: http://api.mydomain.com/loginUser?username=user&password=pass; returns true if correct info, false if not). I'm preparing for ~500 users max to probably use this, for now.

The current API server specs are: CPU: 1 Core RAM: 2 GB Disk Space: 60 GB Bandwidth: 4 TB OS: Latest Ubuntu

My question is basically, can this server handle hundreds of users a day? I can easily purchase a bigger server if necessary, but if not, I won't. If I need to get a bigger server, what would your suggestions be? I was also thinking I could buy a lot of these small ones and do some sort of a round-robin type thing. Any ideas?

share|improve this question

marked as duplicate by Wesley, Zoredache, EEAA, Ward, Jenny D Oct 9 '13 at 7:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Please use https for requests including a password. –  toppledwagon Oct 8 '13 at 23:29
    
Run a load test on it from another server and find it... ? –  Wesley Oct 8 '13 at 23:55
add comment

1 Answer

up vote 1 down vote accepted

There is really not enough information here to answer your question definitively. The best approach is to take an educated guess, then measure the results. Big enough? Ok, done. Not big enough? Add more. Repeat.

You've inadvertently hit on a key topic in asking about round-robin however. Two small(er) servers are better than one large one if only for the ability to do rolling upgrades or maintenance. However, make sure you have spare capacity to make sure you can survive in a degraded mode where one node is unavailable.

Good luck.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.