Converse/Prosody optimization: don't use vCards for avatars, but custom front-end code. #106
Closed
4 of 5 tasks
Labels
enhancement
New feature or request
Sponsor: NlNet
Tasks that are sponsored by NlNet
Type: Scalability
Milestone
Is your feature request related to a problem? Please describe.
Displaying avatars for chat user currently use the XMPP vCards. This can induce a heavy load: each time a user joins, he will ask for all other users vCards. When hundreds of users join at the same time it can be an issue.
For people using the web interface, we could shortcut the XMPP server/vcards to directly get avatars from Peertube, and/or we should lazy-load them when they are actually displayed.
NlNet expert suggested to add some lazy loading for avatars. We could for example remove avatars from user list, and just load them when users are sending messages.
To avoid performance issue on very large rooms, @jcbrand suggest the following:
#95 (comment)
Describe the solution you'd like
Here is the solution I suggested (but better ideas have come up later on):
#95 (comment)
Reference: NlNet-task-12
The text was updated successfully, but these errors were encountered: