Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by durmusalicollu · Jul 20, 2018 at 09:40 PM · CloudScriptTitle Data

Does Title Data get cached?

Hi,

I am not sure about this, also I haven't had any problem before, but today I realized my title data comes incorrect when I update it frequently. (like 5 times in a minute). I am working on a concept but and trying some settings. Because of that I am updating Title data value from cloud script. The values updated correctly but when I read and write over it, I am losing all the works done in around a minute. After one point it brings me old value, because of reading and writing over, I am changing old value.

Is this a kind of bug, or is Title Data get cached for sometime?

Regards

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Jul 21, 2018 at 12:56 AM

Yes, Title Data is a sharded and cached resource, and is only meant for use cases where it is not updated frequently. What is the feature you're trying to implement, exactly?

Comment

People who like this

0 Show 10 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image durmusalicollu · Jul 23, 2018 at 06:55 PM 0
Share

I am trying to create a kind of data storage, where admin can update the items, add new item, or modify it or change the quantity, and users can get items from this general pool. With cloud script, I am finding the proper item from json list and changing it and then updating title data again.

For this I wanted to use Economy side with using catalog Item, although, I cannot create a new item or change the quantity or modify it from remotely. (With cloud script, because I am giving interface to editors where they can easily add, modify, remove items). This data suppose to be title-wise so that I am using title data, maybe I should move this to specific player and use it as user data instead of title data. Or do you have any other suggestion to create a kind of database/datastorage?

avatar image Brendan ♦♦ durmusalicollu · Jul 24, 2018 at 02:27 AM 0
Share

If you are only updating occasionally, and only from an Admin tool, and clients are only ever querying the data (specifically not triggering anything that is trying to change the data) that shouldn't be a problem. However, why are you using Cloud Script, specifically? How are you preventing clients from being able to call it? What Title ID is this, and what is the name of the handler in Cloud Script, so that we can have a look?

avatar image durmusalicollu Brendan ♦♦ · Jul 24, 2018 at 10:32 AM 0
Share

I have changed it from Title Data to user data and it works fine now.

However, why are you using Cloud Script, specifically? How are you preventing clients from being able to call it?

I am using cloud script because there will be more then one moderators who an add items, modify them or delete them. Not to make them complicated, I am giving them an user Interface made with Unity to make sure they are entering right values. How am I preventing is, I am not exposing those functions to general clients. Those functions are only in the moderators side. Also this app won't be public to everyone. It will be for in house usage. So that security won't be a problem.

If you want to check it, here is the title ID C083. Cloudscript file is not too big and most of them works similar way.

Show more comments
avatar image durmusalicollu durmusalicollu · Jul 25, 2018 at 12:14 PM 0
Share

I can send more info in private. Can you contact me because I couldn't find a way to send message to you.

avatar image Brendan ♦♦ durmusalicollu · Jul 25, 2018 at 08:30 PM 0
Share

We provide private support to folks in our Professional and Enterprise tiers. As far as feature designs go, we realize that folks tend to be concerned about their ideas, but all we need in this case is a high-level view of what the goal is, not specifics that might be your competitive advantage. Feel free to use examples from other games as the basis for comparison.

Show more comments
avatar image kris.hole · Feb 18, 2020 at 11:28 AM 0
Share

How often does this cache update? We are trying to use it for a secret key using another service and cloudscript however now that i've got a new key to put in i'm not sure how long we need to wait before the new key will be cached. is there a method to force an update?

avatar image durmusalicollu kris.hole · Feb 18, 2020 at 11:39 AM 0
Share

My workaround for this was instead of using Title Data, I have created an administrator user, basically normal user but does not plays the game and used for only administrative works, and stored those data on their information. Those information updates without cache. Cloudscript was known this user Id, so it was checking directly for it.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    PlayFab API request failure 1 Answer

    Caching Internal title data 2 Answers

    Exception in Unity: Error logging in player with custom ID - Time Out, 1 Answer

    Getting "413 Payload Too Large" when trying to do anything with Title Data 2 Answers

    GetFriendList return empty Tags array 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges