Answer the question
In order to leave comments, you need to log in
Highload server/service for spec. social network project. Load ~5000 requests per minute?
Comrades, please help me choose good services/hosting for an iframe-special project on the Odnoklassniki / MoiMir social network. People from OK warned about a decent load of 25,000 connections in 5 minutes. First of all, it is interesting to hear the opinion of people who hosted something with a similar load and which services who chose and why. Gentlemen, igrodely, highloaders, I ask for just a moment of attention!
A few details:
1) This is a JS application (rendering the interface on the client)
2) Code in PHP, and most likely in Yii
3) MySQL, but not very sure yet (what can you say about deadlocks + Yii?)
4) We plan to use a CDN for images and user-generated content (which one would you recommend, maybe www.cloudflare.com ?)
5) The application will integrate with the system of gifts from OK from the court and the load (people say they go crazy for free in this hospital)
6) Since the load will be peak only for some time due to the nature of the promo mechanics, we will distribute all the valuable gifts and it will all be over , it is desirable to find something with payment for a minimum discrete period (for example, per hour or per day)
In principle, there is money for a normal, as I understand it, system: I watched heroku + add. Services.
I really want to spend money wisely, for something that is really worth it.
Answer the question
In order to leave comments, you need to log in
5000 requests per minute? I would say that this is far from a highload.
5000 requests per minute, any 1 Hetzner Dedik will withstand. So less tragedy =) The load is good, but not highload.
If you are interested in hourly payment, I recommend looking towards Scalaxy / Selectel clouds, as well as AWS Spot Requests (In some regions, their prices are quite stable and consistently lower than regular instances).
5000 requests is not enough, the main thing is to build a conveniently scalable architecture in advance. I would not recommend MySQL to you if you are going to expand in the future. And put at least 5 weak servers, but with load balance. And you will have everything type top.
100 rps holds any basin, in general.
Collect several virtual machines in scalaxy, do some kind of balancing between them ... and ... and that's it.
If, say, rendering on the client and templates will be used - a good option for hogan.js, templates must be compiled on the server. Again, if rendering is based on json data, then it is better to use mongo instead of mysql, it gives the data already in json, and it can work faster if you put the indexes correctly.
Thanks everyone for the replies. About "highload": I repeat the words from OK. This is only the planned minimum load, there may be more. The peak will be within 5-6 hours, in total. The main thing is simply that it works without a hitch and without a hitch during this time.
Or can you share links to stable clouds, Russian or to which the ping is not large from Russia, with which you worked?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question