Skip to content

Commit

Permalink
Minor editing updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnMilo committed Jul 8, 2012
1 parent db50269 commit 34ff4c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions commands/append.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GET mykey

## Pattern: Time series

the `APPEND` command can be used to create a very compact representation of a
The `APPEND` command can be used to create a very compact representation of a
list of fixed-size samples, usually referred as _time series_.
Every time a new sample arrives we can store it using the command

Expand All @@ -30,12 +30,12 @@ Accessing individual elements in the time series is not hard:

* `STRLEN` can be used in order to obtain the number of samples.
* `GETRANGE` allows for random access of elements.
If our time series have an associated time information we can easily implement
If our time series have associated time information we can easily implement
a binary search to get range combining `GETRANGE` with the Lua scripting
engine available in Redis 2.6.
* `SETRANGE` can be used to overwrite an existing time serie.
* `SETRANGE` can be used to overwrite an existing time series.

The limitations of this pattern is that we are forced into an append-only mode
The limitation of this pattern is that we are forced into an append-only mode
of operation, there is no way to cut the time series to a given size easily
because Redis currently lacks a command able to trim string objects.
However the space efficiency of time series stored in this way is remarkable.
Expand Down
2 changes: 1 addition & 1 deletion commands/auth.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Request for authentication in a password protected Redis server.
Request for authentication in a password-protected Redis server.
Redis can be instructed to require a password before allowing clients to execute
commands.
This is done using the `requirepass` directive in the configuration file.
Expand Down
2 changes: 1 addition & 1 deletion commands/bgrewriteaof.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Specifically:
In this case the `BGREWRITEAOF` will still return an OK code, but with an
appropriate message.
You can check if an AOF rewrite is scheduled looking at the `INFO` command
starting from Redis 2.6.
as of Redis 2.6.
* If an AOF rewrite is already in progress the command returns an error and no
AOF rewrite will be scheduled for a later time.

Expand Down

0 comments on commit 34ff4c1

Please sign in to comment.