This particular article try to start with published just like the a two-region collection with the OkCupid Tech Website. Here, it’s reproduced entirely in two sections:
A lot might have been discussing the great benefits of swinging of a lie API so you can a beneficial GraphQL API 1 . But can you imagine your currently pretty sure. If you’d like to transfer web site which have millions of profiles, make sure overall performance will not sustain, and simply i really don’t need certainly to screw it: how do you do they?
I embarked on this trip when you look at the 2019 and made it out real time to share with the latest story! Our very own GraphQL API became the state API during the OkCupid, along with members adopting it: our ios and you can Android applications, in addition to our very own pc and you will mobile websites unmarried-page Function programs.
Very, this is how we undertaken it grand venture. I will speak a little on what i situated, the methods i came up with to check on brand new password we were shipments, and some things that possess gone best with the technology top. Disclaimer: this article is much more about the method compared to the password in itself; to hear regarding abilities affairs we had to overcome so you’re able to arrive at parity with these previous API, hear about our basic release to some extent a couple of.
However, first, some statistics
In the course of writing, our very own GraphQL API has been doing design for example? years, and in addition we prevented adding new features to your People API more last year. The latest chart covers doing 175k demands per minute, and is composed of 227 designs (2023 revision: the audience is to 432 sizes).
We have not totally deprecated all of our People API, but we’re more halfway courtesy changing all of our website subscribers if you view demand volume (we have extra the entities you to definitely keep the top profiles), and perhaps a little less than halfway indeed there by the entity amount. (more…)