Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
5ef3518d
Verified
Commit
5ef3518d
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
codespell cache.md
parent
071fb037
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.codespellexclude
+1
-0
1 addition, 0 deletions
.codespellexclude
.codespellrc
+1
-0
1 addition, 0 deletions
.codespellrc
howto/cache.md
+5
-5
5 additions, 5 deletions
howto/cache.md
with
7 additions
and
5 deletions
.codespellexclude
0 → 100644
+
1
−
0
View file @
5ef3518d
Read Activ 0.0 Reval (ms) 0.0 Other Err 2.8K 1 KB 2.0%
This diff is collapsed.
Click to expand it.
.codespellrc
+
1
−
0
View file @
5ef3518d
[codespell]
skip = *.json,*.csv,./.git/*/*,./.git/*/*/*
exclude-file = .codespellexclude
This diff is collapsed.
Click to expand it.
howto/cache.md
+
5
−
5
View file @
5ef3518d
...
...
@@ -192,7 +192,7 @@ The role is essentially consists of:
}
There are also firewall (to open the monitoring, HTTP and HTTPS ports)
and mtail (to read the log fiels for hit ratios) configurations but
and mtail (to read the log fiel
d
s for hit ratios) configurations but
those are not essential to get Nginx itself working.
The
`profile::nginx`
class is our common Nginx configuration that also
...
...
@@ -227,7 +227,7 @@ covers non-caching setups:
# the "cache" formats adds information about the backend, namely:
# upstream_addr - address and port of upstream server (string)
# upstream_response_time - total time spent talking to the backend server, in seconds (float)
# upstream_cache_status - state
f
o the cache (MISS, HIT, UPDATING, etc)
# upstream_cache_status - state o
f
the cache (MISS, HIT, UPDATING, etc)
# request_time - total time spent answering this query, in seconds (float)
'cache' => '$server_name:$server_port $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $upstream_addr $upstream_response_time $upstream_cache_status $request_time', #lint:ignore:140chars
'cacheprivacy' => '$server_name:$server_port 0.0.0.0 - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "-" $upstream_addr $upstream_response_time $upstream_cache_status $request_time', #lint:ignore:140chars
...
...
@@ -862,7 +862,7 @@ ab:
100% 738 (longest request)
Bombardier results are much better and almost max out the gigabit
conne
x
ion:
conne
ct
ion:
anarcat@cache-02:~$ ./go/bin/bombardier --duration=2m --latencies https://blog.torproject.org/ -c 100
Bombarding https://blog.torproject.org:443/ for 2m0s using 100 connection(s)
...
...
@@ -1166,10 +1166,10 @@ Bombardier:
others - 0
Throughput: 107.43MB/s
Almost maxes out the gigabit conne
x
ion as well, but only marginally
Almost maxes out the gigabit conne
ct
ion as well, but only marginally
faster (~3%?) than ATS.
Does not max theor
i
tical gigabit maximal performance, which
[
is
Does not max theor
e
tical gigabit maximal performance, which
[
is
apparently
](
http://rickardnobel.se/actual-throughput-on-gigabit-ethernet/
)
at around 118MB/s without jumbo frames (and 123MB/s
with).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment