Recommendations for a Game Server?

Does anyone here have experiencing integrating a mobile game with a back-end server to store player accounts and game data? If so, any recommendations?

I had been considering Google App Engine but the imminent price increase suggests other options might be more affordable.

Any thoughts on Moai Cloud, PHP, Roar Engine, Node.js or any of the other myriad possibilities?

Will Ansca ride to the rescue with its own cloud offering? [import]uid: 1560 topic_id: 14589 reply_id: 314589[/import]

You can’t really compare them without considering your needs and experience.

How much experience do you have setting backends? What languages are you familiar with? What kind of scale are you looking for? Moai Cloud, Roar, and App engine are setup to make scaling easier for you. And looks like Roar is setup with certain types of games in mind.

Node.js is server / framework for developing web servers with V8 and Javascript. Php is just a language and requires a webserver to go with it.

Node.js is going to give you better raw performance over PHP, but if you plan on scaling you’re going to need to figure out the backend is going to be setup with proxies, web servers, app servers, storage (caching, db, etc).

Personally, I’m looking into an Erlang backend writing my own server, but it sounds like you’re just starting out. Might be better to look into the services. [import]uid: 27183 topic_id: 14589 reply_id: 53972[/import]

I just set up a CloudServer from Rackspace that will initially run me about $11 per month. I already have a dedicated server from HostGator that I use for other server-based projects, but I wanted something I can scale *easily* in the future when one of my apps makes it big. (Hey, think positive!)

In one of my other projects I have a server-based back-end for clients and then data is served via an Amazon S3 account, but I’m switching that over to Rackspace for one main reason – testing has shown RS to be *much* faster than S3 and for what I’m doing the speed difference is visible.

Price is close enough that I don’t remember who’s cheaper.

The downside to either of those options is that unless you already have the Linux knowledge to set up a server, it’s an INCREDIBLE time sink.

I pay $219 a month for my server from Hostgator and it came ready to use, they keep it updated with the latest security patches, and if I need something new/different on the server I submit a ticket and they do it for me, so the extra money I pay them is well worth it.

Jay
[import]uid: 9440 topic_id: 14589 reply_id: 53977[/import]

Moai Cloud is free during the beta, which will probably be a long time :wink:

http://getmoai.com/get-started/moai-faq/moai-cloud-hosting-options/

"Turnkey hosting option:

This is the default option, in which Moai allocates resources to your services based on the number of requests they receive and amount of work they do. We scale your Moai services out for you as your game traffic and load grows, load balance the requests, and make sure your services are running within reasonable operating limits and backed up every day. You can do custom logging from your services, pause your services whenever you need to, and create as many as you want. Your bill is based on usage of bandwidth, data, and CPU. Hosting is free during the beta and will continue to be free for accounts with low request and load volumes (e.g. when you’re just building your game or first releasing it and working to get players to try it)." [import]uid: 79135 topic_id: 14589 reply_id: 54174[/import]

pubnub.com is another option you might want to consider. they have the necessary support for corona / lua. [import]uid: 55009 topic_id: 14589 reply_id: 54175[/import]

Does PubNub handle server-side storage of client data? I thought it was just for messaging, without persistent storage. [import]uid: 1560 topic_id: 14589 reply_id: 54183[/import]

Hi Dotnaught,

What kind of functionality are you specifically looking for?

We’re currently developing a solution and are looking to get some developers on board soon to help test and steer development.

Ali [import]uid: 10499 topic_id: 14589 reply_id: 54252[/import]

Primarily a way to store user account data off-device, so that, for example, in-app purchased items can be tracked and restored if necessary. I’d prefer something that isn’t tied to a proprietary service, in case migration becomes necessary. I assume this could be done with any LAMP setup.

I’d be curious to hear what approaches Corona devs are using for this.

But the project I’m working on has a persistent world as a second phase, if the first-phase game client finds an audience, so I’m looking at possible platform-as-a-service offerings, something that could act as a master server since multiplayer game clients can’t be trusted. [import]uid: 1560 topic_id: 14589 reply_id: 54284[/import]

