Skip to content

Tor2web is extremely slow under excessive load #111

Open
@fpietrosanti

Description

@fpietrosanti

Following scalability improvement as #94, during stress-testing it has been verified that Tor2web is extremely slow under excessive load.

Below AB testing with 1000/s connections:

Percentage of the requests served within a certain time (ms)
50% 31156
66% 35975
75% 40326
80% 43149
90% 49321
95% 54200
98% 62341
99% 66119
100% 82693 (longest request)

This means that Tor2web is not behaving properly under excessive load, basically self-dossing itself.

This maybe a performance issue to be tuned by removing some still present performance issue.

The same test, done over https://globaleaks.org/ that run a nginx platform with 1/3 of the hardware resources within the respect of Tor2web testing machine, give better responsive result:
Percentage of the requests served within a certain time (ms)
50% 9915
66% 10276
75% 11883
80% 13082
90% 13250
95% 18880
98% 19080
99% 19095

We should investigate:
a) Which a request to serve a local file is going to take between 30-45 seconds
b) How can detect this overload condition and act over it


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions