Opened 8 years ago

Closed 8 years ago

#5817 closed defect (fixed)

activity collaboration stress testing tool

Reported by: daf Owned by: gdesmott
Priority: normal Milestone: 8.2.0 (was Update.2)
Component: telepathy-other Version:
Keywords: Cc: cassidy, morgs, sjoerd
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no


We should have a tool that simulates having many laptops collaboration with each other, so that we can catch scalability problems more easily.

I imagine the tool will open a number of Telepathy connections, either using Salut or Gabble. It will then have each connection create/join/leave activities at random, and open/use tubes within those activities at random.

The weakness I can see with such a simulation are that the network load will be unlike that generated by a number of real active laptops, but I think it should catch enough types of problem to be useful. We could also consider a distributed test tool.

Change History (9)

comment:1 Changed 8 years ago by gdesmott

  • Owner changed from daf to gdesmott

I started to work on this.

comment:2 Changed 8 years ago by gdesmott

comment:3 Changed 8 years ago by marco

Is this useful to test the mesh view? Will I see activities on it and buddies joining/leaving?

comment:4 Changed 8 years ago by gdesmott

Yeah, didn't test yet but that should work.

comment:5 Changed 8 years ago by gdesmott

Just did a quick test. Buddies appear on the mesh view but activity doesn't, probably because my fake activites are unknown from sugar. I'll investigate that.

comment:6 Changed 8 years ago by marco

It would be awesome to have activities working to hash out the grouping bugs!

comment:7 Changed 8 years ago by gdesmott

Hyperactiviy now creates HelloMesh activities. So you'll see them displayed in the mesh view if you have the HelloMesh activiy installed. :)

To test it, you just have to run or one of the test-*.py script.
Feel free to ping me on IRC if you need help or would like to test a specific scenario.

comment:8 Changed 8 years ago by daf

Hyperactivity seems to work well, so closing this ticket.

comment:9 Changed 8 years ago by daf

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.