Hi,

I see. Those are features that we are currently implementing so you might find our service useful. The persistent world feature is a much bigger task and although it’s on our road map, it won’t be ready for awhile.

We’re currently at a very early stage in development, but once we’re closer to the beta I’ll be posting some more information in the forums.

As a games developer, we (my company) have used OpenFeint as well as rolled our own (which was the inspiration for the new service naturally).

OF does have the ability to store user data for you (Network Save Card) but if I remember correctly they only allow a very small amount of data (250k). Additionally it seems like Corona doesn’t yet support that feature on Android.

If it’s purely to keep track of IAP purchases, then you can probably through something together relatively easily. My weapon of choice would be Ruby Sinatra running on Heroku. It’s very lightweight and you can do a lot with very little code. If you’ve got the time, that might be worth investigating.

Ali [import]uid: 10499 topic_id: 14589 reply_id: 54352[/import]

Hi Dotnaught,

Roar Engine provides a persistent, server authoritative, cross-platform game model and player data storage platform.

It’s a hosted service, free up to 100 DAUs, and scales to millions of DAUs.

We’re still in private beta while we work on improving our documentation and examples but there are a couple of live games built on Roar and half a dozen more being released before the holidays. Check out our docs here: http://support.roarengine.com/kb, examples here: https://github.com/roarengine/ and videos here: http://www.youtube.com/user/RoarEngineDemos.

Let me know if you sign up for an account - www.roarengine.com - and I’ll activate it for you.

Cheers,
Dave from Team Roar [import]uid: 69358 topic_id: 14589 reply_id: 54562[/import]

Is there any sample Corona client code for connecting to the Moai cloud? [import]uid: 1560 topic_id: 14589 reply_id: 55896[/import]

i was wondering the same thing as Dotnaught… has anyone managed to implement Moai Cloud client/server with any of their Corona apps? [import]uid: 82335 topic_id: 14589 reply_id: 56432[/import]

@jttj.apps and Dotnaught.

http://getmoai.com/wiki/Getting_Started_with_Moai_Cloud
obviously you would use different functions but corona can do http download. It should work [import]uid: 79135 topic_id: 14589 reply_id: 56452[/import]

If your just storing user data, in app purchases, etc then you might consider Amazon’s SimpleDB. You do all your CRUD using restful HTTP calls. You only start paying once usage really tick’s up, so it’ll probably be free unless you’ve got a hit on your hands. I’m planning to to use SimpleDB for my next project, although I have not taken a serious look at ROAR or MOAI yet. [import]uid: 60707 topic_id: 14589 reply_id: 56560[/import]

I’m using Moai Cloud for some new stuff in Bubble Ball, and I love it. They’ve got some great some stuff coming, and they’re great guys. If you want to talk to 'em, todd@ziplinegames.com is the awesome guy to go to. [import]uid: 8782 topic_id: 14589 reply_id: 58640[/import]

Does anyone have any sample Corona client code they’d be willing to share for interacting with Moai Cloud? The Moai documentation is rather sparse and the tutorials aren’t very helpful. [import]uid: 1560 topic_id: 14589 reply_id: 58652[/import]

@Dotnaught yup we need an example of integrating a CoronaSDK game into Moai Cloud. a Simple variable retrieval/submit via HTTP woud be awesome [import]uid: 97745 topic_id: 14589 reply_id: 70240[/import]

So far, I’ve been rolling my own using PHP and MySQL on my web host but I’ve got a lot of experience setting up the backend side of game and web apps so this was pretty easy for me. That’s great for storing and retrieving, but most web hosts won’t let you run game servers for doing multi-player type games.

Most web hosts won’t scale too well, so if you grow too quickly, you’re going to need a cloud solution, and from the ones I’ve looked at, Amazon’s could service (SimpleDB as mentioned above) seems like a great way to get started.

[import]uid: 19626 topic_id: 14589 reply_id: 70254[/import]

Did anyone end up with sample code for simpleDB or Moai they would like to share? [import]uid: 110373 topic_id: 14589 reply_id: 79083[/import]