This information is to begin with released as a-two-area show toward OkCupid Tech Site. Right here, it is recreated entirely in two areas:

A lot could have been discussing the great benefits of swinging from a rest API to help you a good GraphQL API step one . However, what if that you’re already sure. If you’d like to move a site which have millions of pages, make certain show cannot endure, and simply really don’t should screw it up: how-do-you-do they?

We embarked on this travels in 2019 and made it out live to share with the new tale! All of our GraphQL API is the official API at OkCupid, with readers implementing they: the ios and you can Android programs, including our desktop computer and you will mobile web single-webpage Perform programs.

Thus, this is how i handled it grand project. I’ll speak a small on what i situated, the techniques we created to check the code we had been shipment, and some issues that could have went ideal towards technology top. Disclaimer: this information is more and more the method versus code by itself; to listen to about the efficiency points we had to overcome in order to arrive at parity with your past API, learn about the first discharge to some extent a few.

However, very first, certain statistics

During the time of creating, all of our GraphQL API has been in development for 1? years, therefore we avoided adding new features to the Others API over a year ago. The fresh new chart handles as much as 175k needs a minute, and is also comprised of 227 models (2023 change: we are around 432 versions).

We have not completely deprecated the People API, but we are more than midway thanks to changing all of our members if you see demand frequency (there is additional the new agencies one to secure the hottest pages), and perhaps a little less than simply halfway truth be told there because of the organization number. (more…)

Copy code below to Facebook Chat:
Copy Code
  • facebook