Skip to content

Commit 78975c0

Browse files
committed
Tiny fixes to the "Tuning Performance" guide [ci skip]
Following up rails#51924.
1 parent ffbc964 commit 78975c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/tuning_performance_for_deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Because of how the default memory allocator works on most Linux distributions, r
147147
lead to an unexpected increase in memory usage caused by [memory fragmentation](https://en.wikipedia.org/wiki/Fragmentation_\(computing\)).
148148
In turn, this increased memory usage may prevent your application from fully utilizing the server CPU cores.
149149

150-
To alleviate this problem, it is highly recommended the configure Ruby to use an alternative memory allocator:
150+
To alleviate this problem, it is highly recommended to configure Ruby to use an alternative memory allocator:
151151
[jemalloc](https://github.com/jemalloc/jemalloc).
152152

153153
The default Dockerfile generated by Rails already comes preconfigured to install and use `jemalloc`. But if your hosting
@@ -261,7 +261,7 @@ It is still helpful for testing configurations.
261261
Your load testing program should allow you to check latencies, including percentile and tail latencies.
262262

263263
For different numbers of processes and threads, or different configurations in general, check the throughput and one or
264-
more latencies such as P50, P90, and P99.
264+
more latencies such as `P50`, `P90`, and `P99`.
265265
Increasing the threads will improve throughput up to a point, but worsen latency.
266266

267267
Choose a tradeoff between latency and throughput based on your application's needs.

0 commit comments

Comments
 (0)