question

Marius Badita avatar image
Marius Badita asked

Custom objects data - playfab or external db

Hi, We're implementing a war system between clans. All wars are triggered by a matchmaking system for clans and all wars start at the same time and last for a fixed period of 3 days.

We started finding ourselves in need to store custom objects and be able to cycle through them. Example: we need to update all war datas with the scheduled task. Is there any way to do this with playfab? Or do we need to integrate an external db and run the cloudscript on that data?

If we need an external database, can you suggest something that integrates easily with playfab? I took a look at Azure databases but I don't know which option works best with playfab (sql, cosmos, ...). Is there any tutorial showing how playfab works with azure db ?

Many thanks!

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

·
Citrus Yan avatar image
Citrus Yan answered

Hi @Marius Badita,

>>we need to update all war datas with the scheduled task. Is there any way to do this with playfab? Or do we need to integrate an external db and run the cloudscript on that data?

Looks like you want to update all war data at certain intervals, and all the players in clans can access that data as soon as possible? If that’s the case, then it’s better to utilize an external db for this task.

>>If we need an external database, can you suggest something that integrates easily with playfab? ... Is there any tutorial showing how playfab works with azure db?

Theoretically, any database service that supports Web API should integrate with PlayFab pretty well, this is because PlayFab supports making Webhook calls through Cloud Script. And, currently, there is no tutorial showing how PlayFab works with Azure DB, sorry about that.

2 comments
10 |1200

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

Corbin Ordel avatar image Corbin Ordel commented ·

Can you please make a tutorial on how PlayFab can work with Azure DB?

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan Corbin Ordel commented ·

I believe this is a feature request, you may post one here: https://community.playfab.com/spaces/24/index.html

0 Likes 0 ·

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.