Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by justbecrazy · May 10, 2012 at 07:32 PM · ioswwwmysqlphphost

About renting the host for the game

I have no experience about server-client. It's an iOS game which doesn't require real-time network interaction. Instead it's more like Draw Something which would send a package of data and then wait for the next move.

I will use the WWW class in Unity3D to contact the PHP on the server side. And the database which the PHP will connect/query is MySQL. I've made some tests using localhost and everything seems fine.

So now comes the real thing. I rent a host from HostMonster for my website. It includes the PHP, MySQL, sorts of stuffs. My question is, I don't know if this kind of host would be suitable for my game. If it's okay, how should I get started? Just simply using the PHP and MySQL service on Hostmonster to create my database?

Does an online game require some server/host with some specific settings? If my game is a massive multiplayer online game based on PC platform, what would my choice be then?

Thank you very much!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Rabbit-Stew-dio · May 11, 2012 at 10:46 AM

Regardless of your project type or envisioned final size: Get the most basic host. Heck, even a server running on localhost should be fine for now. If you want to share the game with friends for early tests, get a Dynamic DNS service to make your local server available to the world. Its zero cost and will be fine for a handful of testers.

Worry about scale when you have the problem of scaling out. If you find that the massive amount of real users you have slows down your server, then think about paying money for a larger server. In the unlikely event that then that server is not strong enough to hold the massive amount of users, you can get a second one, and so on.

The common approach to making successful games is as follows:

  1. Write a working game

  2. Set up the minimal infrastructure required for a few more customers

  3. Get those customers (this is the hard part)

  4. If you hit the performance wall, go back to (2).

Honestly, worrying about server scale before you have a game and customers is like worrying about how to spend all those millions after you bought a lottery ticket.

For a few thousand people playing, you would need no more than a single dedicated server. At the time you have that many customers, you will easily able to afford (a) the server and (b) an administrator to run it for you.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image justbecrazy · May 11, 2012 at 07:23 PM 0
Share

Thank you very much, $$anonymous$$. I'm currently renting a host for my website, which is nothing to do with my game. Could I make that host my game server as well? Do I need to rent a new domain?

avatar image Salazar · Nov 21, 2014 at 01:13 PM 0
Share

Nice answer.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

WWW class and PHP security issues 1 Answer

Upload audio file into mysql database 0 Answers

iOS and MySQL : PHP or .NET Plugin ? 0 Answers

Unity php functions 1 Answer

How Do i check for Duplicate username in database 4 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges