# ESI response limit?

**URL:** <https://forums.eveonline.com/t/esi-response-limit/61405>\
**Category:** Third Party Developers\
**Created:** [March 6, 2018, 3:06pm UTC](https://forums.eveonline.com/t/esi-response-limit/61405 "2018-03-06T15:06:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJ\_Maverick](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/mj_maverick/32/465668_2.png) [@MJ\_Maverick](https://forums.eveonline.com/u/MJ_Maverick)\
**Post date:** [March 6, 2018, 3:06pm UTC](https://forums.eveonline.com/t/esi-response-limit/61405/1 "2018-03-06T15:06:38Z")

</div>

Hi chaps, I have an issue with a cron job that _may_ be down to ESI just ignoring me. Basically it just stops dead on an ESI request.

I need to check 800 characters public info in fairly quick succession and need to be able to support more.

I have the following code but am not sure if it is how ESI will react on me firing too many requests at it. You can see on line 19 is my attempt to catch any warning etc.  
[https://goo.gl/aYKA9w](https://goo.gl/aYKA9w)

What is ther best way?

---

<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:** [March 6, 2018, 4:30pm UTC](https://forums.eveonline.com/t/esi-response-limit/61405/2 "2018-03-06T16:30:53Z")

</div>

ESI does not have any rate limiting, only cache timers. The one thing to pay attention to is the error header. You are allowed 100 errors per minute, if you exceed that you get cut off for a bit.

See this for reference:  
[https://developers.eveonline.com/blog/article/error-limiting-imminent](https://developers.eveonline.com/blog/article/error-limiting-imminent)

---

<div class="post-metadata">

**Author:** ![MJ\_Maverick](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/mj_maverick/32/465668_2.png) [@MJ\_Maverick](https://forums.eveonline.com/u/MJ_Maverick)\
**Post date:** [March 6, 2018, 4:53pm UTC](https://forums.eveonline.com/t/esi-response-limit/61405/3 "2018-03-06T16:53:06Z")

</div>

Thanks, I’ve just started on cURL, you don’t know how you’d read the header do you?

---

<div class="post-metadata">

**Author:** ![Brock\_Khans](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/brock_khans/32/409174_2.png) [@Brock\_Khans](https://forums.eveonline.com/u/Brock_Khans)\
**Post date:** [March 6, 2018, 5:16pm UTC](https://forums.eveonline.com/t/esi-response-limit/61405/4 "2018-03-06T17:16:10Z")

</div>

> <https://stackoverflow.com/questions/9183178/can-php-curl-retrieve-response-headers-and-body-in-a-single-request>

---

<div class="post-metadata">

**Author:** ![Brock\_Khans](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/brock_khans/32/409174_2.png) [@Brock\_Khans](https://forums.eveonline.com/u/Brock_Khans)\
**Post date:** [March 6, 2018, 5:22pm UTC](https://forums.eveonline.com/t/esi-response-limit/61405/5 "2018-03-06T17:22:23Z")

</div>

Also I’d highly suggest before getting too deep into phc cURL to just use guzzlehttp client library.  
[http://docs.guzzlephp.org/en/stable/](http://docs.guzzlephp.org/en/stable/)

A bit easier to work with, comes with built in exceptions for handling of errors of expired tokens, esi down, etc

---

<div class="post-metadata">

**Author:** ![MJ\_Maverick](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/mj_maverick/32/465668_2.png) [@MJ\_Maverick](https://forums.eveonline.com/u/MJ_Maverick)\
**Post date:** [March 6, 2018, 5:39pm UTC](https://forums.eveonline.com/t/esi-response-limit/61405/6 "2018-03-06T17:39:31Z")

</div>

Cheers I will look into it but atm I’m just learning cURL a bit. I was already using that link but it appears as soon as I add CURLOPT\_HEADER, the response goes blank?

---

<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:** [June 4, 2018, 5:39pm UTC](https://forums.eveonline.com/t/esi-response-limit/61405/7 "2018-06-04T17:39:34Z")

</div>

Closed on June 4, 2018, 5:39pm UTC

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