From 325c31bbd96e52b93987d44c71f20823635062ef Mon Sep 17 00:00:00 2001 From: Doug Smith Date: Wed, 13 Sep 2023 16:32:51 +0200 Subject: [PATCH] add upgrade guide entry --- .../highlights/2023-09-26-0-33-0-upgrade-guide.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/website/content/en/highlights/2023-09-26-0-33-0-upgrade-guide.md b/website/content/en/highlights/2023-09-26-0-33-0-upgrade-guide.md index 992e3ca635312..ef13e7e1a9573 100644 --- a/website/content/en/highlights/2023-09-26-0-33-0-upgrade-guide.md +++ b/website/content/en/highlights/2023-09-26-0-33-0-upgrade-guide.md @@ -24,3 +24,16 @@ We cover them below to help you upgrade quickly: The `armv7` rpm package, `vector--1.armv7.rpm`, is now published as `vector--1.armv7hl.rpm` to better follow rpm guidelines. The `armv7` package will be no longer be published beginning in the 0.34.0 release. + +### Potentially impactful changes + +#### Async runtime default number of worker threads {#runtime-worker-threads} + +We've changed the default number of worker threads spawned by Vector's async runtime +from being the number of CPUs on the host machine to the value returned by +[`std::thread::available_parallelism()`](https://doc.rust-lang.org/stable/std/thread/fn.available_parallelism.html). +This should be a better default value for containerized environments where the container +has limited quotas, but note this change may impact performance. + +The number of worker threads used can be seen by enabling debug logging, and the value can +be overriden by setting the `VECTOR_THREADS` environment variable. \ No newline at end of file