# cancellation

A cooperative computing technique for stopping asynchronous or long-running operations using cancellation tokens.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Cancellation Is Not Enough: What Retries Leave Behind in an Overloaded LLM Engine

DevFeed: [Cancellation Is Not Enough: What Retries Leave Behind in an Overloaded LLM Engine](<https://devfeed.tech/articles/cancellation-is-not-enough-what-retries-leave-behind-in-an-overloaded-llm-engine-124550.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08684>)

Author: Xindan Zhang, Fei Wang

Published: 2026-11-09T05:00:00Z

Content type: news

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [vllm](<https://devfeed.tech/topics/vllm.md>), [retry](<https://devfeed.tech/topics/retry.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [cancellation](<https://devfeed.tech/tags/cancellation.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [engine](<https://devfeed.tech/tags/engine.md>), [llm](<https://devfeed.tech/tags/llm.md>), [retries](<https://devfeed.tech/tags/retries.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

### AI overview

In vLLM overload experiments with three open models, propagating cancellation alone did not restore service: only 12-38% of calls arriving after overload were delivered. Scheduler traces indicate that retries often began prefill less than half a second before timing out, and executions later aborted had already consumed 79-85% of the prompt tokens they computed; vLLM's prompt-token counter missed a third to half of those tokens. A retry budget restored service by shedding retries but left many calls undelivered. Request coalescing delivered every call from the overload onward, sometimes late, unless cancellation had already aborted its execution. The abstract argues overload controls should be assessed by the extra executions retries create and the calls clients actually receive.

### Source excerpt

arXiv:2611.08684v1 Announce Type: new Abstract: Clients and proxies in front of an LLM engine retry calls that time out. After a transient overload, these retries can keep the engine from recovering even when calls arrive below its capacity. Since the engine may keep computing for clients that have left, propagating cancellation looks like the natural remedy. In this paper, we test it on vLLM with overload experiments on three open models, and with scheduler traces of one that follow each client attempt to the execution it creates in the engine. We find that with retries on, cancellation alone did not restore service in any run, and only 12-38% of the calls that arrived after the overload were delivered. The traces suggest why: retries that vLLM ran typically started prefill less than half a second before they timed out. Executions that vLLM later aborted took 79-85% of the prompt tokens it computed, and vLLM's prompt-token counter missed a third to half of all computed prompt tokens. A retry budget restored service by shedding retries but left many of the overload's calls undelivered. Request coalescing delivered every call from the overload onward, some late, unless cancellation had already aborted the running execution. Overload controls should thus be judged by the executions that retries add and the calls that clients receive.

## Supervision Without Blocking: An Evidence-Driven Redesign of OTP-Style Fault Tolerance for Cooperative Runtimes

DevFeed: [Supervision Without Blocking: An Evidence-Driven Redesign of OTP-Style Fault Tolerance for Cooperative Runtimes](<https://devfeed.tech/articles/supervision-without-blocking-an-evidence-driven-redesign-of-otp-style-fault-tolerance-for-cooperative-runtimes-101618.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.34521>)

Author: Sam Uwejan, Erdogan Dogdu

Published: 2026-10-27T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [async](<https://devfeed.tech/topics/async.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [Tokio](<https://devfeed.tech/topics/tokio.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Erlang](<https://devfeed.tech/topics/erlang.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [actor](<https://devfeed.tech/tags/actor.md>), [actor-model](<https://devfeed.tech/tags/actor-model.md>), [adversarial](<https://devfeed.tech/tags/adversarial.md>), [audits](<https://devfeed.tech/tags/audits.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [completion](<https://devfeed.tech/tags/completion.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [erlang](<https://devfeed.tech/tags/erlang.md>), [fault-tolerance](<https://devfeed.tech/tags/fault-tolerance.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [identity](<https://devfeed.tech/tags/identity.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [message](<https://devfeed.tech/tags/message.md>), [otp](<https://devfeed.tech/tags/otp.md>), [redesign](<https://devfeed.tech/tags/redesign.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [runtimes](<https://devfeed.tech/tags/runtimes.md>), [supervision](<https://devfeed.tech/tags/supervision.md>)

### AI overview

The paper reports a supervision runtime for cooperative actor systems that aims to preserve the contracts verified against Erlang/OTP while addressing risks introduced by asynchronous runtimes. Its design uses supervisor-owned completion values, per-incarnation identity, and one lifecycle state machine; the authors say these mechanisms close 24 defect classes found in audits and framework comparisons. They report validation with 241 tests, including reproductions of reverted fixes. The runtime also keeps the supervisor responsive during group restarts and avoids cancelling message handlers mid-execution--two properties the authors say OTP does not provide. The abstract says some forcing guarantees cannot be honored by any cooperative runtime.

### Source excerpt

arXiv:2610.34521v1 Announce Type: new Abstract: Actor frameworks on mainstream runtimes advertise Erlang/OTP-style supervision, but OTP's consistency contracts assume a synchronous, single-threaded supervisor, and ports inherit that assumption's absence as unexamined risk. We evaluated every supervision guarantee against pinned OTP documentation and source read verbatim, against the source of three further Rust actor frameworks at fixed revisions, and against the actor-model literature, recording the evidence behind each design decision. Blind adversarial audits and the cross-framework study surfaced 24 defect classes, of which eight reduce to one root cause: reconstructing, by explicit mechanism, the atomicity a synchronous supervisor gets implicitly. We introduce a supervision runtime that closes all 24 cataloged classes through supervisor-owned completion values, per-incarnation identity, and a single lifecycle state machine, validated by 241 tests including reverted-fix reproductions. The result holds OTP's verbatim-verified contracts while adding two properties OTP does not offer: a supervisor that remains responsive throughout group restarts, and message handlers that are never cancelled mid-execution. We delimit the forcing guarantees no cooperative runtime can honor.

## The Ghost Work Left Behind by Cancelled Coroutines

DevFeed: [The Ghost Work Left Behind by Cancelled Coroutines](<https://devfeed.tech/articles/the-ghost-work-left-behind-by-cancelled-coroutines-89749.md>)

Original publisher: [Read original article](<https://proandroiddev.com/the-ghost-work-left-behind-by-cancelled-coroutines-a892bd467a6b?source=rss----c72404660798---4>)

Author: Rohan Maity | RotBolt

Published: 2026-10-18T19:56:04Z

Content type: article

Language: en

Sources: [ProAndroidDev](<https://devfeed.tech/sources/proandroiddev-medium.md>)

Topics: [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [Exception handling](<https://devfeed.tech/topics/exception-handling.md>), [Structured concurrency](<https://devfeed.tech/topics/structured-concurrency.md>), [suspend function](<https://devfeed.tech/topics/suspend-function.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [bluetooth](<https://devfeed.tech/tags/bluetooth.md>), [bridges](<https://devfeed.tech/tags/bridges.md>), [cancellations](<https://devfeed.tech/tags/cancellations.md>), [coroutine](<https://devfeed.tech/tags/coroutine.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [coroutinescope](<https://devfeed.tech/tags/coroutinescope.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [telemetry](<https://devfeed.tech/tags/telemetry.md>)

### AI overview

Kotlin coroutine cancellation is cooperative, so failures occur when code catches CancellationException as an ordinary error, callback bridges fail to cancel underlying requests, blocking calls ignore cancellation, or work runs in scopes without a clear owner. The excerpt links these gaps to misleading error logs and empty results, hanging or stale workflows, wasted IO capacity, Bluetooth work surviving disconnects, and saves lost during logout. It recommends rethrowing cancellation, using cancellable bridges that cancel their requests, preferring suspend APIs (or runInterruptible for interruptible JVM calls), assigning scopes to lifecycle owners, and sequencing critical saves and logout in one coroutine. It also distinguishes timeout-as-error from expected timeout, and notes that a Mutex serializes sends without guaranteeing callback arrival order. The review questions suggest where runtime tracing may help; static review cannot prove that a pattern caused an incident.

### Source excerpt

Lessons from a production Android codebase Cancellation in Kotlin Coroutines looks simple: cancel the Job, and the coroutine stops. In production, it is rarely that clean. Cancellation is cooperative. Every suspend function, exception handler, callback bridge and child scope must carry the signal. Break one boundary, and work may continue after its owner is gone. We saw the result in production: false error logs, empty results, stale Bluetooth work and a final save lost during logout. Nothing crashed. The app simply continued with the wrong state. Cancellation is cooperative Kotlin uses CancellationException to stop a coroutine. Functions such as delay and await check the Job and throw when it is cancelled. val job = scope.launch { delay(5_000) updateState() } job.cancel() Here, delay observes cancellation, so updateState is not called. Regular Kotlin code does not check automatically. It keeps running until the next cancellation point. When cancellation becomes a failure return try { repository.fetchNotifications() } catch (error: Exception) { logger.error("Failed to load notifications", error) emptyList() } If the user leaves the screen, viewModelScope is cancelled and fetchNotifications throws CancellationException. The broad catch records a normal lifecycle event as a failure. It also returns emptyList, so the caller cannot distinguish cancellation from a successful query with no data. runCatching has the same problem because it also catches CancellationException. Rethrow cancellation before handling other failures. catch (error: CancellationException) { throw error } catch (error: Exception) { logger.error("Failed to load notifications", error) emptyList() } In production, normal navigation becomes error telemetry. Empty values can appear as missing documents, notifications or time cards. Support sees missing data while the app reports a completed request. Callback bridges can outlive the caller suspend fun loadMessages() = suspendCoroutine { continuation -> ch

## Making JavaScript API Requests More Reliable with Timeouts, Retries, and Cancellation

DevFeed: [Making JavaScript API Requests More Reliable with Timeouts, Retries, and Cancellation](<https://devfeed.tech/articles/making-javascript-api-requests-more-reliable-with-timeouts-retries-and-cancellation-84513.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/making-javascript-api-requests-more-reliable-with-timeouts-retries-and-cancellation/>)

Author: Businessnewsbreak USA

Published: 2026-10-10T09:28:23Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [fetch](<https://devfeed.tech/topics/fetch.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [API keys](<https://devfeed.tech/topics/api-keys.md>)

Tags: [agile-development](<https://devfeed.tech/tags/agile-development.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [app-development](<https://devfeed.tech/tags/app-development.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [exponential-backoff](<https://devfeed.tech/tags/exponential-backoff.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [retries](<https://devfeed.tech/tags/retries.md>)

### AI overview

This tutorial shows how to make JavaScript API requests more reliable using timeouts, selective retries with exponential backoff, cancellation, and error handling. It explains how to cancel outdated search requests and recommends testing failure scenarios as well as successful responses.

### Source excerpt

null Continue reading Making JavaScript API Requests More Reliable with Timeouts, Retries, and Cancellation on SitePoint.

## Server-Side Scan Planning in the Iceberg REST Catalog Explained

DevFeed: [Server-Side Scan Planning in the Iceberg REST Catalog Explained](<https://devfeed.tech/articles/server-side-scan-planning-in-the-iceberg-rest-catalog-explained-59929.md>)

Original publisher: [Read original article](<https://www.dremio.com/blog/server-side-scan-planning-in-the-iceberg-rest-catalog-explained/>)

Author: Alex Merced

Published: 2026-09-25T12:43:08Z

Content type: article

Language: en

Sources: [Dremio](<https://devfeed.tech/sources/dremio.md>)

Topics: [Apache Iceberg](<https://devfeed.tech/topics/apache-iceberg.md>), [REST](<https://devfeed.tech/topics/rest.md>), [client](<https://devfeed.tech/topics/client.md>), [Server](<https://devfeed.tech/topics/server.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Task](<https://devfeed.tech/topics/task.md>)

Tags: [apache-iceberg](<https://devfeed.tech/tags/apache-iceberg.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [batching](<https://devfeed.tech/tags/batching.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [data-lakehouse](<https://devfeed.tech/tags/data-lakehouse.md>), [dremio-blog-open-data-insights](<https://devfeed.tech/tags/dremio-blog-open-data-insights.md>), [iceberg](<https://devfeed.tech/tags/iceberg.md>), [latency](<https://devfeed.tech/tags/latency.md>), [rest](<https://devfeed.tech/tags/rest.md>), [server](<https://devfeed.tech/tags/server.md>), [tradeoffs](<https://devfeed.tech/tags/tradeoffs.md>)

### AI overview

This article explains how Iceberg server-side scan planning moves manifest processing from clients to a REST catalog service. It covers capability discovery, synchronous and asynchronous scan requests, polling, cancellation, batched task delivery, operational tradeoffs, and rollout considerations.

### Source excerpt

Learn how Iceberg REST server-side scan planning works, including capabilities, asynchronous plans, polling, cancellation, batching, and tradeoffs. The post Server-Side Scan Planning in the Iceberg REST Catalog Explained appeared first on Dremio.

## How to Prevent Stale API Responses with AbortController

DevFeed: [How to Prevent Stale API Responses with AbortController](<https://devfeed.tech/articles/how-to-prevent-stale-api-responses-with-abortcontroller-57958.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/how-to-prevent-stale-api-responses-with-abortcontroller/>)

Author: Jhon-Harry

Published: 2026-09-22T08:12:45Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [race-condition](<https://devfeed.tech/topics/race-condition.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [input](<https://devfeed.tech/topics/input.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [app-development](<https://devfeed.tech/tags/app-development.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [race-condition](<https://devfeed.tech/tags/race-condition.md>)

### AI overview

This tutorial explains how stale API responses can overwrite newer results when network requests finish out of order. It shows how JavaScript's AbortController can cancel the previous request in search and autocomplete interfaces, and why cancellation should be handled separately from actual errors to avoid misleading logs and metrics.

### Source excerpt

null Continue reading How to Prevent Stale API Responses with AbortController on SitePoint.

## Stop Memorizing JavaScript APIs: Learn Them with Tiny Experiments Instead

DevFeed: [Stop Memorizing JavaScript APIs: Learn Them with Tiny Experiments Instead](<https://devfeed.tech/articles/stop-memorizing-javascript-apis-learn-them-with-tiny-experiments-instead-50883.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/stop-memorizing-javascript-apis-learn-them-with-tiny-experiments-instead/>)

Author: Saifullah Adenwalla

Published: 2026-08-27T09:19:53Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [fetch](<https://devfeed.tech/topics/fetch.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [browser](<https://devfeed.tech/topics/browser.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [learning](<https://devfeed.tech/tags/learning.md>)

### AI overview

A tutorial argues that developers should learn JavaScript APIs through small, disposable experiments instead of trying to memorize documentation. It demonstrates this approach with browser cancellation behavior involving AbortController and fetch, using a plain HTML file and DevTools to inspect runtime results.

### Source excerpt

null Continue reading Stop Memorizing JavaScript APIs: Learn Them with Tiny Experiments Instead on SitePoint.

## Stop Means Stop: New Paper Finds Agent Approval Gates and Cancellation Leak in Six Frameworks

DevFeed: [Stop Means Stop: New Paper Finds Agent Approval Gates and Cancellation Leak in Six Frameworks](<https://devfeed.tech/articles/stop-means-stop-new-paper-finds-agent-approval-gates-and-cancellation-leak-in-six-frameworks-56320.md>)

Original publisher: [Read original article](<https://www.developersdigest.tech/blog/stop-means-stop-enforcement-gap-2026>)

Author: Developers Digest

Published: 2026-08-11T00:00:00Z

Content type: article

Language: en

Sources: [Developers Digest](<https://devfeed.tech/sources/developers-digest.md>)

Topics: [Framework](<https://devfeed.tech/topics/framework.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [leak](<https://devfeed.tech/tags/leak.md>), [news](<https://devfeed.tech/tags/news.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [paper](<https://devfeed.tech/tags/paper.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [research](<https://devfeed.tech/tags/research.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

An arXiv paper examines six open-source agent frameworks and reports that approval gates, cancellation, and timeout barrier semantics fail across all six. It describes sibling execution during rejection and possible double execution during replay, and proposes an external gate called SoundGate.

### Source excerpt

A new arXiv paper probes six widely used open-source agent frameworks and finds the barrier semantics of approval gates, cancellation, and timeouts hold on none of them. A sibling branch can execute while the user is rejecting another one, and replay can double-execute. The fix is a verified external gate called SoundGate.

## Error mitigation on Amazon Braket with program sets and Mitiq

DevFeed: [Error mitigation on Amazon Braket with program sets and Mitiq](<https://devfeed.tech/articles/error-mitigation-on-amazon-braket-with-program-sets-and-mitiq-50166.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/quantum-computing/error-mitigation-on-amazon-braket-with-program-sets-and-mitiq/>)

Author: Scott Smart

Published: 2026-03-23T19:50:02Z

Content type: tutorial

Language: en

Sources: [AWS Quantum Technologies Blog](<https://devfeed.tech/sources/aws-quantum-technologies-blog.md>)

Topics: [amazon](<https://devfeed.tech/topics/amazon.md>), [Library](<https://devfeed.tech/topics/library.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Repository](<https://devfeed.tech/topics/repository.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [execution](<https://devfeed.tech/topics/execution.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>)

Tags: [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-braket](<https://devfeed.tech/tags/amazon-braket.md>), [braket](<https://devfeed.tech/tags/braket.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [circuit](<https://devfeed.tech/tags/circuit.md>), [error](<https://devfeed.tech/tags/error.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [library](<https://devfeed.tech/tags/library.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [quantum](<https://devfeed.tech/tags/quantum.md>), [quantum-computing](<https://devfeed.tech/tags/quantum-computing.md>), [quantum-technologies](<https://devfeed.tech/tags/quantum-technologies.md>), [reduction](<https://devfeed.tech/tags/reduction.md>), [repository](<https://devfeed.tech/tags/repository.md>), [scaling](<https://devfeed.tech/tags/scaling.md>)

### AI overview

This tutorial explains how to use Amazon Braket program sets with the open-source Mitiq library to apply quantum error mitigation techniques. It describes how program sets support multiple circuit variations and presents a 30-qubit experiment that reduced error by more than 12 times while reducing task costs by 86 times.

### Source excerpt

To get the most out of today's noisy quantum computers, quantum computational experiments commonly utilize quantum error mitigation (QEM) techniques. These methods include discarding known noisy results (post selection), modifying underlying pulse sequences, amplifying noise within a quantum circuit, and many more. QEM does not offer fault tolerant or error-free means of computation but can [...]

## System Design : Calendar App

DevFeed: [System Design : Calendar App](<https://devfeed.tech/articles/system-design-calendar-app-42187.md>)

Original publisher: [Read original article](<https://shalinigoyal.substack.com/p/system-design-calendar-app>)

Author: Shalini Goyal

Published: 2026-01-15T12:33:36Z

Content type: article

Language: en

Sources: [Shalini Goyal](<https://devfeed.tech/sources/shalini-goyal.md>)

Topics: [App](<https://devfeed.tech/topics/app.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [Server](<https://devfeed.tech/topics/server.md>), [email](<https://devfeed.tech/topics/email.md>), [Users](<https://devfeed.tech/topics/users.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [availability](<https://devfeed.tech/tags/availability.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [design](<https://devfeed.tech/tags/design.md>), [email](<https://devfeed.tech/tags/email.md>), [latency](<https://devfeed.tech/tags/latency.md>), [redis](<https://devfeed.tech/tags/redis.md>), [scale](<https://devfeed.tech/tags/scale.md>), [server](<https://devfeed.tech/tags/server.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [storage](<https://devfeed.tech/tags/storage.md>), [system-design](<https://devfeed.tech/tags/system-design.md>), [time](<https://devfeed.tech/tags/time.md>), [ui](<https://devfeed.tech/tags/ui.md>), [user](<https://devfeed.tech/tags/user.md>)

### AI overview

A system design discussion for a calendar app covering event creation, modification, cancellation, recurring events, notifications, availability, consistency, and support for large user populations. It compares server-side expansion with Redis caching against client-side expansion using SQLite and offline support.

### Source excerpt

Functional Requirement

## Kotlin Coroutines Cancellation and Exception Handling

DevFeed: [Kotlin Coroutines Cancellation and Exception Handling](<https://devfeed.tech/articles/kotlin-coroutines-cancellation-and-exception-handling-38659.md>)

Original publisher: [Read original article](<https://krossovochkin.com/posts/2026_01_11_kotlin_coroutines_cancellation_and_exception_handling/>)

Published: 2026-01-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Vasya Drobushkov](<https://devfeed.tech/sources/vasya-drobushkov.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Exception handling](<https://devfeed.tech/topics/exception-handling.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>)

Tags: [cancellation](<https://devfeed.tech/tags/cancellation.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [exception-handling](<https://devfeed.tech/tags/exception-handling.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>)

### AI overview

This article explains why cancellation and exception handling in Kotlin coroutines are difficult, emphasizing that the concepts are distinct but coupled. It discusses the flexibility and hidden complexity of the coroutine API and introduces explanations and best practices for learning and using these mechanisms.

### Source excerpt

Cancellation and exception handling in coroutines is by far the most complex thing I've faced during my entire career. These two things are so complicated that I sometimes ask myself how people are using such a difficult-to-use framework. I read all the possible docs that I found, many different articles, video courses, and even tried to look at the code - and still, I feel that my understanding of this topic is quite bad. When reading articles, I often thought that their structure was not good and that things were not clarified in a reasonable way. Usually, articles are just a collection of examples that show how certain combinations of suspending functions or coroutine builders will work. Learning by examples is good, but they should help with understanding core concepts so that all other situations are easy to relate to what was learned.

## This Month in Julia World (November 2025)

DevFeed: [This Month in Julia World (November 2025)](<https://devfeed.tech/articles/this-month-in-julia-world-november-2025-46362.md>)

Original publisher: [Read original article](<https://julialang.org/blog/2025/12/this-month-in-julia-world/index.html>)

Author: Stefan Krastanov

Published: 2025-12-01T00:00:00Z

Content type: article

Language: en

Sources: [JuliaLang - The Julia programming language](<https://devfeed.tech/sources/julialang-the-julia-programming-language.md>)

Topics: [The Julia Language](<https://devfeed.tech/topics/julia.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [modules](<https://devfeed.tech/topics/modules.md>), [LLVM](<https://devfeed.tech/topics/llvm.md>), [SDK](<https://devfeed.tech/topics/sdk.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [community](<https://devfeed.tech/tags/community.md>), [github](<https://devfeed.tech/tags/github.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [modules](<https://devfeed.tech/tags/modules.md>), [newsletter](<https://devfeed.tech/tags/newsletter.md>), [python](<https://devfeed.tech/tags/python.md>), [release](<https://devfeed.tech/tags/release.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [rust](<https://devfeed.tech/tags/rust.md>)

### AI overview

A November 2025 Julia community newsletter covers recent language and compiler development, including dependency resolver preferences, a proposed per-module strict mode, explicit cancellation tokens, LLVM IR naming changes that improve determinism and caching, and documentation for an internal metaprogramming macro.

### Source excerpt

Community Newsletter for November 2025

## Temporal Ruby SDK Reaches General Availability with Rust Core and Deterministic Fiber Scheduler

DevFeed: [Temporal Ruby SDK Reaches General Availability with Rust Core and Deterministic Fiber Scheduler](<https://devfeed.tech/articles/temporal-ruby-crash-proof-fibers-36030.md>)

Original publisher: [Read original article](<https://temporal.io/blog/temporal-ruby-crash-proof-fibers>)

Author: Chad Retz

Published: 2025-10-16T00:00:00Z

Content type: article

Language: en

Sources: [Temporal](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Code](<https://devfeed.tech/topics/code.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [fiber](<https://devfeed.tech/tags/fiber.md>), [guardrails](<https://devfeed.tech/tags/guardrails.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [rust](<https://devfeed.tech/tags/rust.md>), [scheduler](<https://devfeed.tech/tags/scheduler.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

Temporal Ruby is now generally available, providing Ruby developers with a native-feeling SDK for building durable software and Workflows. The article introduces its programming model and demonstrates Activities, deterministic fibers, durable timers, cancellation, and updates, while also discussing the Rust-powered implementation and execution guardrails.

### Source excerpt

Temporal Ruby SDK is GA. Build durable Ruby Workflows with native APIs, a Rust-powered core, a deterministic fiber scheduler, and guardrails for safe execution.

## Apache Flink Kubernetes Operator 1.10.0 Release Announcement

DevFeed: [Apache Flink Kubernetes Operator 1.10.0 Release Announcement](<https://devfeed.tech/articles/apache-flink-kubernetes-operator-1-10-0-release-announcement-48496.md>)

Original publisher: [Read original article](<https://flink.apache.org/2024/10/25/apache-flink-kubernetes-operator-1.10.0-release-announcement/>)

Published: 2024-10-25T18:00:00Z

Content type: release

Language: en

Sources: [Apache Flink](<https://devfeed.tech/sources/apache-flink-stateful-computations-over-data-streams-on-apache-flink.md>)

Topics: [Apache Flink](<https://devfeed.tech/topics/apache-flink.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [apache-flink](<https://devfeed.tech/tags/apache-flink.md>), [api](<https://devfeed.tech/tags/api.md>), [availability](<https://devfeed.tech/tags/availability.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [deprecated](<https://devfeed.tech/tags/deprecated.md>), [flink](<https://devfeed.tech/tags/flink.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-operator](<https://devfeed.tech/tags/kubernetes-operator.md>), [optimize](<https://devfeed.tech/tags/optimize.md>), [release](<https://devfeed.tech/tags/release.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>), [snapshots](<https://devfeed.tech/tags/snapshots.md>), [state](<https://devfeed.tech/tags/state.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

### AI overview

Apache Flink Kubernetes Operator 1.10.0 introduces the FlinkStateSnapshot custom resource for managing job savepoints and checkpoints, improves upgrade handling for session jobs, and adds autoscaler improvements including delayed scale-down and better availability.

### Source excerpt

The Apache Flink community is excited to announce the release of Flink Kubernetes Operator 1.10.0! The release includes several improvements to the autoscaler, and introduces a new Kubernetes custom resource called FlinkStateSnapshot to manage job snapshots. The process of job upgrades has also been enhanced which makes it possible to now use the last-state upgrade mode with session jobs. We encourage you to download the release and share your experience with the community through the Flink mailing lists or JIRA!

## Job and children awaiting in Kotlin Coroutines

DevFeed: [Job and children awaiting in Kotlin Coroutines](<https://devfeed.tech/articles/job-and-children-awaiting-in-kotlin-coroutines-39237.md>)

Original publisher: [Read original article](<https://kt.academy/article/cc-job>)

Published: 2024-07-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Job](<https://devfeed.tech/topics/job.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Structured concurrency](<https://devfeed.tech/topics/structured-concurrency.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>)

Tags: [cancellation](<https://devfeed.tech/tags/cancellation.md>), [job](<https://devfeed.tech/tags/job.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [structured-concurrency](<https://devfeed.tech/tags/structured-concurrency.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial explains the Kotlin Coroutines Job context. It describes how each coroutine has its own Job, how parent-child Job relationships support structured concurrency, and how Jobs enable cancellation, completion waiting, and exception handling within a coroutine scope.

### Source excerpt

What Job is and how it is the most important context responsible for structured concurrency.

## Key advantages of Kotlin Coroutines

DevFeed: [Key advantages of Kotlin Coroutines](<https://devfeed.tech/articles/key-advantages-of-kotlin-coroutines-39257.md>)

Original publisher: [Read original article](<https://kt.academy/article/coroutines-advantages>)

Published: 2024-06-10T00:00:00Z

Content type: article

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Structured concurrency](<https://devfeed.tech/topics/structured-concurrency.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [async/await](<https://devfeed.tech/topics/async-await.md>), [Ktor](<https://devfeed.tech/topics/ktor.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Android](<https://devfeed.tech/topics/android.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>)

Tags: [cancellation](<https://devfeed.tech/tags/cancellation.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [http](<https://devfeed.tech/tags/http.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [ktor](<https://devfeed.tech/tags/ktor.md>), [structured-concurrency](<https://devfeed.tech/tags/structured-concurrency.md>), [testing](<https://devfeed.tech/tags/testing.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This article explains the main advantages of Kotlin Coroutines: simpler imperative-style asynchronous code, structured concurrency, lighter execution than threads, cancellation, synchronization, and precise virtual-time testing. It discusses applications in Android and backend development, including Ktor.

### Source excerpt

Where Kotlin Coroutines shine and why you should use them.

## Cancellation in Kotlin Coroutines

DevFeed: [Cancellation in Kotlin Coroutines](<https://devfeed.tech/articles/cancellation-in-kotlin-coroutines-39233.md>)

Original publisher: [Read original article](<https://kt.academy/article/cc-cancellation>)

Published: 2024-06-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Coroutines](<https://devfeed.tech/topics/coroutines.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [application](<https://devfeed.tech/tags/application.md>), [backend](<https://devfeed.tech/tags/backend.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [thread](<https://devfeed.tech/tags/thread.md>), [websockets](<https://devfeed.tech/tags/websockets.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

A tutorial on cancellation in Kotlin Coroutines, explaining how cancellation propagates through coroutine hierarchies, changes coroutine state, raises cancellation exceptions at suspension points, and helps release resources in Android and backend applications.

### Source excerpt

Everything you need to know about the cancellation mechanism in Kotlin Coroutines.

## Third edition of Kotlin Coroutines: Deep Dive released with expanded exercises and revised chapters

DevFeed: [Third edition of Kotlin Coroutines: Deep Dive released with expanded exercises and revised chapters](<https://devfeed.tech/articles/the-third-edition-of-kotlin-coroutines-deep-dive-book-is-finally-ready-39262.md>)

Original publisher: [Read original article](<https://kt.academy/article/coroutines-third-release>)

Published: 2024-05-20T00:00:00Z

Content type: release

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Exception handling](<https://devfeed.tech/topics/exception-handling.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>)

Tags: [book](<https://devfeed.tech/tags/book.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [deep](<https://devfeed.tech/tags/deep.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [release](<https://devfeed.tech/tags/release.md>), [testing](<https://devfeed.tech/tags/testing.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

The third edition of the Kotlin Coroutines: Deep Dive book has been released. It adds more than 40 exercises, expands and clarifies the chapters on cancellation and exception handling, revises material on coroutine lifecycles and suspension, and adds practical examples and synchronization coverage.

### Source excerpt

Learn about the new release of the famous book about Kotlin Coroutines.

## Inside React Query

DevFeed: [Inside React Query](<https://devfeed.tech/articles/inside-react-query-48196.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/inside-react-query>)

Published: 2022-12-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [state-management](<https://devfeed.tech/topics/state-management.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [retry](<https://devfeed.tech/topics/retry.md>), [async](<https://devfeed.tech/topics/async.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [cache](<https://devfeed.tech/tags/cache.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [react](<https://devfeed.tech/tags/react.md>), [retry](<https://devfeed.tech/tags/retry.md>), [state-management](<https://devfeed.tech/tags/state-management.md>)

### AI overview

An explanation of React Query's internal architecture, covering its client, React Context integration, in-memory cache, query objects, and mechanisms for retries, cancellation, and request de-duplication.

### Source excerpt

Taking a look under the hood of React Query

## 7 common mistakes you might be making when using Kotlin Coroutines

DevFeed: [7 common mistakes you might be making when using Kotlin Coroutines](<https://devfeed.tech/articles/7-common-mistakes-you-might-be-making-when-using-kotlin-coroutines-25414.md>)

Original publisher: [Read original article](<https://www.lukaslechner.com/7-common-mistakes-you-might-be-making-when-using-kotlin-coroutines/>)

Author: Lukas Lechner

Published: 2021-01-08T11:12:53Z

Content type: article

Language: en

Sources: [Lukas Lechner](<https://devfeed.tech/sources/lukas-lechner.md>)

Topics: [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>)

Tags: [allgemein](<https://devfeed.tech/tags/allgemein.md>), [allgemein-kotlin](<https://devfeed.tech/tags/allgemein-kotlin.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [mistakes](<https://devfeed.tech/tags/mistakes.md>)

### AI overview

The excerpt explains that passing a newly created Job to a coroutine builder can break structured concurrency: that Job becomes the coroutine's parent, disconnecting it from the scope's Job, so cancelling the scope may not cancel the coroutine. Use the Job returned by the builder as the handle for later cancellation. The excerpt introduces a second mistake involving installing SupervisorJob to limit exception propagation and sibling cancellation, but ends before explaining the incorrect setup or its solution.

### Source excerpt

In my opinion, Kotlin Coroutines really simplify the way we write asynchronous and concurrent code. However, I identified some common mistakes that many developers make when using Coroutines. This way, our Coroutine now is cancelled when the Scope is cancelled: The suspend functions in the Kotlin standard library (like e.g. `delay()`) are all cooperative regarding Read More The post 7 common mistakes you might be making when using Kotlin Coroutines first appeared on Lukas Lechner.

## Building advanced MVVM commands, Part 1

DevFeed: [Building advanced MVVM commands, Part 1](<https://devfeed.tech/articles/building-advanced-mvvm-commands-part-1-38403.md>)

Original publisher: [Read original article](<https://khmylov.com/2010/11/building-advanced-mvvm-commands-part-1/>)

Author: Andrew Khmylov

Published: 2010-11-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Despite the odds](<https://devfeed.tech/sources/despite-the-odds.md>)

Topics: [MVVM](<https://devfeed.tech/topics/mvvm.md>), [WPF](<https://devfeed.tech/topics/wpf.md>), [async](<https://devfeed.tech/topics/async.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [exception-handling](<https://devfeed.tech/tags/exception-handling.md>), [mvvm](<https://devfeed.tech/tags/mvvm.md>), [thread](<https://devfeed.tech/tags/thread.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

This tutorial presents an advanced DelegateCommand implementation for WPF and Silverlight applications using the MVVM pattern. It covers asynchronous execution, command states, cancellation, progress tracking, exception handling, UI updates through Dispatcher, and helper support for property-change notifications.

### Source excerpt

If you follow the MVVM pattern while developing your WPF/Silverlight applications, then you are probably familiar with DelegateCommand (or RelayCommand, as it is called sometimes) model. In brief: it is an implementation of WPF/Silverlight ICommand that allows you to specify what the command should do by passing some delegate that performs execution logic (instead of using CommandBindings). Pretty simple, but powerful pattern. Dealing with MVVM a lot, I've build my own implementation of this pattern that lets you simplify its usage. Here are some common features, that you have to handle on your own by using classic DelegateCommand: Support for asynchronous execution (usually solved by generating additional code in ViewModel that handles async calls and free/busy indicator). Different command states (Free/Busy/Failed with exception) + UI reactions for those states. Support for execution cancellation and progress tracking (required for asynchronous commands) Before we start, I offer you to imagine a common command execution timeline. In my opinion it looks like: Initialize some data (generally, UI settings - clear collections, set some indicators,...) Perform main execution logic (can be synchronous or asynchronous) Perform some actions after execution (update UI based on execution result) And don't forget about exception handling and correct cross-thread calls for asynchronous commands (all UI changes have to be performed through Dispatcher). Let's start with a little helper class, that I called PropertyChangedNotifier. It's just a wrapper around IPropertyChangedNotifier that has OnPropertyChanged(string propertyName) method. This method raises underlying IPropertyChangedNotifier.PropertyChanged event. Also this class has VerifyPropertyName method that verifies if specified string corresponds to the actual property (this method is marked with [Conditional("DEBUG")] attribute and is only used while debugging your applications to find out possible bugs with invalid prope