envoyproxy/envoy

Configure V8 DefaultWorker threads in yaml

Aperta

#38.680 aperta il 7 mar 2025

 (14 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/wasmhelp wanted

Metriche repository

Star
 (27.997 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor