# Performance of ESI server

**URL:** <https://forums.eveonline.com/t/performance-of-esi-server/73980>\
**Category:** Third Party Developers\
**Created:** [May 3, 2018, 9:51am UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980 "2018-05-03T09:51:11Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [May 3, 2018, 9:51am UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/1 "2018-05-03T09:51:12Z")

</div>

Hello,

I’m seeing a drop in performance lately and was wondering if there is a reason for this and if we’re going to see an improvement or if this is already a consequence of the new Etags.

I perform a series of normal, unauthorized requests (mainly universe/ and market/ requests) as part of a test suite, which in the past used to execute like clockwork and didn’t take more than 800ms to execute. However, lately am I seeing a wide spread in performance all while the ESI server shows green lights.

```nohighlight
[SimpleESI] 001.176s 762728b (1) Elapsed.
[SimpleESI] 003.339s 752745b (1) Elapsed.
[SimpleESI] 006.799s 752745b (1) Elapsed.
[SimpleESI] 003.668s 752745b (1) Elapsed.
[SimpleESI] 032.555s 752726b (1) Elapsed.
[SimpleESI] 019.572s 752745b (1) Elapsed.
[SimpleESI] 027.010s 752729b (1) Elapsed.
[SimpleESI] 004.462s 752745b (1) Elapsed.
[SimpleESI] 002.632s 752745b (1) Elapsed.
[SimpleESI] 003.697s 752745b (1) Elapsed.
[SimpleESI] 002.725s 752745b (1) Elapsed.
[SimpleESI] 046.689s 764764b (1) Elapsed.
[SimpleESI] 001.206s 762259b (1) Elapsed.
[SimpleESI] 002.457s 752745b (1) Elapsed.

```

The 1.1s and 1.2s times give a glimpse of the original performance, while the 19s, 27s, 32s and 46s are the extremes and now show up frequently.

---

<div class="post-metadata">

**Author:** ![EveDataRules](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/evedatarules/32/52946_2.png) [@EveDataRules](https://forums.eveonline.com/u/EveDataRules)\
**Post date:** [May 3, 2018, 1:15pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/2 "2018-05-03T13:15:18Z")

</div>

Have no issues here. 6m+ requests in the stats below.

 ![Screenshot_Chrome_20180503-081405](https://global.discourse-cdn.com/eveonline/original/3X/0/a/0a3f5c5c3fb196b6cc1ae077453341ef7ce20229.png)

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [May 3, 2018, 1:42pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/3 "2018-05-03T13:42:35Z")

</div>

Sometimes I see responses such as this:

```nohighlight
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>

```

Occasionally it is the `No reply within 10 seconds` error response. But a lot of times does it simply stall for no apparent reason. There is almost no activity on my router. X-ESI-Error-Limit is also way up at 99 or 100. After a retry then does it pick up the resource and returns a JSON string as it should.

I’m a bit bummed out really. Cannot do much debugging and testing when response times shoot up from less than 1 second to as much as 3 minutes from what I’ve so far seen. This is going on for days now and I’m wondering if this is still happening in connection with the DoS attacks.

I’m using `esi.tech.ccp.is` and the web UI also seems to be a bit slow.

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [May 3, 2018, 1:55pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/4 "2018-05-03T13:55:30Z")

</div>

Could try switching to new host `https://esi.evetech.net` which is running on the AWS stuff.

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [May 3, 2018, 1:58pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/5 "2018-05-03T13:58:55Z")

</div>

> [@Blacksmoke16](#):
>
> Could try switching to new host [https://esi.evetech.net](https://esi.evetech.net) which is running on the AWS stuff.

Thanks, but they’re the same for me. DNS for `esi.tech.ccp.is` returns `esi.evetech.net`.

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [May 3, 2018, 2:00pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/6 "2018-05-03T14:00:03Z")

</div>

Could be related to AWS stuff then if it just started happening recently?

🤷‍♂️

EDIT: Yea CCP CNAMED the old host to new host this morning.

---

<div class="post-metadata">

**Author:** ![EveDataRules](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/evedatarules/32/52946_2.png) [@EveDataRules](https://forums.eveonline.com/u/EveDataRules)\
**Post date:** [May 3, 2018, 2:09pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/7 "2018-05-03T14:09:25Z")

</div>

I may still be on GKE then. I’ll move over tonight and see how the performance is.

Edit: I was just asked to kick over to AWS… so…watch this space. :3

---

<div class="post-metadata">

**Author:** ![EveDataRules](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/evedatarules/32/52946_2.png) [@EveDataRules](https://forums.eveonline.com/u/EveDataRules)\
**Post date:** [May 3, 2018, 3:22pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/8 "2018-05-03T15:22:07Z")

</div>

last hour avg 5ms max 42ms on AWS.

---

<div class="post-metadata">

**Author:** ![Captain\_Panther](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/captain_panther/32/368735_2.png) [@Captain\_Panther](https://forums.eveonline.com/u/Captain_Panther)\
**Post date:** [May 4, 2018, 7:51am UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/9 "2018-05-04T07:51:20Z")

</div>

I keep getting “Server has closed connection unexpectedly” on trying to fetch character notifications from ESI. :  
Is there any query liimit? I’ve been querying it every 2 minutes.

---

<div class="post-metadata">

**Author:** ![EveDataRules](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/evedatarules/32/52946_2.png) [@EveDataRules](https://forums.eveonline.com/u/EveDataRules)\
**Post date:** [May 4, 2018, 12:36pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/10 "2018-05-04T12:36:34Z")

</div>

There is no query limit, but there was a connection limit. AWS may have a similar querk.

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [May 4, 2018, 1:33pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/11 "2018-05-04T13:33:13Z")

</div>

> [@EveDataRules](#):
>
> last hour avg 5ms max 42ms on AWS.

I still get those spikes, but I won’t bother about it for now.

But out of dumb curiosity do I need to ask: how do you get 5ms?

---

<div class="post-metadata">

**Author:** ![EveDataRules](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/evedatarules/32/52946_2.png) [@EveDataRules](https://forums.eveonline.com/u/EveDataRules)\
**Post date:** [May 4, 2018, 1:37pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/12 "2018-05-04T13:37:25Z")

</div>

CDN cache. I have sub 1ms ping to a node in Chicago.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [August 2, 2018, 1:37pm UTC](https://forums.eveonline.com/t/performance-of-esi-server/73980/13 "2018-08-02T13:37:26Z")

</div>

Closed on August 2, 2018, 1:37pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
