question

Tri avatar image
Tri asked

PurchaseItem Client API callback is very slow if a Bundle has many items inside

When i try to purchase a Bundle which contains like 500 items inside, it takes like 30s to receive callback result, is it normal? it really kill the performance.

apisPlayer Inventory
1.png (14.6 KiB)
2.png (27.9 KiB)
1 comment
10 |1200

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

Tri avatar image Tri commented ·

My TitleID is : 8A8F

0 Likes 0 ·

1 Answer

·
Hernando avatar image
Hernando answered

You can see the last paragraph in this thread: https://community.playfab.com/questions/12401/slow-response-times.html

In short, for preventing any database issues, it will take much time when you add too many items to the player inventory in one operation.

So, for performance reasons, I would have to advise not going over about 50 items in one Bundle. And you might want to do split the bundle into several subsets and add them to player inventory one for each.

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.