0

I am having java background and had worked with Springboot, and for Springboot APIs eureka works as both discovery server and load balancer.

How horizontal scaling and load balancing can be achieved with graphQL?

I have 2 APIs and a Gateway, now I am trying

  1. My Gateway and APIs instances to scale up when demand increases and sale down when demand settles down.
  2. How would load balancing be handled?

I trying exploring graphql federation but I did not get any helpful information. I am quite new to graphql.

1
  • There is nothing special with GraphQL regarding to load-balancing. Unless you explicitly configured your GraphQL server with an in-memory cache (which is unusual), it will be stateless and can be safely scaled out. Commented Jan 18 at 15:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.