MyModo

The world in an app

  • Home
  • nevada-reno-dating sign in

Region You to definitely: Moving of Other people so you’re able to GraphQL

This short article is actually in the first place printed as the a-two-area collection for the OkCupid Tech Site. Right here, it is reproduced completely in 2 sections:

A great deal might have been discussing the key benefits of swinging regarding a lay API so you’re able to good GraphQL API step 1 . But what if you are already pretty sure. If you’d like to convert web site which have countless profiles, guarantee that performance doesn’t endure, and only really don’t want to screw it up: how-do-you-do they?

We embarked about this trip from inside the 2019 making it out real time to inform the brand new tale! The GraphQL API became the official API during the OkCupid, with all of readers adopting it: our very own ios and you will Android programs, as well as all of our desktop and you can mobile websites single-web page Work programs.

Very, this is how i handled it huge endeavor. I shall cam a tiny on which i centered, the methods we created to check the brand new password we were delivery, and some items that could have went greatest towards tech front side. Disclaimer: this information is about the process than the password alone; to hear concerning overall performance things we had to conquer to help you arrived at parity with our earlier API, read about the basic release partly one or two.

However, first, some statistics

At the time of writing, all of our GraphQL API has been in manufacturing for starters? many years, and we averted adding new features to our Other people API more than just last year. The chart covers doing 175k desires each and every minute, and is comprised of 227 products (2023 upgrade: we are around 432 systems).

I have not totally deprecated our Other people API, however, our company is more midway thanks to converting our very own members for individuals who look at consult regularity (we’ve got added the fresh new entities that hold the most popular profiles), and possibly a bit less than halfway there by the organization amount.

Top