Jump to content
  • Advertisement
Sign in to follow this  
KitKat20152016

Web Server overload problem

This topic is 597 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

so I have around 10000 clients connecting to my server/website that requesting a JSON file at the same time which is around 10MB (Not getting hacked), of course, I can increase the hardware , but the problem is I can't, What can I do to solve this problem, thanks ? 

 

 

Share this post


Link to post
Share on other sites
Advertisement

Caching?

Maybe telling us something about the nature of the problem (rather than just the high bandwidth requirement) might help us think of an alternate approach.

e.g: Why do you have 10,000 clients connecting simultaneously and why do they all need a 10mb json file? 

Share this post


Link to post
Share on other sites
We'll need more information about your problem.

First: How big is the file? Is it really 10 MB? Is that compressed or uncompressed? Does your server allow pre-compressing files for gzip content-transfer-encoding?

Second: Where are you being bottlenecked here? Is it server CPU? I/O? Network throughput on host? Network throughput on ISP link?

Third: What is the mechanism that causes 10,000 users to all fetch the same file at the same time? Why can't it be cached, or pre-loaded?

Fourth: What levels of caching or content distribution networks have you already applied? How often does it change?

Fifth: Is this an actual problem you have right now, or is this a design question where you want to learn how to deal with this problem?

If you have a particular domain you can host the file on, routing it through CloudFlare Free may be enough. Edited by hplus0603

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!