Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create test files #3

Closed
rgaudin opened this issue May 22, 2024 · 4 comments
Closed

Create test files #3

rgaudin opened this issue May 22, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@rgaudin
Copy link
Member

rgaudin commented May 22, 2024

All the mirrors must serve the same file for use with the speed test. Location and name needs to accommodate all servers.
Although it should not require any mirror intervention, an email must be sent to admins informing them about this new file and its purpose.

File should be random binary data and weight 50MB.
We may also host a 1MB file for simulation/devel for use where speed accuracy is not important

@rgaudin rgaudin added the enhancement New feature or request label May 22, 2024
@rgaudin rgaudin self-assigned this May 22, 2024
@rgaudin rgaudin added this to the MVP milestone May 29, 2024
@rgaudin
Copy link
Member Author

rgaudin commented May 31, 2024

Constraints:

  • - .zim named so it's synced by mirrors without action on their part
  • - an actual ZIM file so it's not deceptive (explains it's not actually content)
  • - must be mirrored by all mirrors (or most of them) ; in case we cant have them all, we need a ticket to exclude from Update mirrors DB #12
  • - ideally a single file but can be duplicated in several folders: wikipedia/ folder is synced on all mirrors but IL one (which only syncs a subset of it)
  • - must not be included in Kiwix Catalog
  • - Must not be included in opentracker
  • - Must not be included in matomo stats

Currently testing with wikipedia/speedtest_en_blob_2024-05.zim

@rgaudin
Copy link
Member Author

rgaudin commented May 31, 2024

Opentracker is not a concern as it is based on Catalog

@rgaudin
Copy link
Member Author

rgaudin commented May 31, 2024

As discussed with @kelson42 we will exclude those downloads from the stats via a User-Agent exclusion rule.

I've added /speedtest/ to the global matomo configuration and we know that the log-import script has a list of UA patterns to exclude.

For this, I suggest we use the speedtester/robot string (maybe with a version number) as User-Agent as to fall into the script exclusion rule and not upload those log entries at all.

@rgaudin rgaudin mentioned this issue May 31, 2024
@rgaudin
Copy link
Member Author

rgaudin commented Jul 25, 2024

We now have:

Both are available on 13 mirrors (all but IL). Code uses speedtester/robot as U-A.

@rgaudin rgaudin closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant