Closed ciaranschutte closed 4 months ago
RE: memoization - I have hesitations around serving stale data, but if we do see performance issues then adding a caching layer could be helpful. I say we build this out fully and then do some performance testing to see if there are situations where caching would help.
Agreed. Some may argue this counts as premature optimisation, which in our case as Jon correctly puts it, puts Arranger at risk of serving outdated data, or even worse, stuff that was meant to not exist anymore (deleted or unpublished).
I think we should build out a bit more functionality to see how this connects with GQL to resolve requests before finalizing the review.
Taking this into account I will add the following:
I think we should build out a bit more functionality to see how this connects with GQL to resolve requests before finalizing the review.
Updated with PR feedback and expanded to included these modifications: https://github.com/overture-stack/arranger/pull/880#issuecomment-2227720080
This should fulfil the "connecting to GQL" request. Let me know if you'd like it expanded more.
- adds basic resolver functionality for remote connections (does not hook them up yet)