Skip to content

Commit fcfcc98

Browse files
pr review
1 parent 6fdefe2 commit fcfcc98

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

docs-v2/pages/troubleshooting.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,13 @@ Use Pipedream's [built-in Delay actions](/workflows/flow-control/#delay) to dela
250250

251251
Here are a few things that can help your workflow execute faster:
252252

253-
1. **Increase Memory Allocation:** Increase your [workflow memory](/workflows/settings#memory) to at least 512 MB. Raising the memory limit will proportionally increase CPU resources, leading to improved performance and reduced latency.
253+
1. **Increase memory:** Increase your [workflow memory](/workflows/settings#memory) to at least 512 MB. Raising the memory limit will proportionally increase CPU resources, leading to improved performance and reduced latency.
254254

255-
2. **Return Static HTTP Responses:** If your workflow is triggered by an HTTP source, return a [static HTTP response](/workflows/triggers#http-responses) directly from the trigger configuration. This ensures the HTTP response is sent to the caller immediately, before the rest of the workflow steps are executed.
255+
2. **Return static HTTP responses:** If your workflow is triggered by an HTTP source, return a [static HTTP response](/workflows/triggers#http-responses) directly from the trigger configuration. This ensures the HTTP response is sent to the caller immediately, before the rest of the workflow steps are executed.
256256

257-
3. **Simplify Your Workflow:** Reduce the number of [steps](/workflows/steps#code-actions) and [segments](/workflows/control-flow#workflow-segments) in your workflow. This lowers the overhead involved in managing step execution and exports.
257+
3. **Simplify your workflow:** Reduce the number of [steps](/workflows/steps#code-actions) and [segments](/workflows/control-flow#workflow-segments) in your workflow, combining multiple steps into one, if possible. This lowers the overhead involved in managing step execution and exports.
258258

259-
4. **Activate Warm Workers:** Use and increase the number of dedicated workers to [eliminate cold starts](/workflows/settings#eliminate-cold-starts), ensuring your workflow is ready to execute immediately.
259+
4. **Activate warm workers:** Use [warm workers](/workflows/settings#eliminate-cold-starts) to reduce the startup time of workflows. Set [as many warm workers](/workflows/settings#how-many-workers-should-i-configure) as you want for high-volume traffic.
260260

261261
### How can I save common functions as steps?
262262

docs-v2/pages/workflows/settings.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,9 @@ By default, workflows run with {process.env.MEMORY_LIMIT} of memory. If you're p
113113
Increasing your workflow's memory gives you a proportional increase in CPU, so increasing your workflow's memory can reduce its overall runtime and make it more performant.
114114

115115
<Callout type="info">
116-
**Reducing Workflow Latency**
117-
118-
To reduce latency from the trigger to the end of your workflow, consider increasing the memory allocation to at least 512MB. This will result in significantly better performance compared to the default 256MB.
119-
For other ways to improve your workflow's performance, see [Troubleshooting](/troubleshooting#how-can-my-workflow-run-faster).
116+
**How can my workflow run faster?**
120117

118+
See [our guide on running workflows faster](/troubleshooting#how-can-my-workflow-run-faster).
121119
</Callout>
122120

123121
**Pipedream charges credits proportional to your memory configuration**. When you modify your memory settings, Pipedream will show you the number of credits you'll be charged per execution. [Read more here](/pricing/#how-does-workflow-memory-affect-credits).

docs-v2/pages/workflows/triggers.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,9 @@ When you're processing HTTP requests, you often don't need to issue any special
296296

297297

298298
<Callout type="info">
299-
**Reducing Workflow Latency**
300-
301-
To reduce latency for HTTP requests, return a static response directly from the trigger configuration. This ensures the HTTP response is sent to the caller immediately, before the rest of the workflow steps are executed. For more information, see [Sources](https://pipedream.com/docs/sources).
299+
**How can my workflow run faster?**
302300

301+
See [our guide on running workflows faster](/troubleshooting#how-can-my-workflow-run-faster).
303302
</Callout>
304303

305304
#### Customizing the HTTP response

0 commit comments

Comments
 (0)