<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ivan Donchenko on Medium]]></title>
        <description><![CDATA[Stories by Ivan Donchenko on Medium]]></description>
        <link>https://medium.com/@dongauser?source=rss-d91e89955b79------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kYRsoKtwbfoRo2Xqqjmf3g.jpeg</url>
            <title>Stories by Ivan Donchenko on Medium</title>
            <link>https://medium.com/@dongauser?source=rss-d91e89955b79------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:57:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dongauser/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Big Story of a Tiny BPMN]]></title>
            <link>https://dongauser.medium.com/the-big-story-of-a-tiny-bpmn-afa1cc0d5cb7?source=rss-d91e89955b79------2</link>
            <guid isPermaLink="false">https://medium.com/p/afa1cc0d5cb7</guid>
            <category><![CDATA[process-automation]]></category>
            <category><![CDATA[camunda]]></category>
            <category><![CDATA[bpmn]]></category>
            <category><![CDATA[camunda8]]></category>
            <category><![CDATA[kafka]]></category>
            <dc:creator><![CDATA[Ivan Donchenko]]></dc:creator>
            <pubDate>Sat, 29 Aug 2026 15:55:34 GMT</pubDate>
            <atom:updated>2026-08-29T16:06:06.286Z</atom:updated>
            <content:encoded><![CDATA[<p>Our hero in today’s little tale is a modest and, at first glance, quite unremarkable dispatcher[¹]. In our day and age, such men are increasingly referred to as “routers”; and so I trust the reader will forgive me for employing both terms. Our dispatcher has taken up residence at the very top of the process catalogue in the Camunda cluster of a travel and hospitality service. His sole duty for the entire length of a shift is to sort through the incoming correspondence and forward it to the appropriate handlers: not a particularly arduous occupation, to be sure, but one of considerable monotony. There is little to distinguish him at first sight: neat, well-documented, and laconic to the point of pedantry. Indeed, one might think there was hardly anything in him that could possibly go wrong. But see for yourself[²]:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hedA4BYz78OAoIokew7xJw.png" /><figcaption>Protagonist</figcaption></figure><p><em>Here, surely, the attentive reader might already have noticed, despite my decidedly unflattering description, one peculiarity — a curiosity, if you will — of our process: it appears to stand perfectly still. And this, my dear reader, is quite by design; indeed, this is precisely how it goes about fulfilling its purpose. And though some might say that a process of such simplicity could be put together over a lunch break, while sipping an oat-milk latte on a café terrace, there is, as it happens, rather more to this simple and, in some respects, almost absurd little construction than meets the eye — and quite a story to tell you about it.</em></p><h3>How the Router Works</h3><p>The entire logic can be summed up in a single sentence: pick up the user requests (tickets) that first-line support has published to a Kafka topic, read the request type field, and hand each ticket off to the process that handles that particular type.</p><h4>“All by myself”</h4><p>The most important thing to know about our hero is that he is a solitary creature: at any given moment only one process instance is running. When his shift is over, the router sends a signal to his successor, who steps in to relieve him. Should something go wrong — or when the system is being started for the first time — the operator can always launch the router manually.</p><p>The newly arrived instance, however, has one thing to do before anything else: it sends a signal to all of its fellow workers, telling them to finish what they are doing. Under normal circumstances, this is little more than a precaution. But it guarantees that no parallel instances are left running — if, say, an operator has started a second one by hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*uGwjc-m9AwH7JSTxQZJMNw.png" /><figcaption>Shift handover</figcaption></figure><p>The whole contraption relies on the strict ordering of events in BPMN: the kill signal is broadcast <strong>before</strong> the emitting instance itself reaches the point where it subscribes to that signal. Camunda does not buffer signals — only subscriptions that are already open at the moment of broadcast receive them, so there’s no need for an “am I about to kill myself?” check.</p><h4>“Sit and Listen”</h4><p>Once he has made sure there is no one left around, the router lands at the process’s main workstation, which happens to be a <em>user task</em> (a BPMN element intended for human execution). The whole central structure of the process reads rather plainly as “sit still and listen.”</p><p>You’d think the last thing we want a router to do is to hand tasks out to people, and the last thing we want from people is for them to interfere with the process. Yet that is precisely where one of our hero’s less obvious tricks lies. The design of the diagram actually relies on the user task not being completed under normal circumstances — the “sit still” part — while at the same time giving a human somewhere to intervene if things go off script.</p><p>Still, the task’s primary, perfectly respectable purpose is to serve as a landing pad for boundary events that take the router off duty. As for the “and listen” part, that is handled by a <em>non-interrupting message event subprocess</em>. As intimidating as the name may sound, it is in fact the textbook, canonical way to model the idea of “handle multiple events throughout a given time window.”</p><h4>One Window and Three Doors</h4><p>An <strong>interrupting</strong> event (solid line) effectively reroutes the process: it kills the current flow and starts its own. A <strong>non-interrupting</strong> event (dashed line), by contrast, leaves the main work alone — it sits in the background and, while active, catches every message addressed to it, spawning a separate parallel flow for each one.</p><p>Both types have a part to play in our router, but they live in different places. Two interrupting events are attached to the boundary of the user task — a timer and an emergency signal. Together with the manual “execution” of the task itself, they form the router’s “three doors” out. And the one “listening” on the router’s behalf is the non-interrupting start event of the event sub-process. It stays subscribed to Kafka for the entire lifetime of the instance, spinning up its own sub-process flow for every incoming message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QMZ0X9xV7vVLWiS2TKLVcA.png" /><figcaption>Landing pad</figcaption></figure><p>Thanks to the non-terminating Kafka connector, our router effectively works as a centralized collector. Routing the message it receives is trivial: it boils down to an <em>else-if</em> gateway with a default route to the garbage collector, which protects us from executions getting stuck.</p><p>The router’s shift can end in one of three ways:</p><ol><li>Normal mode — timer. The instance TTL is baked into the process definition, but it can be overridden when the process is started manually. In our case, a 24-hour watch proved to be the optimal arrangement.</li><li>Manual mode — the main execution flow. The operator “completes” the assigned “Manual stop” task.</li><li>Protective mode — a signal from another running instance. If an operator starts a second instance manually, we can at least kill the one currently on duty.</li></ol><p>Note that in the last case the process simply terminates (the so-called <em>none end event</em>): we were stopped by another active process, so there is no one to hand the shift over to. Manual and normal termination start a new instance, by default. A none end event is possible in these cases only if the operator explicitly configured that behavior in advance. Otherwise, we would be left with no running routers at all — and there would be nobody left to process the messages.</p><h3>In and Out</h3><p>The shape of any process is dictated by the requirements of the environment in which it runs:</p><ol><li><strong>All user tickets are published to a shared Kafka topic</strong> — someone has to distribute them.</li><li><strong>Cost-per-instance</strong> — every instance that does no actual business work is overhead, and that overhead costs money.</li><li><strong>The ticket handlers run for hours or even weeks</strong> — each one must be an independently observable instance.</li><li><strong>The router must be operable</strong> — human intervention should be part of normal operation, without a redeploy.</li><li><strong>Peak load of 10 RPS</strong> — this lets us accept constraints and not chase excessive scaling.</li></ol><p>For a component whose only job is integration, the design comes down to two questions: how to catch the message on the way <strong>in</strong>, and how to pass it on the way <strong>out</strong>.</p><h4>How to Capture a Message</h4><p>Manual start aside, there are three fundamentally different ways to implement it:</p><ol><li><strong>Without a router</strong></li><li><strong>A long-lived router</strong></li><li><strong>A short-lived router</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zSQ5vSmXkzHa7jJK09sDzA.png" /></figure><p><strong>Routing Without a Router</strong></p><p>Camunda allows you to make the Kafka connector a start event of the whole process and filter messages using an activation condition. Each handler knows which tickets belong to it, so no router is needed at all! Cool, right?</p><p>The catch is that filtering only works if every handler sees every message. So, instead of the router having a single consumer group, we need a separate consumer group for each handler. N handlers mean N reads of the topic, turning O(M) into O(N × M). And every single message has to be deserialized and evaluated with FEEL[³] only to let a small fraction of the stream through to actual processing.</p><p>On top of all that, without a single arbiter, the routing logic gets scattered across the handlers, with nothing to prevent conditions from overlapping or leaving gaps between them: some messages are processed more than once, while others simply vanish into thin air.</p><p><strong>The Singleton Router</strong></p><p>A singleton is not exactly a common BPM pattern. Camunda 8 has no mutual-exclusion mechanism[⁴], so there is no way to ask from inside the process “is there already an instance of this thing running?” The “only one router at a time” invariant can only be enforced by the router’s own structure. And the only local tool we have at our disposal for that is a signal — a BPMN element that is a perfect fit for <strong>fire-and-forget</strong>.</p><p>And this isn’t a stand-in for the missing lock — it’s better than a lock. A lock held by a dead router would require a lease and an expiry before anyone else could take over. Here, there is neither a holder nor anything to release. By design, the newest instance wins — which is exactly the right policy for a stateless component.</p><p><strong>So why bother recreating the instance periodically in the first place?</strong> Why not just chain the dispatcher to his desk and make him work forever?</p><p>A forever-running process instance is both a burden and a liability. For one thing, it is tied to a specific version of its process definition. When the definition changes and is redeployed, existing instances do not automatically pick up the update. You have to migrate them explicitly, including manually mapping the flow nodes — not a pleasant procedure. For another, every message it processes creates its own sub-process with its own variables. Over time, this bloats the instance’s execution log and makes debugging and analysis considerably more cumbersome.</p><p>Regular restarts effectively reset all that accumulated baggage; completed processes are moved to the archive by the engine. And when something goes wrong locally, the handover doubles as a self-healing mechanism. All we need is to provide a safe handover window. To do that, we configure a Message TTL on the Kafka connector — the amount of time a message is buffered in Camunda while waiting to be correlated with an instance.</p><p><strong>Router-per-message</strong></p><p>But what’s the point of all this singleton gymnastics if we can simply start the router from a Kafka connector for every message?</p><p>This is where Camunda’s economics and licensing policy come into play. The <strong>Root Process Instance</strong> billing metric charges a penny for every root process instance started. With this approach processing each message would require two instances: the router and the handler — effectively doubling the cost of the solution.</p><p>And it’s not just the bill that doubles. So does the number of records written to the database. Monitoring dashboards get flooded with identical micro-instances that live for a fraction of a second.</p><p><em>Billing notes:</em></p><ul><li>Double billing can be avoided in the router-per-message approach by using a Call Activity, which we’ll discuss later, so this argument is not entirely decisive.</li><li>The cost of a singleton depends not only on the handover TTL, which controls how frequently new instances are created, but also on the user task configuration, which may introduce another billing metric: <em>Task User</em>.</li></ul><h4>How to Pass the Message On</h4><p>We have four ways to organize the delegation of logic:</p><ol><li><strong>Sub-process.</strong> Not a separate process; it is nested inside the parent. Think of it more as the BPMN equivalent of a code block, such as a <em>for loop</em>.</li><li><strong>Call activity.</strong> The obvious first choice here — the BPMN equivalent of a method call.</li><li><strong>Signal Event.</strong> Our dispatcher’s weapon of choice — and the most versatile option.</li><li><strong>Message Event.</strong> Resilience, scalability, availability, 10,000+ RPS, high load, Kubernetes — if this is your context, this is your choice.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n8zLLLqGO7IUJ11XEc0NYg.png" /><figcaption>Delegation options</figcaption></figure><p><strong>Sub-process. A Side Gig for the Dispatcher</strong></p><p>Strictly speaking, this is neither delegation nor invocation, but merely a nested scope within the very same process. Execution, logs, monitoring — everything remains in a single instance. A sub-process might make sense in the router as a sort of garbage collector, but there is no place here for any serious data-processing logic. The router and the handlers have completely different responsibility boundaries: each has its own owner, lifecycle, and business role.</p><p><em>Handling correspondence himself is plainly too much for our dispatcher. There is responsibility enough in it, and he is hardly a gentleman of sufficient standing to take such matters upon himself. So he merely passes each letter along to those whose station it is to deal with such things. Even the letters that, by all appearances, deserve nothing better than to be thrown away he sends off in a separate bundle; there, for reasons best known to the office, they are duly registered and kept in store, should they ever be wanted. But if the only business were to take them to the wastebasket, surely there would be no disgrace in letting the dispatcher see to it himself. An errand of that sort he might well discharge himself, and there an end.</em></p><p><strong>Call Activity. Savings at a High Price</strong></p><p>The billing metric mentioned above states: “a root process instance has no parent process instance.” Process instances created through a Call Activity (CA from here on) are considered child instances in Camunda and are linked to the process that invoked them. As a result, this routing option is cheaper: invoking handlers costs nothing. What is more, from a developer’s point of view, it is simpler, more obvious, and more familiar. So let us take it apart, one thing at a time.</p><p><strong><em>Semantics</em></strong></p><p>Semantically, CA says: “The parent process needs your computational logic to get its work done. Take the parameters I give you, suspend my execution, and give me the result when you are finished.”</p><p>The router needs none of this. Its business is concluded the moment the message is sent; whatever happens to it afterwards, and whatever result may eventually come back, is of no concern to the router.</p><p>A synchronous call in an asynchronous scenario is the fundamental mistake in this approach. Everything else follows from it.</p><blockquote><strong>Call Activities — handy shortcuts only within the boundary (Ruecker, Practical Process Automation)</strong></blockquote><p>The point about the boundary applies to CA just as much as it does to sub-processes. The difference is that developers usually understand the latter intuitively, whereas Call Activities are often used without giving much thought to where the boundary actually lies. Camunda’s <a href="https://camunda.com/bpmn/reference/#activities-call-activity">BPMN guide</a> effectively puts Call Activity on the same footing as a sub-process, describing its primary use cases in terms of modularization and reuse. A Call Activity is not something you reach for simply because two processes need to be connected. <strong>You use it when a subprocess has grown too large to remain embedded — or when that same piece of process logic has become useful elsewhere.</strong></p><p><strong><em>Scaling</em></strong></p><p>The habit of using synchronous calls everywhere in BPMN dates back to the days when BPM engines were, by and large, monoliths. Camunda 8 is a Kubernetes-native distributed cluster engine with three levels of scalability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EknbjvIsbLd8h9h3kf49CA.png" /><figcaption>Three levels of scaling</figcaption></figure><p>Process instances live on partitions and are executed by their leader broker. The whole point of a fault-tolerant setup is that the work fans out across partitions; a design that quietly pins everything to one broker leaves most of the cluster to twiddle its thumbs.</p><p>As discussed above, CA couples the execution flow of a process: the entire runtime remains on a single partition of a single broker. All that expensive, painstakingly engineered infrastructure your DevOps team built is sitting there wasting resources.</p><p><strong><em>Error Handling</em></strong></p><p>The most obvious practical drawback of Call Activity for a BPMN developer is error tracing. Much like an exception in code, which travels up the call stack until something handles it, a BPMN error propagates up through the scopes until it reaches a suitable <em>error catch event</em>; across a Call Activity boundary, it can be caught by the parent process. But if no handler is ever found, the incident settles on the element that threw it — inside the child instance. In the Operate tree, however, it lights up the entire chain of parents all the way to the root.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1FCAG2342Xw5noLyePkc6g.png" /><figcaption>A leaked incident</figcaption></figure><p><em>A clerk at the Treasury, in some haste, had drafted an answer quite unsuited to the occasion. Yet it was the dispatcher who paid the price: a week’s wages, no less, were withheld from him, while the poor fellow had not the slightest notion what the troublesome letter had even been about. And he raised no objection. He simply kept silent.</em></p><p><strong><em>Observability and a Bloated Runtime</em></strong></p><p>An obvious consequence of CA’s synchronous nature is that the router lives for exactly as long as the handler does. And, let me remind you, handlers can run on a timescale of days! In a process monitoring dashboard, an administrator might therefore see something like:</p><ul><li><em>Active incidents — 1,594</em></li><li><em>Active booking inquiries — 933</em></li><li><em>Active routers — 2,675</em></li></ul><p>That last number tells us nothing about the router’s health. The key process metric — “in progress”/“completed”/“failed” — simply does not apply to it. Instead of having the usual traffic-light indicators do the thinking for us, we are forced to keep the behavioral peculiarities of each process in our heads.</p><p>But a process instance stuck in <em>in progress</em> is a far nastier thing than a few misleading metrics. Every serious BPM engine keeps the living and the dead apart: in Camunda 7 and Flowable the line runs between two families of tables (<em>ACT_RU_ </em>for the quick, <em>ACT_HI_</em> for the departed). Camunda 8 goes further still — runtime sits in RocksDB on the partition leader, while history is shipped off to secondary storage (Elasticsearch/OpenSearch, and, since 8.9, PostgreSQL too). Let the runtime side quietly pile up corpses and you pay for it twice: in performance, and in the cost of replicating all that dead weight.</p><p><strong><em>Zombie Apocalypse</em></strong></p><p>If we happen to have a project manager reading this rather than a developer, architect, or admin, they have probably skimmed over most of the technical stuff. But two things, surely, have stuck:</p><ol><li>A singleton router lets you pay just once for all the routing done in a day.</li><li>CA lets you avoid paying for instances of the handlers it invokes.</li></ol><p>There it is: a perfectly legal hack of the licensing agreement! That is where the rainbow ends! Overcome by the sheer brilliance of the idea, already rubbing his hands in anticipation of a handsome bonus, our project manager rushes to the analysts and feverishly sketches on the whiteboard a portrait of our long-lived router, now festooned with Call Activities.</p><p><strong>Remember that every Kafka message creates a parallel execution path in the router?</strong> A path that normally lives for a fraction of a second, just long enough to propagate a signal. Now, however, <strong>each and every one</strong> of those child executions may sit there for hours or days. These lingering child executions keep the instance from completing; the subscription remains open, so even a “stopped” router keeps consuming the topic and spawning new child executions.</p><p>At the end of his shift, the dispatcher rises from his desk, yields it to his successor, and makes his way towards the door. Yet leave the office he cannot: not until the last letter he sent to the central office has been answered.</p><p>The admin again sees a multitude of active routers in the dashboard. Only now, just one of them is actually sitting at its desk, while the others wander around the office, every now and then snatching a letter from the pile. And finding the one living soul in a crowd of zombies is hardly a trivial task.</p><p><strong>Signal. Vendor Betrayal</strong></p><p>Defending a decision is always easier once you’ve already laid out the shortcomings of the alternatives, so let’s briefly recap everything discussed above.</p><ul><li><strong>Familiarity:</strong> no — for many developers, asynchronous communication in BPMN feels like giving up control</li><li><strong>Semantics:</strong> yes — fire-and-forget is a perfect description of what the router does</li><li><strong>Boundary:</strong> yes — loose coupling is preserved</li><li><strong>Isolation:</strong> complete — errors, state, and runtime all live inside their respective executable components</li></ul><p>When it came to scaling, I couldn’t find an answer in the official documentation. In fact, even the claim made above — that both instances of a Call Activity end up on the same partition — was something I inferred from the general recommendations in the <a href="https://camunda.com/blog/2025/01/performance-tuning-camunda-8/">Camunda blog</a>.</p><p>Finding out how signal balancing actually works required a little investigation of its own. Along the way, I discovered a <a href="https://github.com/camunda/camunda/issues/41576">bug</a> that caused processes to be started on every single partition. The regression somehow made its way into a patch release and then into the next minor release. Just think about that for a moment: the implementation details of the engine can have a very real effect on how your process actually executes.</p><p>The bug was, of course, fixed fairly quickly, and Camunda cheerfully announced that “signals now create an instance on only one partition.” But which one? There was still no answer.</p><p>The RTFM approach having failed us, we roll up our sleeves, spin up a cluster, and investigate the matter ourselves…</p><p>Alas and alack, the scaling round ends in a draw with CA. Despite the signal being broadcast to all partitions, the instance can only be created on the partition from which the signal was sent.</p><p>So, no victory for signal here — but no defeat either. And that is perfectly fine: the “all handlers on a single partition” limitation is not a showstopper for our scenario. The stated load of up to 10 RPS is comfortably handled without sharding.</p><p>Signal still wins the match overall. It just doesn’t get the knockout I was hoping for in the scaling round.</p><p><strong>Messages. A Paperweight of Pure Gold</strong></p><p><em>An old schoolfellow, who had risen through the ranks to Superintendent of the Central Exchange, paid a visit to the dispatcher’s little room. With a proud wink, he deftly produced a gleaming, highly polished block from his inner pocket and brought it down on the desk with an emphatic thud before the stunned clerk. “Why, with this, you could stamp out a thousand letters a day!” — “And where, pray, would you find a thousand of them, my dear fellow? Try lifting it, there — you’ll strain yourself!” He snatched the paperweight away just as the dispatcher reached for it and, still sniggering, made his exit.</em></p><p><em>Message event</em> in Camunda provides full-fledged event-driven communication, with all the advantages of a signal, plus scaling for good measure. Messages are load-balanced by the hash of their correlation key. The price for that is the need for an external transport.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oSj4Sf85HJvmXhD28ghH1A.png" /><figcaption>Camunda 8 message transport</figcaption></figure><p>Under the hood, sending a message creates a task for an <strong>external</strong> worker: handling this kind of communication entirely inside the broker is architecturally impossible.</p><p><em>Camunda balances work at the Gateway level: to distribute the load, you have to step outside the broker.</em></p><p>As mentioned above, our router gets by just fine with signals to invoke its handlers. But it also has a message receiver: the Kafka Connector is nothing other than a message start event configured to work with an auxiliary component of the Camunda cluster — Connector Runtime, which already provides a ready-made Kafka consumer and a message publisher.</p><h3>The Latte Went Cold</h3><p>Next to truly “industrial-grade” BPMN processes, our router is a tiny thing, granted. However, this little process represents countless hours and a great deal of work. Consumer-group semantics, billing metrics, load-balancing algorithms… all that effort just to place this little “circle” next to that little “square” in the best possible way. A BPMN diagram does not describe the entire program. Half of its meaning lives in the engine’s semantics, the version it runs, and the topology of the cluster — and none of that will fit on the canvas.</p><p><em>Praise the dispatcher seldom heard; yet neither had a reprimand been laid at his door these many months. Few ever looked in upon him — and why should they, when all was forever done, and done in good time? Every pen had its place, every nib kept clean and freshly cut, the desk wiped free of dust. So one shift gave way to the next, and the dispatcher to his successor.</em></p><p>[¹]: the term “dispatcher” in this article was chosen for artistic reasons; the author is aware that the described mechanism does not implement the “Dispatcher” pattern.<br>[²]: the sources are available on <a href="https://github.com/moarster/camunda-playground">GitHub</a>.<br>[³]: FEEL — the expression language from the DMN standard used by Camunda<br>[⁴]: starting with version 8.9, which introduced the <strong>Business ID</strong>, this statement is no longer accurate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afa1cc0d5cb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No Country for Old Men]]></title>
            <link>https://dongauser.medium.com/no-country-for-old-men-94b2aa465d94?source=rss-d91e89955b79------2</link>
            <guid isPermaLink="false">https://medium.com/p/94b2aa465d94</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[team-management]]></category>
            <category><![CDATA[aging]]></category>
            <category><![CDATA[ageism-in-tech]]></category>
            <category><![CDATA[personal-growth]]></category>
            <dc:creator><![CDATA[Ivan Donchenko]]></dc:creator>
            <pubDate>Thu, 25 Jun 2026 13:29:39 GMT</pubDate>
            <atom:updated>2026-06-25T13:56:07.073Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Originally published on <a href="https://ivandonchenko.ru/en/blog/no-country-for-old-men">ivandonchenko.ru</a></blockquote><p>Hundreds, perhaps thousands, of books have been written on the art of managing people, yet none of them will prepare you for what you, personally, will face. None can account for every possible combination of circumstances, characters, and your own psyche.</p><p>There was one episode in my career — an instructive one, I think — that I’d like to share.</p><h3>Prologue</h3><p>It’s 2014. I’m 27, working at IT-Energy Service (Moscow) — the successor to the Main Computing Center of the Energy Sector, founded all the way back in 1968, which makes it one of the <strong>oldest</strong> IT companies in Russia.</p><p>When a new phase began on one of the company’s key projects, I was promoted from team lead to head of the unit — and found myself in a situation I wasn’t ready for.</p><p>The previous version of the System — the one our new second release was meant to replace — was essentially a set of Excel files automated with macros. It was maintained by a department we called the <em>Old Guard</em>. Most of them were programmers who had been with the company since Soviet times. The <em>youngest</em> of them was already in his forties. We used to joke: “They cut their teeth on punch cards!”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*O0W3jNz9nrtstgitUW8odA.jpeg" /></figure><h3>Part One: The Merger</h3><p>The System’s second release was built over the course of 2015, in parallel with ongoing support for the first. Our team had worked alongside the Old Guard on other projects before, but the new system demanded ever greater <em>cohesion</em>. We even changed offices so we could all share a single open space.</p><p>The final flourish of the merger was management’s decision to fold the old team into my unit — which doubled my headcount in an instant (not counting a subcontractor team of comparable size).</p><p>At first, everything went well: we regularly consulted the veterans on methodology and saw with our own eyes how user support actually worked and which problems worried the client most. But the closer the new System’s launch crept, the more obvious the inevitable became to everyone:</p><blockquote>No country for old men</blockquote><p>Each of us met that inevitability in his own way. The head of the Old Guard — a strong-willed woman who had weathered plenty — understood that her whole team would have to adapt, and she stepped into the new work early, without being asked. I, on the other hand, with my still-boyish arrogance and short-sightedness, had neither her experience nor her wisdom. To me there was only one way it could end: ride out the transition and “trim” the staff of needless “expenses.”</p><p>Luckily, an unofficial directive came down from above: <em>after the switch to the second release, keep as many people in their jobs as possible.</em> Back then that meant only one thing to me — dead weight! And an expensive one at that. The scoundrel inside me, eyeing salaries swollen by decades of seniority, didn’t just frantically watch the money going down the drain — he seethed with a petty, black-hearted envy.</p><h3>Part Two: The Transformation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*77rYWVBZYbW0SLEJpmYn9w.jpeg" /><figcaption>The Garden of Earthly Delights</figcaption></figure><p>Migrating from one system to the other was like a Bosch painting come to life. No small feat: hundreds of energy companies from across the country, two state corporations on the client’s side, and the Ministry of Energy itself, which demanded consolidated reports on time — no matter how tangled the gathering and preparation of the underlying data might be.</p><p>Adding fuel to the fire, the first-line support operators worked in the same room, shoulder to shoulder with my team, so every new call rang out like a shrill wail inside each of us.</p><p>Credit where it’s due — over those months the users passed through all the stages of grief:</p><ul><li><strong>denial</strong>: they refused the new system and begged for the old one back</li><li><strong>anger</strong>: they rained down tons of curses</li><li><strong>bargaining</strong>: they pleaded with us to fix the system’s mangled data <em>by hand</em></li><li><strong>depression</strong>: they waited in silence for the bug-fix</li><li><strong>acceptance</strong>: at last they made peace with an imperfect world</li><li><strong>meaning</strong>: some even wrote us poems</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TstOf9b489xog1cnhD5BZQ.jpeg" /><figcaption><a href="https://www.ekrfoundation.org/5-stages-of-grief/change-curve/">Kübler-Ross Change Curve</a></figcaption></figure><p>In those first months it was all hands on deck — <em>everyone did everything</em>. But once the system stabilized, I had to work out how to keep busy the people who had spent years building Excel forms in VBA.</p><p>The first to be <em>reassigned</em> was a woman who had previously built analytical reports. The new system used SAP BusinessObjects for that. At first she handled the cosmetics — layout, text formatting, charts. Once she’d found her footing in the tool, she began configuring business logic, and within a few months we could hand her the design of the multidimensional analytics with our eyes closed.</p><p>Those with database experience likewise started with small, surgical fixes and, over time, took on ever more complex work — right up to database-level automation: writing stored procedures, triggers, optimizing queries.</p><p>But the one who surprised me most was the most venerable of them all, already in her seventies (she’d punched cards for real). <strong>Lydia Nikitishna</strong> was the model Soviet office worker: punctual, warm, endlessly friendly, at times — it seemed — almost naive. And yet, despite her age, she dressed with surprising flair. Pumps in every style, often on a formidable heel, sat as if poured onto a pair of slim, youthful legs their owner was clearly proud of. No wonder she favored rather daring skirts that barely covered the knee. Come summer, the season of downright frivolous sundresses would arrive. Her makeup was always understated and technically flawless, her hair fresh from the salon. No one could ever have brought themselves to call her <em>grandma</em>.</p><p>Driven by my own prejudices, I put off any attempt to fit her into the new environment until the very last moment, bracing myself inwardly for a hard decision. What cut deepest was that Lydia Nikitishna was an extraordinarily luminous person, somehow able to deflect any negativity that came her way. Which made it all the more shameful to catch myself still filing her, in my head, as a line item in a budget.</p><p>As luck would have it, the subcontractors maintaining the part of the system written in APEX walked off the project, and we had to cover that ground ourselves. The company had deep Oracle experience, but no one had ever done an APEX project, so I decided to give it a shot. And, <em>boy oh boy</em>, I could never have imagined how well it would go. Lydia Nikitishna threw herself into mastering a brand-new field with a tenacity that would have shamed many a younger engineer, and within a single month we’d forgotten there had ever been trouble there — she was tearing through the incoming tickets like they were nothing!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*QNfjgCPukxjEhe7GFWO-qg.png" /></figure><p>People I had already written off in my head sat down at unfamiliar tools with an appetite I’d never have guessed they had — digging in, asking questions, never too proud to start from the very basics. My own role came down to little: to be there, to nudge, to point the way, so that they never felt abandoned along it. Everything else they did themselves.</p><h3>Part Three: Enlightenment</h3><p>That first year of supporting the new system gave us all an experience like no other. For a while the two teams eyed each other warily: the youngsters, myself included, couldn’t see what use these <em>dinosaurs</em> could possibly be; the veterans bristled that some <em>punks</em> were teaching them to suck eggs. But by autumn we had become one tight-knit team, where everyone understood and respected what their colleagues brought to the table. With undisguised joy I watched yesterday’s students working side by side with people who had started out on machines the size of a room — a picture that, not long before, had seemed impossible to me.</p><h3>Epilogue</h3><p>Out of the entire Old Guard, we had to see only a single employee off into retirement — one who wanted neither to take on new tasks nor to tear himself away from videos on a certain, ahem, …hub during working hours.</p><p>For me personally, the most important thing this story left me with was the realization of a simple truth: <strong>we are alive as long as we are needed.</strong></p><blockquote>There is no better remedy against aging than the feeling of being wanted.</blockquote><p>And today that truth rings even louder than it did ten years ago. Back then you really could say that <em>IT is a young person’s game.</em> But in the age of neural networks, accumulated experience — and that very wisdom of someone who has seen it all — counts for far more than virtuoso command of the latest framework or sheer speed at the keyboard.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94b2aa465d94" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>