open All Channels
seplocked EVE Technology Lab
blankseplocked Cache time reduced on the Asset list API call
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

CCP Atlas

Posted - 2011.05.27 13:54:00 - [1]
 

Edited by: CCP Atlas on 27/05/2011 13:55:24
We've recently reduced the cache timer on the Asset List API call from 23 hours to 6.

This will allow you to have a more up-to-date asset list in your external application or webpage. Very good stuff. Smile

If you want to play around with the asset list and not sure how to begin you might go to the Eve IGB website which has some sample code for you to get started.

With this change we now only have the following caching plans: 15 minutes, 1 hour, 3 hours, 6 hours, static.

Frozen Guardian
Registered Amateur Mathematicians
Posted - 2011.05.27 15:36:00 - [2]
 

I love you.

<3

-FG

Peter Powers
FinFleet
Raiden.
Posted - 2011.05.27 21:46:00 - [3]
 

<3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3

Dragonaire
Caldari
Corax.
PURgE Alliance
Posted - 2011.05.27 22:02:00 - [4]
 

Great news but it does mean I'll be having to do some updates now on Yapeal this weekend Razz

Tonto Auri
Vhero' Multipurpose Corp
Posted - 2011.05.27 22:28:00 - [5]
 

Originally by: Dragonaire
Great news but it does mean I'll be having to do some updates now on Yapeal this weekend Razz

Be honest, they were long overdue :P

Somerset Mahm
Somer's Omnibus Exploration and Reclamation
Cognitive Distortion
Posted - 2011.05.28 05:01:00 - [6]
 

Originally by: CCP Atlas
With this change we now only have the following caching plans: 15 minutes, 1 hour, 3 hours, 6 hours, static.

And 27 minutes on WalletJournal, though if you want to make that 15 minutes I won't complain.

TorTorden
Amarr
Posted - 2011.05.30 13:35:00 - [7]
 

Seriously, much much love for this, (I'm still not forgiving you completely for taking away the loot log.)

Chibisuke
Gallente
Children of Avalon
Posted - 2011.06.28 13:50:00 - [8]
 

Mind to go one step further and remove another 60 seconds from each of the cache timers?

If you want to obey a 6 hours cache timer and not having a drift in the times you query it, you can only query it 3 times a day.
If you'd have only 5 hours, 59 minutes as a cache timer, you would just do

0 */6 * * * /script/....

in your crontab, without possibly causing a race condition and getting outdated data.

Tonto Auri
Vhero' Multipurpose Corp
Posted - 2011.06.30 12:22:00 - [9]
 

Originally by: Chibisuke
Mind to go one step further and remove another 60 seconds from each of the cache timers?

If you want to obey a 6 hours cache timer and not having a drift in the times you query it, you can only query it 3 times a day.
If you'd have only 5 hours, 59 minutes as a cache timer, you would just do

0 */6 * * * /script/....

in your crontab, without possibly causing a race condition and getting outdated data.


There'd still be possibility for a race condition.
This has been covered already for other reason, but I'll reiterate: API data is not meant for an instant notification, it's largely a statistical data.
Code your program in the way that follow API, rather than expect anything from it.

Xander Hunt
Minmatar
Dead Rats Tell No Tales
Posted - 2011.09.02 09:21:00 - [10]
 

+1 billion on this. Thanks. Makes hunting for product a bit more easier. :]

Now, if we could get planetary storage into this, I'd be happy dev'n. :]


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only