envoyproxy/envoy

Configure V8 DefaultWorker threads in yaml

开放

#38,680 创建于 2025年3月7日

 (14 条评论) (0 个反应) (0 位负责人)C++ (5,373 个派生)batch import
area/wasmhelp wanted

仓库指标

星标
 (27,997 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南