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
- very fast (~250k rpc calls per second on Ryzen 1700X over 16 threads)
27
+
- very fast (~250k rpc calls per second on Ryzen 1700X using 16 threads)
28
28
- works on Windows
29
29
30
30
Getting Started:
@@ -52,7 +52,7 @@ $ make test
52
52
Using RoadRunner:
53
53
--------
54
54
55
-
In order to use RoadRunner you only have to place `.rr.yaml` file in a root of your php project:
55
+
In order to use RoadRunner you only have to place a `.rr.yaml`config file in the root of your PHP project:
56
56
57
57
```yaml
58
58
# rpc bus allows php application and external clients to talk to rr services.
@@ -152,7 +152,7 @@ You can also run RR in debug mode to view all incoming requests.
152
152
$ rr serve -d -v
153
153
```
154
154
155
-
You can force RR service to reload it's http workers.
155
+
You can force RR service to reload its http workers.
156
156
157
157
```
158
158
$ rr http:reset
@@ -179,9 +179,9 @@ $ rr http:workers -i
179
179
180
180
Writing Services:
181
181
--------
182
-
RoadRunner uses service bus to organize it's internal services and their depencies, this approach is similar to PHP Container implementation. You can create your own services, event listeners, middlewares and etc.
182
+
RoadRunner uses a service bus to organize its internal services and their dependencies, this approach is similar to the PHP Container implementation. You can create your own services, event listeners, middlewares, etc.
183
183
184
-
RoadRunner would not start service without a proper config section at the moment, simply add new section to .rr file.
184
+
RoadRunner will not start as a service without a proper config section at the moment. To do this, simply add the following section section to your `.rr.yaml` file.
185
185
186
186
```yaml
187
187
service:
@@ -200,7 +200,7 @@ type config struct {
200
200
}
201
201
```
202
202
203
-
To create the service implement interface:
203
+
To create the service, implement this interface:
204
204
205
205
```golang
206
206
// Service provides high level functionality for road runner modules.
@@ -217,7 +217,7 @@ type Service interface {
217
217
}
218
218
```
219
219
220
-
Simple service might look like:
220
+
A simple service might look like this:
221
221
222
222
```golang
223
223
package service
@@ -259,7 +259,7 @@ Service can be added to RR bus by creating your own version of [main.go](https:/
0 commit comments