cacheObject
Configures a cache structure within Spiral. Should a cache need configuring, contact Honeywick Consulting for assistance.
-
sizeinteger - Cache capacity.
-
timeouttimeInterval - Duration before cached data expires.
-
granularitytimeInterval - Time interval unit for cache operations.
-
fillreal - Cache utilisation level.
What the travel cache holds
Section titled “What the travel cache holds”With a travel calculator configured, the cache keeps the engine’s answers for the drives Spiral has asked about, each against the origin and destination it was asked for, and Spiral’s own estimates beside them. Its statistics are reported once a second in perf.travelCache. Spiral asks the engine for its open drives in batches: in a world with a thousand open drives it was observed to send about a hundred requests per optimisation pass.