Skip to content

Commit 0253cc8

Browse files
ammills01enricogior
authored andcommitted
[PR] Update Redis on Windows.md
Fixed a few small grammatical errors. Specifically, the word 'in' was used twice in a row the 'Networking Differences' section and there was a random 'the' in the Heap Sizing section.
1 parent 922439a commit 0253cc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Redis on Windows.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Redis is a C code base that compiles under Visual Studio. Most of the code compi
2323
Networking Differences
2424
----------------------
2525

26-
The Windows networking stack is split between user mode code and kernel mode code. Transitions between user and kernel mode are expensive operations. The POSIX networking APIs on Windows utilize a programming model that incurs significant performance loss due to the kernel/user mode transitions. Efficient Windows networking code instead uses the IO Completion Port model to reduce the impact of this behavior. The APIs used and the programming model for IO Completion is different enough that we were forced to implement a new networking layer in in Redis.
26+
The Windows networking stack is split between user mode code and kernel mode code. Transitions between user and kernel mode are expensive operations. The POSIX networking APIs on Windows utilize a programming model that incurs significant performance loss due to the kernel/user mode transitions. Efficient Windows networking code instead uses the IO Completion Port model to reduce the impact of this behavior. The APIs used and the programming model for IO Completion is different enough that we were forced to implement a new networking layer in Redis.
2727

2828
File Descriptors
2929
----------------
@@ -94,7 +94,7 @@ The final service code has been released as of June 25 in the 2.8.9 Redis-64 pac
9494
Heap Sizing
9595
-----------
9696

97-
Native heaps are prone to fragmentation. If we are not able to allocate more heap space due to fragmentation Redis will flag the problem and exit. Unlike the POSIX version of Redis, our heap size is constrained by both by disk space and by swap file space. It is important to consider the how much data you are expecting to put into Redis, and how much fragmentation you are likely to see in the Redis heap. With very high levels of fragmentation the 50% overhead that –maxmemory imposes may not be enough to prevent running out of heap space. In this case, the use of –maxheap will supersede the –maxmemory default heap setting.
97+
Native heaps are prone to fragmentation. If we are not able to allocate more heap space due to fragmentation Redis will flag the problem and exit. Unlike the POSIX version of Redis, our heap size is constrained by both by disk space and by swap file space. It is important to consider how much data you are expecting to put into Redis, and how much fragmentation you are likely to see in the Redis heap. With very high levels of fragmentation the 50% overhead that –maxmemory imposes may not be enough to prevent running out of heap space. In this case, the use of –maxheap will supersede the –maxmemory default heap setting.
9898

9999
Installation and Maintenance
100100
----------------------------

0 commit comments

Comments
 (0)