Anyone willing to loan me server space/access?

spatnsspatns Member, PRO Posts: 10

I'd really like to test out the GS Network behaviors, but I'm pretty intimidated by the custom server setup. The tutorials posted are awesome, but I'm working on a proof of concept, so I won't ever need a full live server... So it seems like a lot of setup to go through when I'm just looking to send and receive some small tables, and experiment with the GS network commands.

I know it's a lot to ask, and probably a security risk, but it would be awesome if someone has a test server running and would allow me to stash some tables on it. I'm sure I could find a creative way to return the favor (maybe donate to your favorite charity or help with your project).

Thanks for listening!

Comments

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,180

    We just put up the video for using GameSalad with AWS services that don't require a server. For testing, you should be able to get most of this working for free. And for the ones that aren't free it's pay based on actual usage, so it should be pretty cheap!

    Since I haven't build the learn.gamesalad.com tutorial for the detailed version of this yet, feel free to ask me questions!

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,180

    Another option is to develop your app on something friendly to Heroku, which also has a free tier: https://www.heroku.com/pricing

  • spatnsspatns Member, PRO Posts: 10
    edited September 2015

    Cool. I'm not so worried about the cost, it's more the time investment to set everything up and my own lack of experience in doing so... It does look a little intimidating... :) But, it seems to be the best option ATM.
    Thanks for the help.

  • spatnsspatns Member, PRO Posts: 10

    I've looked through the talk and tinkered with AWS. Bear with me as I have no javascript experience:
    1) are code samples posted anywhere? Specifically, the TTTGameState lambda function and the POST and GET Mapping Templates from the video.
    2) is PlaysTogether working in the nightly for Mac if one is a Pro User? Is going that route a little easier than the AWS or custom server route?

    I'm merely looking to Post and Get tables in as simple and easy a manner as possible.

    Thanks!

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408

    @spatns said:
    I've looked through the talk and tinkered with AWS. Bear with me as I have no javascript experience:
    1) are code samples posted anywhere? Specifically, the TTTGameState lambda function and the POST and GET Mapping Templates from the video.
    2) is PlaysTogether working in the nightly for Mac if one is a Pro User? Is going that route a little easier than the AWS or custom server route?

    I'm merely looking to Post and Get tables in as simple and easy a manner as possible.

    Thanks!

    check out my signature!

  • App_MakerApp_Maker Member, PRO Posts: 64

    @adent42 said:
    We just put up the video for using GameSalad with AWS services that don't require a server. For testing, you should be able to get most of this working for free. And for the ones that aren't free it's pay based on actual usage, so it should be pretty cheap!

    Since I haven't build the learn.gamesalad.com tutorial for the detailed version of this yet, feel free to ask me questions!

    I have a few questions regarding the AWS services. I noticed you are using 3 different services from Amazon, what made you choose those vs running a server "Amazon EC2"? It seems like EC2 can scale and also offers a free version. Are you able to do a quick comparison for us?

    Which is easier to use and set up?

    Which one has better security? Do we need to implement security measures or does Amazon take care of that? If we need to implement security measures where and what do we need to add?

    Which requires less work/maintenance?

    Which is faster, better performance for Gamesalad?

    I noticed your previous tic tac toe game used php scripts, and this one uses javascript. What made you change languages and can we still use php with those services?

    Are there any limitations that we should be aware of?

    Can Gamesalad create a program that can automatically generate the Javascript code for Amazon based on the tables data that we make in Gamesalad? This would simplify the process and allow more users the ability to make multiplayer games.

    Thanks

  • App_MakerApp_Maker Member, PRO Posts: 64

    I have one more question about the video you posted. In order to know if its your turn in the game your requesting data from the server every half second, I know this can be changed to a large time such as every second. The problem I see with this method is lots of requests made to the server each minute X the amount of players can really add up.

    Example: In order to know if its your turn in a turn based game. You request data from the server to verify it if its your turn every second.

    60 Requests per minute X 1,000 Players = 60,000 request a minute to see if its your turn
    60 X 10,000 players = 600,000 request a minute.

    As you can see if you have 10,000 players requesting data it would amount to 600,000 request a minute. I assume that would cost a lot of money and resources.

    Sure you can change the length in time to when you request the data from 1 second to lets say 3 seconds and it would lower the figures accordingly.

    So my question is there a way to avoid this? Since the server know who's turn it is, can the server automatically update someones game without them requesting the data? This in turn would cut out all those requests to the server just to verify if it's your turn. If not, it seems like we will be limiting our ability to make successful multiplayer games.

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408

    @App_Maker said:

    So my question is there a way to avoid this? Since the server know who's turn it is, can the server automatically update someones game without them requesting the data? This in turn would cut out all those requests to the server just to verify if it's your turn. If not, it seems like we will be limiting our ability to make successful multiplayer games.

    this is where push notifications become so vital. You have the game sit in a rest state when your turn is over, maybe refreshing once every 5 minutes. When the app receives a push notification you pull down the update.

  • App_MakerApp_Maker Member, PRO Posts: 64

    Yeah you're right. Push notifications are going to be needed if you really want to make a multiplayer game. Seems like they should've been available once they started offering multiplayer, not sure when Gamesalad will actually implement it. Seems like they need to make push notifications a priority if they want to take multiplayer serious.

Sign In or Register to comment.