You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,33 @@ Several aspects can dictate the overall system performance, like the:
10
10
- Number of subscribers per channel (controlled on subscriber)
11
11
- Subscriber distribution per shard and channel (controlled on subscriber)
12
12
13
-
## Installation
14
13
15
-
The easiest way to get and install the Subscriber Go program is to use
16
-
`go get` and then `go install`:
17
-
```bash
18
-
# Fetch this repo
14
+
## Getting Started
15
+
16
+
### Installing
17
+
This benchmark go program is **know to be supported for go >= 1.11**.
18
+
The easiest way to get and install the Subscriber Go program is to use `go get` and then `go install`:
19
+
20
+
```
19
21
go get github.com/filipecosta90/pubsub-sub-bench
20
22
cd $GOPATH/src/github.com/filipecosta90/pubsub-sub-bench
21
23
make
22
24
```
23
25
26
+
#### Updating
27
+
To update the Subscriber Go program use `go get -u` to retrieve the latest version:.
28
+
```
29
+
go get -u github.com/filipecosta90/pubsub-sub-bench
30
+
cd $GOPATH/src/github.com/filipecosta90/pubsub-sub-bench
31
+
make
32
+
```
33
+
34
+
#### Limitations
35
+
36
+
There are know limitations on old go version due to the radix/v3 dependency, given that on old versions,
37
+
the go command in GOPATH mode does not distinguish between major versions, meaning that it will look for the package `package github.com/mediocregopher/radix/v3` instead of v3 of `package github.com/mediocregopher/radix`.
38
+
Therefore you should only use this tool on go >= 1.11.
0 commit comments