hellow everyone, Im writing an app using apollo3 (early stage of development) and the example I based myself on handles one call fine but as soon as I start calling many it ends up crashing. does anyone have a good example from github that uses apollo 3 and is able to do multiple calls to the server in parallel? Im having a hard time sifting through.
It's not super network intensive but you could repeat one call in a loop if you wanted to stress test dispatchers
mbonnin
10/22/2021, 3:13 PM
Do you have a stack trace to share that could help explain the crash?
j
Jeremie
10/22/2021, 3:14 PM
okay sounds good. none of my calls have a huge payload anyways but there could be a lot of them... (30-100)
Jeremie
10/22/2021, 3:15 PM
TBH the crash is most definitely caused by me basing my structure on a poor example somewhere else. id be embarassed to share anything at this point and prefer to trash it and start fresh with a better working example ... (I also wasnt expecting the api to be designed this way so I hadnt tested that kind of scenario, as soon as I got one call/response working I thought I was good and continued the development till I got here....)
Jeremie
10/22/2021, 3:16 PM
thank you for your kind help though, Ill dig i in the tutorial some more. its a great place to start