Question server specification

nethum shan

New Pleskian
i have a url shortener site like bit.ly. currently it redirect 1 million visitors per day. now i host it in ovh vps 2 core,8gb ram. my problem is sometimes it very slow and sometimes its down for two three minutes. is this server not enough to run this script?
 
So that's an average of about 12 visitors per second? And it probably goes up to what, 20, when it is a busy time of day? More?

Depends on the code that runs on your server. This kind of questions are practically impossible to answer without seeing the code, server configuration, logs and server load compared to actual visitor traffic.

Which programming languages do your services use? Which database is used? Which web server, Nginx without Apache?

What did you do to optimize the server?
 
Do you run anything such as New Relic to capture metrics? Where are your bottlenecks?
 
Back
Top