As I understand loadInventoryData sends the whole inventory to user.
It's ok until there's not much items in inventory.
But what if we have 5000+ items and only a little part of them is required according to different situations? How the performance and traffic will be affected when the inventory is really so huge?
About storing inventory [possible inefficiency]
Yep, I checked OpenSpace.loadInventory
As I understand loadInventory request calls server-side getInventoryItemsList if user's inventory already in cache. But if it isn't, loadInventory request calls server-side loadInventoryData and then, after all items are loaded and cached it calls getInventoryItemsList. So anyway loadInventory loads all inventory. Or am I wrong?
As I understand loadInventory request calls server-side getInventoryItemsList if user's inventory already in cache. But if it isn't, loadInventory request calls server-side loadInventoryData and then, after all items are loaded and cached it calls getInventoryItemsList. So anyway loadInventory loads all inventory. Or am I wrong?
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 9 guests