<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Distributed Systems on Euijun's Personal Blog</title><link>https://elbanic.github.io/tags/distributed-systems/</link><description>Recent content in Distributed Systems on Euijun's Personal Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 15 Jun 2026 20:00:00 +0900</lastBuildDate><atom:link href="https://elbanic.github.io/tags/distributed-systems/index.xml" rel="self" type="application/rss+xml"/><item><title>「Agentic AI Dev Note」 Observing Agent Quality with Evaluation</title><link>https://elbanic.github.io/posts/observing-agent-quality-with-evaluation/</link><pubDate>Mon, 15 Jun 2026 20:00:00 +0900</pubDate><guid>https://elbanic.github.io/posts/observing-agent-quality-with-evaluation/</guid><description>&lt;p&gt;Across &lt;a href="https://elbanic.github.io/posts/develop-and-operating-agents-in-a-distributed-environment/"&gt;Part 1&lt;/a&gt; and &lt;a href="https://elbanic.github.io/posts/managing-agent-memory-in-a-distributed-systems/"&gt;Part 2&lt;/a&gt; of this 「Agentic AI Dev Note」 series, we made our agent operable in the cloud. Now it&amp;rsquo;s time to check whether that agent actually behaves the way we expect. There are three ways to measure an agent&amp;rsquo;s quality.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Code quality&lt;/strong&gt;: Most of it can be verified with unit/integration/e2e tests. The same input produces exactly the same output, so it can be verified precisely.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;System quality&lt;/strong&gt;: Measured through runtime error rates, latency, dependency failures, and the like, via alarms and monitoring. Canary tests can monitor system quality too.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;LLM response quality&lt;/strong&gt;: Measures whether the LLM produced the expected answer to the user&amp;rsquo;s input.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But how do you guarantee the response quality of a non-deterministic LLM, where the same input can yield a different output every time? For the first two, the same input gives the same output, so you can &lt;em&gt;prove&lt;/em&gt; it is &amp;ldquo;correct.&amp;rdquo; LLM responses, however, cannot be proven. And if you can&amp;rsquo;t prove it, the only option left is to &lt;em&gt;observe&lt;/em&gt; it: watch the trend of behavior instead of any single correct answer. This post focuses on that.&lt;/p&gt;</description></item><item><title>「Agentic AI Dev Note」 Managing Agent Memory in a Distributed Systems</title><link>https://elbanic.github.io/posts/managing-agent-memory-in-a-distributed-systems/</link><pubDate>Mon, 18 May 2026 06:22:00 +0900</pubDate><guid>https://elbanic.github.io/posts/managing-agent-memory-in-a-distributed-systems/</guid><description>&lt;p&gt;In &lt;a href="https://elbanic.github.io/posts/develop-and-operating-agents-in-a-distributed-environment/"&gt;Part 1&lt;/a&gt;, we discussed stateless containers for running Agents in a distributed system. However, the Agents we interact with seem to behave statefully. When a user asks an Agent a question, it answers, and as the conversation progresses, the Agent maintains the context of previous discussions. To achieve this, the system is designed by separating the request processing area from the memory area, fetching the conversation history from memory whenever needed.&lt;/p&gt;</description></item><item><title>「Agentic AI Dev Note」 Developing and Operating Agents in a Distributed Systems</title><link>https://elbanic.github.io/posts/develop-and-operating-agents-in-a-distributed-environment/</link><pubDate>Wed, 13 May 2026 17:32:42 +0900</pubDate><guid>https://elbanic.github.io/posts/develop-and-operating-agents-in-a-distributed-environment/</guid><description>&lt;p&gt;We imagine it like this: a user sends a request to an Agent, an Agent floating somewhere processes the request, and returns the result. In the big picture, this is correct. However, a real distributed environment is not quite this simple.&lt;/p&gt;
&lt;p&gt;When a request comes in, a container is provisioned, the Agent inside it processes the request, and if it remains idle for a certain period, the container is destroyed. The next request might be received by a completely different container. This is a mechanism for the scalability and efficiency of a distributed system. If traffic increases, containers must be scaled up; if it decreases, they must be scaled down.&lt;/p&gt;</description></item></channel></rss>