das Keks.5403:

Hi!

So this question is mostly directed to Lawton Campbell.
I’m a fan of statistics and I’m wondering how heavily the API is used.

Can you see how many requests are sent to the api per hour/minute and which api endpoints are used the most?

I’m really curious about that and it would be awesome if you have those statistics and could share them.

Lawton Campbell.8517:

It’s about 25 million requests/day.

Most hit endpoint is /v1/wvw/match_details.json (as applications have to poll it to get accurate RI timers).

Sariel V.7024:

I’m sure this is only going to get worse as time goes on. How are the servers handling it?

Dreamslayer.7659:

I’m sure this is only going to get worse as time goes on. How are the servers handling it?

I would assume that the game servers report to the API system on a regular interval and that API server is what is handling requests. That would keep API requests from directly affecting the game.

Lawton Campbell.8517:

I’m sure this is only going to get worse as time goes on. How are the servers handling it?

I would assume that the game servers report to the API system on a regular interval and that API server is what is handling requests. That would keep API requests from directly affecting the game.

Pretty much this. The current WvW game state is just served from a centralized in-memory cache that’s updated as events come in from the map instance servers. We use this model for pretty much all API endpoints. This decouples API load from the game servers, but means that when we want to add new stuff to the API it means threading data through multiple components.

Sariel V.7024:

Good to hear