We're updating the issue view to help you get more done. 

Do not keep in memory shared contacts whose subscription type is FROM

Description

LDAP installations are the most common case where user base may be huge and public shared groups are used. For instance, if we have 3000 users in the LDAP and 1 shared group with only 10 users then:

1) Each of the 10 users will have 2990 roster items in memory whose subscription type is FROM. Note that those roster items are not being sent to the user
2) Those 2990 roster items will trigger a query to get the name of the user to show it in the roster. But since these are FROMs then they will never appear in the roster. Thus this just slows down the server with unnecessary work.

Environment

None

Acceptance Test - Entry

None

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Critical
Configure