Region One: Swinging out of Other people so you can GraphQL
This particular article try to begin with printed as the a two-area series to the OkCupid Technical Weblog. Right here, it is reproduced in full in 2 parts:
A lot might have been discussed the benefits of swinging regarding a rest API to an excellent GraphQL API 1 . But can you imagine your already sure. When you need to convert a web page with millions of pages, make certain that overall performance will not suffer, and just i really don’t should screw it: how do you do it?
We embarked on this subject excursion during the 2019 making it out alive to share with brand new story! Our very own GraphQL API has started to become the official API from the OkCupid, with all customers following they: our very own ios and you may Android software, as well as our pc and cellular internet single-web page Operate software.
Very, here is how i handled it grand opportunity. I will cam a tiny on which we mainly based, the techniques we came up with to check this new code we had been shipment, and some things that possess gone better with the tech front side. Disclaimer: this information is a lot more about the procedure as compared to code alone; to hear about the performance points we had to overcome to help you visited parity with our prior API, hear about the very first release partly several.
But basic, certain stats
In the course of writing, our GraphQL API has been around creation for 1? ages, so we avoided including new features to your Others API more this past year. (more…)
