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 /
  • Feature Requests /
avatar image

Travis Pettry suggested an idea · May 02, 2019 at 12:27 PM · data

Azure Cosmos DB

Hi Playfab,

Over all I am finding how data is stored in Playfab via the Entity data storage is restrictive or feels very forced. When you look at systems like confirm a friend or send a life, it is suggested to use the Group data storage. In this case do you force all of your players to be in a single group? If so, to me at least that feels kind of hacky. I would love to see the availability to create our own data stores. This would allow developers a much more straight forward way of creating complex systems that need to span the entire player base of the game.

Thank you,

Travis Pettry

thub.nodes.view.add-new-comment
Travis Pettry
iniside
David Wu
harsh
Johan de Bruin
Kevin Bass

People who like this

6 Show 1
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 Brendan ♦♦ · May 03, 2019 at 12:20 AM 0
Share

I think we should clarify this a bit. Specifically, you encountered some older posts where the feedback on some specific ways to share data between players was by using Shared Group Data. Shared Group Data, to be clear, is only for sharing data between a few players - not a large group (or all players in a game).

In the Entity model, we have Object (small JSON data) and Files (arbitrary data). That system is designed for more complex usage cases where you have more players accessing the data. In specific, Groups is an Entity feature where you can have data (and, shortly, statistics) that isn't associated with a player, for purposes of having many players accessing it. I'd recommend trying out that model.

In terms of raw databases, we specifically chose to build PlayFab as a service where we control the queries, in order to remove that need from our customers. Owning your own queries (and having to redesign them as you find the points where they don't scale effectively) would put you on the hook to be your own DevOps team. As much as possible, we want to remove that burden.

1 comment

· Add your reply
avatar image

Johan de Bruin commented · Oct 16, 2020 at 06:18 PM

I'm actually looking at this too. I want to be able to insert some gameplay data into a cosmosDB to, later on, do some Big Data analysis on the engagement of our game content.

So far I'm having a lot of trouble with many things. From finding a decent tutorial on how to properly use Visual Studio Code to get Playfab context (so far I'm getting many library issues), to understanding how access playfab player content.

I'm also trying to figure out how to connect to CosmosDB but I guess that's a non-playfab related issue.

thub.nodes.view.add-new-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

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Your Opinion Counts

    We would love to know what you need. Submit your ideas and upvote others to help us prioritize.

    Sign in to post a new idea

    Follow

    Follow This Idea

    No one has followed this yet.

    Related Ideas

    ClientAPI for changing DisplayName of inventory ItemInstances

    Is Friend Online ? Provide API to get last player activity timestamp.

    XMPP Server

    Self service GDPR data export

    Protobuf support

    Add document store (database)

    Title/Match stats -- sortable, filterable, downloadable, charts. SORT OF like player stats, but for internal use.

    Persistent URLs for Data uploading and downloading (CDN)

    Player Match Stats - a custom object of arbitrary stats for support, debugging, & internal use

    User Blocking System

    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