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

[graphQLServer] is it stateless and scalable (multi-instances) ? #641

Closed
BerndWessels opened this issue Dec 2, 2015 · 1 comment
Closed

Comments

@BerndWessels
Copy link

Hi

Can I have multiple instances of graphQLServers behind a single endpoint?

Basically what I try to understand is if the graphQLServer is stateless - so a relay client can make a query to server instance A, the next query to server instance B and so on.

So I want to start more and more graphQLServer instances when the demand rises.

All instances will be behind the same endpoint and will have the exact same code and connect to the exact same data sources like SQL and NOSQL databases.

I ask this especially because I haven't yet figured out how the "real" database ids persist and map to the relay GraphQLObjectType ids.

@josephsavona
Copy link
Contributor

Thanks for your question!

We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of Relay.

Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #relayjs? We'll be happy to answer there. Post a link to your Stack Overflow question here, to so that we don't lose track of it.

https://stackoverflow.com/questions/ask?tags=relayjs

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

No branches or pull requests

2 participants