# \#design

**URL:** https://community.temporal.io/tag/design/37.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [Where to deploy the worker?](https://community.temporal.io/t/where-to-deploy-the-worker/18750)

<div class="topic-metadata">

**Author:** [@rogierl](https://community.temporal.io/u/rogierl)\
**Replies:** 4\
**Last updated:** [December 18, 2025, 4:15pm UTC](https://community.temporal.io/t/where-to-deploy-the-worker/18750 "2025-12-18T16:15:38Z")

</div>

Hey, I’m totally new to Temporal and I’m doing a proof-of-concept to find out if temporal would be a solution for our use case. I followed the example project in the documentation of temporal (the ip-address lookup flow)…

---

## [Best Practice for Managing Global User State Across Workflows (e.g., for Frequency Capping)](https://community.temporal.io/t/best-practice-for-managing-global-user-state-across-workflows-e-g-for-frequency-capping/18424)

<div class="topic-metadata">

**Author:** [@Younes\_Mahmoudi](https://community.temporal.io/u/Younes_Mahmoudi)\
**Replies:** 5\
**Last updated:** [October 24, 2025, 7:08pm UTC](https://community.temporal.io/t/best-practice-for-managing-global-user-state-across-workflows-e-g-for-frequency-capping/18424 "2025-10-24T19:08:01Z")

</div>

Hi all, We’re designing a marketing automation system using Temporal. In our model, a user can be active in multiple independent “Campaign Workflows” simultaneously (e.g., a Black Friday campaign and a new user onboardi…

---

## [A Bottom-Up Guide to Temporal Cluster Architecture](https://community.temporal.io/t/a-bottom-up-guide-to-temporal-cluster-architecture/15818)

<div class="topic-metadata">

**Author:** [@pratyay](https://community.temporal.io/u/pratyay)\
**Replies:** 2\
**Last updated:** [December 31, 2024, 4:15am UTC](https://community.temporal.io/t/a-bottom-up-guide-to-temporal-cluster-architecture/15818 "2024-12-31T04:15:09Z")

</div>

Sharing an article I wrote, inspired from @maxim video on designing workflow engines from first principles. Feedback is most welcome.

---

## [Alert merging workflow using signal-with-start - how to close atomically?](https://community.temporal.io/t/alert-merging-workflow-using-signal-with-start-how-to-close-atomically/15782)

<div class="topic-metadata">

**Author:** [@germicide](https://community.temporal.io/u/germicide)\
**Replies:** 1\
**Last updated:** [December 19, 2024, 5:38pm UTC](https://community.temporal.io/t/alert-merging-workflow-using-signal-with-start-how-to-close-atomically/15782 "2024-12-19T17:38:07Z")

</div>

Hello everyone! I am looking at implementing an alert merging process in temporal. This is how it works : We have alerts and cases, alerts get merged in cases alerts have a “correlation hash” used to determine if they…

---

## [Designing a Temporal Workflow for Intermittent Connectivity with Signal-Driven Activities](https://community.temporal.io/t/designing-a-temporal-workflow-for-intermittent-connectivity-with-signal-driven-activities/15504)

<div class="topic-metadata">

**Author:** [@Faheem](https://community.temporal.io/u/Faheem)\
**Replies:** 3\
**Last updated:** [December 4, 2024, 3:50pm UTC](https://community.temporal.io/t/designing-a-temporal-workflow-for-intermittent-connectivity-with-signal-driven-activities/15504 "2024-12-04T15:50:08Z")

</div>

Hello Temporal Community, We are working on temporalizing a worker management system integrated with a mobile application. Here’s the high-level workflow: Start Workflow: A signal from the mobile application triggers …

---

## [Send 2000 events per second to 20 different types of workflows](https://community.temporal.io/t/send-2000-events-per-second-to-20-different-types-of-workflows/13210)

<div class="topic-metadata">

**Author:** [@Dmitriy\_Sorokin](https://community.temporal.io/u/Dmitriy_Sorokin)\
**Replies:** 5\
**Last updated:** [August 23, 2024, 10:28am UTC](https://community.temporal.io/t/send-2000-events-per-second-to-20-different-types-of-workflows/13210 "2024-08-23T10:28:12Z")

</div>

Hi! We have 20 different types of workflows need to process 2000 events in seconds each workflow type waits for each event What is the best way to implement? send each signal to each workflow type, something like: …

---

## [Handle Signal while Activity InProgress or wf Failed?](https://community.temporal.io/t/handle-signal-while-activity-inprogress-or-wf-failed/13212)

<div class="topic-metadata">

**Author:** [@Matthias](https://community.temporal.io/u/Matthias)\
**Replies:** 1\
**Last updated:** [August 21, 2024, 4:39am UTC](https://community.temporal.io/t/handle-signal-while-activity-inprogress-or-wf-failed/13212 "2024-08-21T04:39:30Z")

</div>

Hi there! I have a workflow that’s calling an activity which is calling an api. When the api fails the retry will kick in. Once retry has reached the maximumAttempts, it shows a wf execution status as “Failed”. There i…

---

## [System Architecture with Dotnet SDK](https://community.temporal.io/t/system-architecture-with-dotnet-sdk/12811)

<div class="topic-metadata">

**Author:** [@Jakenuts](https://community.temporal.io/u/Jakenuts)\
**Replies:** 2\
**Last updated:** [July 16, 2024, 6:12am UTC](https://community.temporal.io/t/system-architecture-with-dotnet-sdk/12811 "2024-07-16T06:12:18Z")

</div>

All the examples I’ve found using the dotnet SDK reference the workflow (and activities) in both the workers and the client code that initiates new workflows. I was under the impression that you could build a decoupled …

---

## [Replacing Quartz with Temporal](https://community.temporal.io/t/replacing-quartz-with-temporal/3160)

<div class="topic-metadata">

**Author:** [@RobZienert](https://community.temporal.io/u/RobZienert)\
**Replies:** 2\
**Last updated:** [July 12, 2024, 3:33am UTC](https://community.temporal.io/t/replacing-quartz-with-temporal/3160 "2024-07-12T03:33:25Z")

</div>

Part of our system that we’re migrating to Temporal currently uses Quartz Scheduler for scheduling user-land workloads via CRON. I’d like to replace this component with Temporal, but would like validation on the approach…

---

## [Dependency Injection: Converting existing DI code to work with Temporal](https://community.temporal.io/t/dependency-injection-converting-existing-di-code-to-work-with-temporal/8302)

<div class="topic-metadata">

**Author:** [@Liad\_Davidson](https://community.temporal.io/u/Liad_Davidson)\
**Replies:** 4\
**Last updated:** [May 22, 2024, 12:12pm UTC](https://community.temporal.io/t/dependency-injection-converting-existing-di-code-to-work-with-temporal/8302 "2024-05-22T12:12:34Z")

</div>

Hi All, I was trying to convert some of our existing code to work with Temporal and run into a dead-end when needing to deal with Dependency Injection. Our code is a ASP.NET Core web API with various \[injected\] service…

---

## [System Design for Segregating Application Data and Temporal Data](https://community.temporal.io/t/system-design-for-segregating-application-data-and-temporal-data/11330)

<div class="topic-metadata">

**Author:** [@Sandesh\_Mali](https://community.temporal.io/u/Sandesh_Mali)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 10:27am UTC](https://community.temporal.io/t/system-design-for-segregating-application-data-and-temporal-data/11330 "2024-03-12T10:27:53Z")

</div>

Hi All, I am trying to implement a use case for Customer Record Creation which involves creating footprint in multiple systems via defined workflow. I am planning to use Temporal to carry out durable execution. However …

---

## [Blog post: Compensating Actions, Part of a Complete Breakfast with Sagas](https://community.temporal.io/t/blog-post-compensating-actions-part-of-a-complete-breakfast-with-sagas/8114)

<div class="topic-metadata">

**Author:** [@fortuna](https://community.temporal.io/u/fortuna)\
**Replies:** 2\
**Last updated:** [June 14, 2023, 4:48pm UTC](https://community.temporal.io/t/blog-post-compensating-actions-part-of-a-complete-breakfast-with-sagas/8114 "2023-06-14T16:48:27Z")

</div>

I wrote an article explaining the Compensating Actions Design Pattern, which is an important part of the Saga design pattern (and how to implement it in Temporal), why/when you’d want to use it, and how to implement it i…

---

## [Implementing actor supervision with temporal](https://community.temporal.io/t/implementing-actor-supervision-with-temporal/8061)

<div class="topic-metadata">

**Author:** [@peter\_royal](https://community.temporal.io/u/peter_royal)\
**Replies:** 6\
**Last updated:** [April 29, 2023, 7:59pm UTC](https://community.temporal.io/t/implementing-actor-supervision-with-temporal/8061 "2023-04-29T19:59:34Z")

</div>

i’m wondering if there are any best practices on using long-running workflows as actors. this simple case seems straightforward - signals and queries are inputs and outputs, the workflow method is the state machine loop…

---

## [Continuing workflow to next step after receiving a signal](https://community.temporal.io/t/continuing-workflow-to-next-step-after-receiving-a-signal/7605)

<div class="topic-metadata">

**Author:** [@mihirg](https://community.temporal.io/u/mihirg)\
**Replies:** 1\
**Last updated:** [March 17, 2023, 4:28am UTC](https://community.temporal.io/t/continuing-workflow-to-next-step-after-receiving-a-signal/7605 "2023-03-17T04:28:19Z")

</div>

I have a 3 step workflow Step 1: Make API call to external system Step 2: Wait for a webhook callback from external system Step 3: use data from webhook callback to do addtional work and exit the workflow. For step 2,…

---

## [Join us in person for a co-design session Tue, March 7 in SF](https://community.temporal.io/t/join-us-in-person-for-a-co-design-session-tue-march-7-in-sf/7464)

<div class="topic-metadata">

**Author:** [@tihomir](https://community.temporal.io/u/tihomir)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 7:18pm UTC](https://community.temporal.io/t/join-us-in-person-for-a-co-design-session-tue-march-7-in-sf/7464 "2023-03-02T19:18:01Z")

</div>

Hey friends, we want to invite members of our community to an all-day co-creation session in at Le Meridien, on March 7, 2023 in San Francisco. This is an in-person event. There’s a limited number of seats available to…

---

## [Exploring Temporal orchestration with async lambdas](https://community.temporal.io/t/exploring-temporal-orchestration-with-async-lambdas/6461)

<div class="topic-metadata">

**Author:** [@linusgsanz](https://community.temporal.io/u/linusgsanz)\
**Replies:** 5\
**Last updated:** [November 18, 2022, 10:08pm UTC](https://community.temporal.io/t/exploring-temporal-orchestration-with-async-lambdas/6461 "2022-11-18T22:08:55Z")

</div>

The company I work with is exploring switching some of our processes to be more Workflow dependent. Currently we use choreography and event driven design to analyze our data (provided by clients). The analysis code ru…

---

## [Redefine Max Retries for Activity](https://community.temporal.io/t/redefine-max-retries-for-activity/6040)

<div class="topic-metadata">

**Author:** [@AbiSri](https://community.temporal.io/u/AbiSri)\
**Replies:** 2\
**Last updated:** [September 23, 2022, 6:23pm UTC](https://community.temporal.io/t/redefine-max-retries-for-activity/6040 "2022-09-23T18:23:06Z")

</div>

I have a workflow that takes a list of entities that need to be processed, and calls an activity to process each individual entity (in batches of at most 5 at a time). I save the ones where the activity, with 5 max retri…

---

## [Using dynamic task queues for traffic routing](https://community.temporal.io/t/using-dynamic-task-queues-for-traffic-routing/3045)

<div class="topic-metadata">

**Author:** [@RobZienert](https://community.temporal.io/u/RobZienert)\
**Replies:** 5\
**Last updated:** [September 29, 2021, 7:32pm UTC](https://community.temporal.io/t/using-dynamic-task-queues-for-traffic-routing/3045 "2021-09-29T19:32:29Z")

</div>

Today, I did a little lightning talk at the Community Meetup about what we’ve done at Netflix to extend Temporal for our purposes. One extension that we’ve added to the Java SDK is traffic routing via dynamic task queue …

---

## [Temporal workflow with task waiting for user input?](https://community.temporal.io/t/temporal-workflow-with-task-waiting-for-user-input/2740)

<div class="topic-metadata">

**Author:** [@Pumpopo](https://community.temporal.io/u/Pumpopo)\
**Replies:** 3\
**Last updated:** [August 24, 2021, 7:45pm UTC](https://community.temporal.io/t/temporal-workflow-with-task-waiting-for-user-input/2740 "2021-08-24T19:45:54Z")

</div>

Hey we are trying to build a front end application and trying to use temporal as our workflow orchestration engine. We have several user input phases in our use cases, like user input + trigger async job A + waiting fo…

---

## [User subscription workflow design](https://community.temporal.io/t/user-subscription-workflow-design/909)

<div class="topic-metadata">

**Author:** [@nadilas](https://community.temporal.io/u/nadilas)\
**Replies:** 17\
**Last updated:** [January 9, 2021, 6:01pm UTC](https://community.temporal.io/t/user-subscription-workflow-design/909 "2021-01-09T18:01:54Z")

</div>

Hi everyone, I’m looking for your inputs on a design for a user subscription workflow. As far as the recommendation goes it is said, that long-lived user oriented workflows could/should be started. So I came up with an …

---

## [Polling for external event and maintaining subscription](https://community.temporal.io/t/polling-for-external-event-and-maintaining-subscription/588)

<div class="topic-metadata">

**Author:** [@hth](https://community.temporal.io/u/hth)\
**Replies:** 5\
**Last updated:** [September 8, 2020, 3:10pm UTC](https://community.temporal.io/t/polling-for-external-event-and-maintaining-subscription/588 "2020-09-08T15:10:58Z")

</div>

Hi there, Apologies in advance for the slightly convoluted problem - I’ve tried to distill this down to just the basics, so hopefully this will be useful for others too. I’ve got a problem that is similar to: https://c…

---

## [Possibility of scalable buffered counter](https://community.temporal.io/t/possibility-of-scalable-buffered-counter/152)

<div class="topic-metadata">

**Author:** [@Junaid](https://community.temporal.io/u/Junaid)\
**Replies:** 2\
**Last updated:** [July 13, 2020, 1:41pm UTC](https://community.temporal.io/t/possibility-of-scalable-buffered-counter/152 "2020-07-13T13:41:07Z")

</div>

Hey , I am Junaid , I am new to temporal, it would be really helpful if some could help on this. I am thinking we can use temporal to implement scalable buffered counter ( very frequent 1/s to 100/s update ) like wor…
