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
{{ message }}
This repository was archived by the owner on Oct 18, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: STATUS.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,19 @@ The idea behind service-scaffold-node is to separate the existing service-templa
5
5
6
6
## To Do:
7
7
### Remove service-runner
8
-
service-runner is an npm package created at the Wikimedia Foundation enabling Node.js services to scale up, by spinning up multiple workers, in an otherwise single-threaded environment, to handle the load. It also handles logging, monitoring, and rate-limiting.
8
+
service-runner is an npm package created at the Wikimedia Foundation enabling Node.js services to scale up, by spinning up multiple workers, in an otherwise single-threaded environment. It also handles logging, monitoring, and rate-limiting.
9
9
10
-
After an informal discussion with service-ops, it was determined that service-runner is no longer necessary now that services at WMF will be running in Kubernetes. Kubernetes can now handle scaling up services in reponse to higher loads. The logging and monitoring it current handles will be put into servicelib-node, and the API Gateway is capable of handling the rate limiting.
10
+
After an informal discussion with service-ops, it was determined that service-runner is no longer necessary now that services at WMF will be running in Kubernetes. Kubernetes can now handle scaling up services in reponse to higher loads. The logging and monitoring it currently handles will be put into servicelib-node, and the API Gateway is capable of handling the rate limiting.
11
+
12
+
#### Pros
13
+
- Removing a complex, difficult to maintain library. The less code, the better.
14
+
- Removing code that is tightly coupled and dependent largely on service-template-node structure
11
15
12
16
#### Cons
13
17
- service-runner can spin up new workers faster than Kubernetes can spin up another instance to support higher loads.
14
18
- With more pods come more resource utilization per-pod (e.g. more sidecars, more memory usage, etc. ) We would now be looking at a 1:1 k8s pod to worker ratio, as opposed to N:1 workers to pod ratio.
15
19
16
-
#### Pros
17
-
- Removing a complex, difficult to maintain library. The less code, the better.
18
-
- Tightly coupled with and dependent largely on service-template-node structure
19
-
20
20
### Ideas to explore:
21
21
- Use an off-the-shelf worker coordinator
22
22
- Create an instance of Envoy to route requests to and from multiple containers
0 commit comments