envoyproxy / envoyproxy/envoy

Configure V8 DefaultWorker threads in yaml

Open
#38,680 14 comments 0 reactions 0 assignees View on GitHub
area/wasm help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
428

Description

We are using the wasmervice bootstrap extension in yaml as below

bootstrap_extensions:
- name: envoy.bootstrap.wasm
typed_config:
"@type": type.googleapis.com/envoy.extensions.wasm.v3.WasmService
singleton: true

When we have this in the yaml even after marking "singleton : true" we see 16 "V8 DefaultWorker" threads started on a 32 cpu box.
Is there a way to limit these in the yaml with some parameter ?
Or do I have to change code and rebuild envoy ?
--concurrency doesn't help in configuring these as that is only for worker threads.
Tried doing a google search for this issue but nothing turns up.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.