librespeed / librespeed/speedtest-go

enabling tls/ssl causes significant drop in performance

Open
#49 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
875
Forks
183
PR merge metrics
No merged PRs in 30d

Description

Description

Downloaded the latest release which has the tls option and set up speedtest-go using tls/http2 using Letsencrypt certificates. This caused the download speeds to drop to approx. 66% and upload speeds to as low as 30%, compared to non-tls settings.

Server

Running on a LXC Rocky 8.6 Linux install

Client

Firefox 102.01 on macOS Monteray

Steps to reproduce

  • install latest release
  • activate tls/http2

Expected behaviour

Expected mostly the same up- and download speeds over tls or plain
Bildschirmfoto 2022-07-24 um 19 13 39

Screenshots

Added screenshots for wired and wireless tests. Lefts ones are without tls, right ones with tls/http2 enabled. Top ones are wired connections, bottom ones are on wireless.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported comparison using the latest release, with TLS/HTTP2 enabled and disabled, and record download and upload results for wired and wireless clients. Compare the measurements against the reported roughly 66% download and 30% upload performance, then document and address the cause of the discrepancy.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, networking, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.