Skip to content

Commit a13e46d

Browse files
committed
dedicated workers
1 parent be65950 commit a13e46d

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import DocCard from '@site/src/components/DocCard';
2+
3+
# Dedicated Workers / Native Performance
4+
5+
Dedicated Workers are workers that are dedicated for a particular script. They are able to execute any job that target this script much faster than normal workers at the expense of being capable to only execute that one script.
6+
They are as fast as running the same logic in a forloop, but keep the benefit of showing separate jobs per execution.
7+
8+
For now it only work with bun scripts that have been pre-deployed.
9+
10+
The scripts can be used within flows.
11+
12+
To setup, pass:
13+
14+
```
15+
DEDICATED_WORKER=<workspace>:<path>
16+
```
17+
18+
or use the dedicatedWorkers section in the values.yaml of the helm chart.

sidebars.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ const sidebars = {
269269
'core_concepts/audit_logs/index',
270270
'core_concepts/staging_prod/index',
271271
'core_concepts/multiplayer/index',
272-
'misc/saml_and_scim/index'
272+
'misc/saml_and_scim/index',
273+
'core_concepts/dedicated_workers/index'
273274
]
274275
},
275276
{

0 commit comments

Comments
 (0)