Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few questions #16

Open
ghost opened this issue Jul 9, 2016 · 1 comment
Open

Few questions #16

ghost opened this issue Jul 9, 2016 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Jul 9, 2016

  1. How would you scale this in the cloud horizontally?
  2. Is it possible to have Android/Windows/iPhone as a client?
  3. Is it possible to have an SQL db instead of mongoDB?
@fmbenhassine
Copy link
Owner

fmbenhassine commented Jul 12, 2016

Hi,

Gamehub is not production ready. I should mention this in the homepage. Security, Monitoring, BD Replication, Node clustring and other production grade aspects should be addressed before deploying your instance to a production server.

How would you scale this in the cloud horizontally?

  • For node, you can use the cluster module. Note that you need to updade node to v6
  • For Mongo/ElasticSearch, you need a replication setup probably with master/slaves architecture

Is it possible to have Android/Windows/iPhone as a client?

No, the provided API is very basic. You need to add a richer API to be able to talk to the server using any client. An example of a great API is the one used in lichess: https://github.com/ornicar/lila/tree/master/doc/mobile

Is it possible to have an SQL db instead of mongoDB?

Yes. Change the domain classes to a relational model and use a RDBMS driver

Hope this helps!
Kind regards
Mahmoud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant