question

amirhasyim avatar image
amirhasyim asked

Cloudscript instances spin down indicator

Hi,

Ive read through 1) https://community.playfab.com/questions/28524/cloud-script-staticvalue-to-improve-speed.html 2) https://community.playfab.com/questions/14498/use-of-cached-objects-in-cloudscript.html 3) https://community.playfab.com/questions/21605/title-data-propagation-speed.html

from what I understand, there is no guarantee on how long cloudscript instance is alive. Im already using static values as cache, but that is only for reading data. Im wondering if I could use cloudscript to store data changes before saving to title data/player data to reduce the amount of writing. However, since cloudscript instance can die anytime, is there a way/indicator that it will spin down so that I can trigger a save ?

@Brendan

CloudScript
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

It’s not supported. Only const value can be cached in Cloud Script.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.