This message was deleted.
# helpdesk
s
This message was deleted.
g
@magnificent-art-43333?
m
@green-portugal-77582 please try to not mention folks unless there’s an active conversation going on.
g
Ok, sorry
m
cc @dry-elephant-14928 — he’ll get back to you when he has a chance
🙌 1
d
Hey @green-portugal-77582, we'll look into this. It's possible that there are some sort of internal timeouts that were exceeded during the request.
g
Thanks. This happens very consistently all the time.
b
hey team, sorry for the push but this is affecting the release of site that lists how many users are in different Decentraland scenes, were you able to take a look and determine what could be going on?
m
turns out this is currently an expensive query, so there’s an intentional limit placed on the number of rooms we’ll enrich with participant counts from the
listRooms
endpoint. For now, is there an average number of rooms y’all are running simultaneously that you want to fetch this info for?
g
Perhaps if we could query for the number of users, but instead of for a single room, it would be helpful to do it for a certain prefix. For e.g. all rooms starting with
world-prd-
or similar.
d
we are still investigating this. will try to root cause it in the next couple of days.
🙌 2
@green-portugal-77582, we looked at this a bit and this is the current situation: • the ListRooms API performs a distributed query to our media servers to fetch a real-time stats of participant count. • due to the fan-out nature of the request, it would fetch participant count for the first 10 rooms that are returned We'll need to think about how to solve this so the API could scale. For now, what do you think about this workaround: • First call ListRooms to retrieve all room names • then batch these rooms 10 at a time, calling ListRooms(names) each time I know it's a bit cumbersome (apologies for that). It's on our list to make this process more efficient
g
Hey @dry-elephant-14928. Thanks. Well, it’s a better work around than the one I already did… I am doing the ListRooms to retrieve all room names and then doing a ListParticipants for each room. This should be 10 times faster. Thank you. We’ll stick to this until you could have a more robust approach.