Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Backend de jogos multiplayer

Backend de jogos multiplayer

Rodrigo Delduca

August 15, 2017
Tweet

More Decks by Rodrigo Delduca

Other Decks in Programming

Transcript

  1. Otimizando o tamanho do payload payload = { "UpPressed": true,

    "downPressed": false, "attackPressed": true } // 76 bytes
  2. Otimizando o tamanho do payload payload = { "u": true,

    "d": false, "a": true } // 46 bytes
  3. Tecnologias • C/C++ • Python • Elixir • Java •

    NodeJS • Swift • Erlang • … Ou qualquer outra linguagem que permita abrir uma conexão.
  4. E onde hospedar? • Google Cloud • Heroku • Digital

    Ocean • Amazon Web Services (AWS) • Scaleway • Rackspace • Azure • IBM Bluemix
  5. Banco de dados • PostgreSQL, MySQL, Oracle e SQLite (relacional)

    • MongoDB, CouchBase e RethinkDB (orientado a documento) • Redis, memcached e Cassandra (chave-valor) • Neo4J e ArangoDB (banco de dados de grafos)
  6. • https://davidwalsh.name/websocket • http://blog.soom.la/2016/02/top-10-parse-alternatives-game-backend.html • https://realm.io/docs/realm-object-server/ • https://firebase.google.com/ • http://heroku.com/

    • https://www.meteor.com/ • https://phaser.io • https://socket.io/ • https://cloud.google.com/ • http://choongsoo.info/docs/starcraft2.netgames12.pdf • https://blog.heroku.com/introducing_session_affinity