Closed Bug 932207 Opened 12 years ago Closed 12 years ago

Presence/Signaling server

Categories

(Hello (Loop) :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tarek, Assigned: tarek)

Details

The first load tests seem to indicate that adding a bunch of connected users significantly reduce the server speed. I highly suspect the issue to be the broadcasting of the presence messages (userLeft, userJoined) because those messages are duplicated for each connected user in a for loop. I have no good knowledge of the app yet, but my first impression is that we could remove those loops and keep the broadcasted events in a single place, and decide what events to send to a user depending on the timestamp of their sign in. The load test I am running is here: https://github.com/tarekziade/talkilla-loadtest/blob/master/test_talkilla.py#L67 using http://loads.readthedocs.org
Adding node-profiler in my instance to confirm/infirm this
Assignee: nobody → tarek
This is wontfix at the current time due to looking at a revised architecture.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.