Build Hosting Server for an app data. Help ?

q8xbox360

Reputable
Aug 29, 2017
50
2
4,535
Hi,

I will explain what i want to do first. I'm developing a new social network app similar to twitter which currently i used Godaddy Business Web Hosting Premium Plan for now i think it is fine but later when i need more storage i have two choices to buy cloud storage something like cloudinary[dot]com or take Dedicated Server Hosting ether way those two will cost a lot of money depend on usage so i would like to ask what if i want to build a server to host this app data which component i would need in order to build it ?

This is my own PC specifications:
- ASUS Maximus VIII Hero (Intel Z170)
- Intel® Core™ i7-6700K Processor (8M Cache, up to 4.20 GHz)
- G-Skill Ripjaws V F4-3200C16D-16GVRB (2 x 8GB)
- NVIDIA GeForce GTX 780
- Hard Disk X 3:
* Samsung SSD 840 EVO 1TB
* Seagate ST3000DM001-1CH166 3TB
* Seagate ST2000DM001-1CH164 2TB
* Western Digital Black WD3003FZEX-00Z4Sa0 3TB
- Corsair AX760 ATX


Best Regards,
 
Solution
Its upgradable to redundant PSU, Redundant OS drives, & Dual Fiber Nic's so not bad but stock it with 30 4tb drives will add 5-10k to the cost and doesnt include an ssd caching card(s) which can run you another 10 grand. And this is just a network attached storage device. You'll still need the various servers
You need to consider the bandwidth for the internet to communicate with the server. If you plan on running this at home, what kind of internet do you have? Most home lines don't allow this of usage in their fine print. What about if the server goes down, your whole app goes down, people leave, don't come back. What about people overseas who want to use it? They'll suffer lag and such being so far away from you.

Cloud hosting is a great option because all of those things are handled for you.
 

q8xbox360

Reputable
Aug 29, 2017
50
2
4,535
Don't worry too much to other thing since if i want to build this server there will be a team to manage it also there will be an office which have fiber optic lines to provide high speed from provider. For now i just need to know the hardware needed in order to build it
 

USAFRet

Titan
Moderator
Running this from a personal server at home is a baaaad idea.

1. Bandwidth
2. Actually running a server in a residential account
3. Security
4. Not scalable. Number of users AND bandwidth.

Let someone else handle all that stuff.


How many users are you expecting on Day 1? Day 30? Day 365?
How many people have you tested this with?
 

USAFRet

Titan
Moderator


Oh...well this is a WHOLE different thing than what was alluded to in your initial post.

If there will be "a team to manage"....this is what your network and server guy does. Let him spec out the system.
You build and manage the application
 

USAFRet

Titan
Moderator


What hardware is unknowable at this point.

What bandwidth in and out?
How many users?
How many concurrent users?
What DB software?
What OS?
Backup situation?
Failover?
Firewall?
Funding?
A hundred other questions.

No need to actually answer. This is what your hardware/network guy does.

But it is more than "a server".
 

q8xbox360

Reputable
Aug 29, 2017
50
2
4,535
Well, i can not answer this since i'm not an expert so i point it like this like it say that the app is interactive social network app which let the users to share there images & videos something like twitter and the base users will be 300k.
 

lakimens

Honorable
Google has a handy tool for this job, it has storage, realtime database, authentication and more. It's called Firebase. Firebase is only a back end though, you still need a website to implement it, which you can host on Firebase.
 

USAFRet

Titan
Moderator
images & videos something like twitter and the base users will be 300k

That is a non-trivial system that can't really be specced out here, for free.
Hosting images and video for 300k users is a LOT of drive space.
300k users is a LOT of connections.



i can not answer this since i'm not an expert so...
This is when you pay someone to build it for you.


How do you plan to get to 300k users?
What are you running it on now?
 

q8xbox360

Reputable
Aug 29, 2017
50
2
4,535
How do you plan to get to 300k users?
I know someone that work on a company that have a database of over 800k so i expect to be 300k even if i get 100k that will be fine for start and maybe it will be lower too :)

What are you running it on now?
The app still in development and i just need to know the basics needed for setup not exact setup but a close one.
 

USAFRet

Titan
Moderator


OK...at work we have a userbase of ~150k users.

Here is a basic breakdown:
2 x f5 load balancers
4 x web front ends
2 x 2 balanced SQL DB servers, virtualized on 2 x servers
Approx 500TB actual drive space
Nightly backups. Of course this also takes non-trivial drive space

Any clearer to you?

"In development" does not automagically scale to 300k users, no matter what your friend says.
 

q8xbox360

Reputable
Aug 29, 2017
50
2
4,535
I don't need to take my friend as something will happend because i also have mind to think and maybe i will take 150k from you :)

Can i have more details about this. please ?
2 x f5 load balancers
4 x web front ends
2 x 2 balanced SQL DB servers, virtualized on 2 x servers
 

lakimens

Honorable
Dude, stop dreaming about starting with 300K users. It's not possible. You need a full development team for this job, you cannot do it alone. If you want to do it alone, as I said, try Firebase, but I'd bet it's more expensive than to build it yourself.

I'm no expert, but what he said is what they use in their scenario, most likely you will need a different configuration.
 

q8xbox360

Reputable
Aug 29, 2017
50
2
4,535


As long As dream is free why not :) and i appreciate you suggestion as i already have a very good hosting plan and i use the free plan from cloudinary for hosting images/video
 

USAFRet

Titan
Moderator


What you might need is completely different than what we use.
For hardware specs on what you need...you need to ask the people you are paying for this.

But so far, all I see is an "app in development". Everyone has one of those.

 

lakimens

Honorable


Great idea, let's use a free plan for 300k users. Nothing can go wrong.
You realize that 300k users are gonna eat through 5GB of bandwidth in about a second?
 

popatim

Titan
Moderator
This won't be a server you'll be building, as mentioned, this will need to be spread among several servers and we don't know enough about your app to even guess at the processing power/server farm that you will need to run the core of your software.

If global performance is required then you may even need synchronized hosting at several locations around the world.
 

USAFRet

Titan
Moderator


"45 drives" ?
That is a meaningless number. What would these be connected to?
Don't answer that....ask your paid hardware guy.
 

popatim

Titan
Moderator
Its upgradable to redundant PSU, Redundant OS drives, & Dual Fiber Nic's so not bad but stock it with 30 4tb drives will add 5-10k to the cost and doesnt include an ssd caching card(s) which can run you another 10 grand. And this is just a network attached storage device. You'll still need the various servers
 
Solution