Create IOT cloud

Hey everyone, I would like to create an IOT cloud which is controllable with a use of web interface or an app, cloud which is similar to BLYNK's (http://www.blynk.cc/) that is able to control each pin and do what BLYNK is able to do with the same features and speed which is close to real time speed. What should I use in order to create a system like that and Are there any examples for something in this case? Huge thanks!

Can anyone please answer me?

Blynk server is open-source if you don't know. You can modify it to your needs.