<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>kagitha</title><description>Prasad Kagitha explains AI, Java and system design clearly, from real experience building them. Articles, videos, agents, a manga series and books.</description><link>https://kagitha.com/</link><language>en</language><item><title>Jev&apos;s four primitives explained: Choice, Score, Noul and Box</title><link>https://kagitha.com/ai/jev-primitives-choice-score-noul-box/</link><guid isPermaLink="true">https://kagitha.com/ai/jev-primitives-choice-score-noul-box/</guid><description>Everything you do with Jev comes down to four kinds of question. Pick one option. Place it on a scale. Is this true? Where is it in the image? Here is what each one asks, exactly what comes back, how to read the numbers, and the mistakes TypeSafe&apos;s own docs warn about.</description><pubDate>Mon, 30 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>jev</category><category>structured-output</category><category>building-ai-apps</category><category>beginners</category></item><item><title>Jev vs LLMs vs fine-tuned classifiers: three ways to put a decision in your code</title><link>https://kagitha.com/ai/jev-vs-llm-vs-fine-tuned-classifier/</link><guid isPermaLink="true">https://kagitha.com/ai/jev-vs-llm-vs-fine-tuned-classifier/</guid><description>Fast, smart, easy, generalized, cheap. For years you could pick two or three: a general LLM is smart but slow and pricey, a fine-tuned classifier is fast but needs labels, training and upkeep. Here is how Jev, TypeSafe&apos;s System One model, compares with both, with real numbers from TypeSafe&apos;s docs, and where each one still wins.</description><pubDate>Mon, 30 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>jev</category><category>fine-tuning</category><category>llm</category><category>building-ai-apps</category><category>structured-output</category><category>classification</category></item><item><title>Your first Jev program: a ticket triage bot in Python, step by step</title><link>https://kagitha.com/ai/your-first-jev-program/</link><guid isPermaLink="true">https://kagitha.com/ai/your-first-jev-program/</guid><description>You&apos;ve read what Jev is. Now let&apos;s run it. This hands-on guide takes you from an empty folder to a working support-ticket triage script: getting an API key (and why you need credits first), installing the SDK, asking your first question, and letting your code act on Jev&apos;s confidence.</description><pubDate>Mon, 30 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>jev</category><category>python</category><category>hands-on</category><category>beginners</category><category>building-ai-apps</category></item><item><title>Python async and await vs Java CompletableFuture and virtual threads</title><link>https://kagitha.com/java/python-async-await-vs-completablefuture/</link><guid isPermaLink="true">https://kagitha.com/java/python-async-await-vs-completablefuture/</guid><description>LLM calls are slow and mostly waiting. Python&apos;s async lets one thread wait on many of them at once, pausing at every await. Here is how async def, await and asyncio.gather compare with CompletableFuture and virtual threads, and the rules that keep async code from freezing.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category><category>concurrency</category></item><item><title>Python classes for Java developers: __init__, self, dataclasses and Pydantic</title><link>https://kagitha.com/java/python-classes-dataclass-pydantic/</link><guid isPermaLink="true">https://kagitha.com/java/python-classes-dataclass-pydantic/</guid><description>A Python class is a Java class with less typing: __init__ is the constructor, self is this, and there&apos;s no new. Then come the two shortcuts you&apos;ll see everywhere: @dataclass, Python&apos;s record, and Pydantic, a record that validates its data.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category><category>records</category></item><item><title>Python decorators vs Java annotations: same @, different idea</title><link>https://kagitha.com/java/python-decorators-vs-java-annotations/</link><guid isPermaLink="true">https://kagitha.com/java/python-decorators-vs-java-annotations/</guid><description>@app.get(&quot;/health&quot;) looks exactly like Spring&apos;s @GetMapping. It isn&apos;t the same thing. A Java annotation is metadata a framework reads later; a Python decorator is a function that runs right away and wraps or registers yours. Here is how they work, and how to read the ones you&apos;ll meet.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>Python for Java developers: the 10 differences that matter</title><link>https://kagitha.com/java/python-for-java-developers/</link><guid isPermaLink="true">https://kagitha.com/java/python-for-java-developers/</guid><description>You don&apos;t need to learn Python from zero. You already know loops, classes, collections and exceptions. Here are the ten things that actually change when a Java developer moves to Python, each with side-by-side code.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>Python for loops for Java developers: range, enumerate and zip</title><link>https://kagitha.com/java/python-for-loop-range-enumerate-zip/</link><guid isPermaLink="true">https://kagitha.com/java/python-for-loop-range-enumerate-zip/</guid><description>Python has no for (int i = 0; i &lt; n; i++). Every for loop walks over items, and three small helpers, range, enumerate and zip, cover every counting loop you used to write in Java. Plus if/elif, the ternary, and match as Python&apos;s switch.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>Python functions for Java developers: default and keyword arguments</title><link>https://kagitha.com/java/python-functions-default-keyword-arguments/</link><guid isPermaLink="true">https://kagitha.com/java/python-functions-default-keyword-arguments/</guid><description>Python has no method overloading and almost no builders, and it doesn&apos;t miss them. Default values and keyword arguments do the same job in one function. Here is how def, *args, **kwargs and lambda work, compared with the Java you know.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>Python list comprehensions vs Java streams</title><link>https://kagitha.com/java/python-list-comprehension-vs-java-streams/</link><guid isPermaLink="true">https://kagitha.com/java/python-list-comprehension-vs-java-streams/</guid><description>A list comprehension does the work of stream().filter().map().toList() in one readable line. Here is how to read one, how every common stream operation maps to Python, and when a plain loop is the better choice.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category><category>streams</category></item><item><title>Python list and dict vs Java ArrayList and HashMap</title><link>https://kagitha.com/java/python-list-dict-vs-arraylist-hashmap/</link><guid isPermaLink="true">https://kagitha.com/java/python-list-dict-vs-arraylist-hashmap/</guid><description>Python&apos;s collections are built into the language, with their own literal syntax. Here is every ArrayList, HashMap and HashSet method you use daily, mapped to its Python form, plus slicing, tuples and the list-of-dicts shape that carries all JSON and AI data.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category><category>collections</category></item><item><title>Python pip, venv and uv vs Maven: project setup for Java developers</title><link>https://kagitha.com/java/python-pip-venv-uv-vs-maven/</link><guid isPermaLink="true">https://kagitha.com/java/python-pip-venv-uv-vs-maven/</guid><description>No pom.xml, no ~/.m2, no classpath. Python has modules and packages, installs dependencies into a virtual environment per project, and now has uv to do Maven&apos;s job in one fast tool. Here is how a Python project is laid out and run, mapped to the Maven world you know.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>Python exceptions for Java developers: try, except, raise</title><link>https://kagitha.com/java/python-try-except-exceptions/</link><guid isPermaLink="true">https://kagitha.com/java/python-try-except-exceptions/</guid><description>Same model as Java, new words: catch becomes except, throw becomes raise, and nothing is checked. Here is how Python error handling works, which built-in errors map to which Java exceptions, how to read a traceback, and the Pythonic habit of asking forgiveness.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>Python type hints vs Java generics: what Java developers need to know</title><link>https://kagitha.com/java/python-type-hints-vs-java-generics/</link><guid isPermaLink="true">https://kagitha.com/java/python-type-hints-vs-java-generics/</guid><description>Python lets you write types, and modern code does. But Python itself never checks them when your program runs. Here is the type hint syntax mapped to Java, how to get compiler-like checking with mypy or pyright, and why AI libraries turn hints into real behaviour.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>Python variables, None and truthiness for Java developers</title><link>https://kagitha.com/java/python-variables-none-truthiness/</link><guid isPermaLink="true">https://kagitha.com/java/python-variables-none-truthiness/</guid><description>No types on variables, None instead of null, == that means equals(), and an if that accepts a list. Here is how Python variables really work, explained from the Java side, with the traps that catch every Java developer once.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>Python with and yield for Java developers: context managers and generators</title><link>https://kagitha.com/java/python-with-statement-and-generators/</link><guid isPermaLink="true">https://kagitha.com/java/python-with-statement-and-generators/</guid><description>with is Python&apos;s try-with-resources, and yield turns a plain function into a lazy iterator. Together they power file handling, database connections and the word-by-word streaming of LLM answers. Here is how both work, compared with the Java you know.</description><pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>python-for-java-developers</category><category>java-to-python</category></item><item><title>MCP Studio (lab)</title><link>https://kagitha.com/lab/mcp-studio/</link><guid isPermaLink="true">https://kagitha.com/lab/mcp-studio/</guid><description>Learn MCP by building it. A free, open-source course where you build each piece of the Model Context Protocol in your browser, a server, then a client, then a host, one small step per screen. No setup, and no experience needed.</description><pubDate>Sat, 28 Nov 2026 16:42:41 GMT</pubDate><category>lab</category><category>Browser</category><category>MCP</category><category>React</category><category>TypeScript</category></item><item><title>MCP Studio (project)</title><link>https://kagitha.com/lab/mcp-studio-v1/</link><guid isPermaLink="true">https://kagitha.com/lab/mcp-studio-v1/</guid><description>Design, generate, build, run and inspect MCP servers in Java. MCP Studio targets the modern MCP Java SDK (io.modelcontextprotocol.modern) and protocol version 2026-07-28, the…</description><pubDate>Sat, 28 Nov 2026 08:40:05 GMT</pubDate><category>lab</category><category>Java</category></item><item><title>MCP Hello World in Java: Build Your First MCP Server and Client</title><link>https://kagitha.com/ai/mcp-hello-world-java/</link><guid isPermaLink="true">https://kagitha.com/ai/mcp-hello-world-java/</guid><description>A complete MCP setup is a host, a client and a server. We build the server and the client in plain Java with the MCP Java SDK, talk over STDIO, and see the only three spots you change for your own tools.</description><pubDate>Sat, 28 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>mcp</category><category>java</category><category>mcp-java-sdk</category><category>mcp-server</category><category>mcp-client</category><category>stdio</category><category>agents</category><category>building-ai-apps</category><category>beginners</category></item><item><title>What is MCP? Model Context Protocol explained, from RPC to your first tool call</title><link>https://kagitha.com/ai/what-is-mcp/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-mcp/</guid><description>MCP is one standard plug that lets any AI app use any tool. We start with the problem it solves, draw the host, client and server, then open the plug to see the RPC and JSON-RPC inside, and follow one tool call end to end.</description><pubDate>Sat, 28 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>mcp</category><category>model-context-protocol</category><category>json-rpc</category><category>rpc</category><category>agents</category><category>tool-calling</category><category>building-ai-apps</category><category>beginners</category></item><item><title>Advanced Java stream interview questions: 18 tricky puzzles with Collectors</title><link>https://kagitha.com/java/advanced-java-stream-interview-questions/</link><guid isPermaLink="true">https://kagitha.com/java/advanced-java-stream-interview-questions/</guid><description>Second highest salary. Duplicates in a list. First non-repeating character. Average salary per department. The toMap duplicate-key trap. These are the stream questions that separate &quot;I&apos;ve used streams&quot; from &quot;I know streams&quot;. Each one built from pieces you already know.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>collections-streams</category><category>java</category></item><item><title>Java array interview programs: 7 problems every beginner should solve</title><link>https://kagitha.com/java/java-array-interview-programs/</link><guid isPermaLink="true">https://kagitha.com/java/java-array-interview-programs/</guid><description>Max and min, reverse, second largest, remove duplicates, move zeros, rotate by K and find the missing number. Seven small array problems that teach the moves behind half of all coding interviews: loops, two pointers, swaps and a little arithmetic.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>java</category></item><item><title>How to prepare for a Java coding interview: 50 problems in the right order</title><link>https://kagitha.com/java/java-coding-interview-preparation/</link><guid isPermaLink="true">https://kagitha.com/java/java-coding-interview-preparation/</guid><description>You open LeetCode, pick a random problem, get stuck in ten minutes and close the tab. The problem isn&apos;t you, it&apos;s the order. Here is a study plan of 50 classic Java interview problems, grouped into eight short phases, where each one quietly prepares you for the next.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>collections-streams</category><category>java</category></item><item><title>Java Comparator examples: sort objects by salary, then age, and sort a Map by value</title><link>https://kagitha.com/java/java-comparator-sorting-examples/</link><guid isPermaLink="true">https://kagitha.com/java/java-comparator-sorting-examples/</guid><description>Sorting numbers is easy. Interviewers want to see you sort objects: employees by salary, highest first, with ties broken by age. Then the classic follow-up, sort a HashMap by its values. Here is Comparator from the first line to the last, in plain English.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>collections-streams</category><category>java</category></item><item><title>Java HashMap interview programs: word count, most frequent element and group anagrams</title><link>https://kagitha.com/java/java-hashmap-interview-programs/</link><guid isPermaLink="true">https://kagitha.com/java/java-hashmap-interview-programs/</guid><description>Three HashMap problems, from easy to a true interview favourite: count the words in a sentence, find the element that appears most often, and group anagrams together. Along the way you&apos;ll learn getOrDefault, merge, entrySet and computeIfAbsent for good.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>collections-streams</category><category>java</category></item><item><title>Java ArrayList and Set interview programs: duplicates, common elements, union and sorting</title><link>https://kagitha.com/java/java-list-set-interview-programs/</link><guid isPermaLink="true">https://kagitha.com/java/java-list-set-interview-programs/</guid><description>Remove duplicates from a list, find the common elements of two lists, take their union, and sort a list both ways. Four short problems that are really one question in disguise: do you know which collection to pick, and why?</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>collections-streams</category><category>java</category></item><item><title>Java stack and queue interview programs: valid parentheses, reverse a queue, binary numbers</title><link>https://kagitha.com/java/java-stack-queue-interview-programs/</link><guid isPermaLink="true">https://kagitha.com/java/java-stack-queue-interview-programs/</guid><description>A stack hands back the last thing you put in. A queue hands back the first. Three classic problems show when each one is the right tool, and why modern Java code uses ArrayDeque for both instead of the old Stack class.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>collections-streams</category><category>java</category></item><item><title>Java 8 stream interview questions on an Employee list, with answers</title><link>https://kagitha.com/java/java-stream-interview-questions/</link><guid isPermaLink="true">https://kagitha.com/java/java-stream-interview-questions/</guid><description>&quot;Here&apos;s a list of employees. Using streams, give me...&quot; Seven questions that open countless Java interviews: filter by salary, get the names, sort, top 3, average, group by department and the highest salary in each. Each one explained step by step.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>collections-streams</category><category>java</category></item><item><title>Java string interview programs: anagram, first non-repeating character and frequency</title><link>https://kagitha.com/java/java-string-interview-programs/</link><guid isPermaLink="true">https://kagitha.com/java/java-string-interview-programs/</guid><description>Four string problems that come up in almost every Java coding round: check two anagrams, find the first non-repeating character, find the first repeating character, and count each character. They all come down to one skill: counting things.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>coding-interview</category><category>collections-streams</category><category>java</category></item><item><title>Communication layer protocols: HTTP, gRPC, WebSocket and RSocket, and when to switch</title><link>https://kagitha.com/system-design/communication-layer-protocols/</link><guid isPermaLink="true">https://kagitha.com/system-design/communication-layer-protocols/</guid><description>HTTP/1.1, HTTP/2, HTTP/3, WebSocket, gRPC and RSocket are all interaction protocols. They decide how two systems talk, while TCP and QUIC only move the bytes. Learn what each one adds, why REST and Protobuf are not on the list, and the simple rule for when to move off REST.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>networking</category><category>http2</category><category>grpc</category><category>websockets</category><category>rsocket</category><category>trade-offs</category></item><item><title>RSocket explained: request-response, fire-and-forget, request-stream and channel</title><link>https://kagitha.com/system-design/rsocket-explained/</link><guid isPermaLink="true">https://kagitha.com/system-design/rsocket-explained/</guid><description>You&apos;ve heard of WebSocket. But have you heard of RSocket? It&apos;s a protocol that gives a live connection real rules on top. Here are its four ways to talk, the frames behind each one, and how the receiver gets to say &quot;slow down&quot;.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>networking</category><category>rsocket</category><category>reactive</category><category>streaming</category><category>backpressure</category></item><item><title>kagitha Markdown (tool)</title><link>https://kagitha.com/lab/markdown/</link><guid isPermaLink="true">https://kagitha.com/lab/markdown/</guid><description>A free, open-source Markdown viewer and editor that runs entirely in your browser. Open a file or a whole folder, edit with a live preview, and check Open Knowledge Format (OKF) bundles. Nothing is ever uploaded.</description><pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate><category>lab</category><category>Browser</category><category>React</category><category>TypeScript</category><category>OKF</category></item><item><title>What is an AI coding agent? Explained for beginners</title><link>https://kagitha.com/ai/what-is-an-ai-coding-agent/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-an-ai-coding-agent/</guid><description>A coding agent is an AI that works on your project directly. It reads your files, writes code, runs your tests and fixes its own errors. Here is how it works in plain English, real examples, the ready-made agents you can use today (Claude Code, Copilot, Codex, Devin and more), and the open-source tools like OpenCode and JCode for building your own.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>coding-agents</category><category>agents</category><category>opencode</category><category>jcode</category><category>claude-code</category><category>ai-coding-assistant</category><category>modern-ai-tools</category><category>beginners</category></item><item><title>What is jcode? The fast, open-source AI coding agent, explained for beginners</title><link>https://kagitha.com/ai/what-is-jcode/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-jcode/</guid><description>jcode does the same job as Claude Code, but it is free, open source, works with almost any model, and is built so light that you can run 10 or 20 agents on one laptop. Here is what it is, the problem it solves, why it is faster, and how to install and use it, with Java and Python examples.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>jcode</category><category>coding-agents</category><category>claude-code</category><category>agents</category><category>modern-ai-tools</category><category>tutorial</category><category>beginners</category></item><item><title>Cache eviction and invalidation explained: LRU vs LFU, TTL and the thundering herd problem</title><link>https://kagitha.com/system-design/cache-eviction-and-invalidation/</link><guid isPermaLink="true">https://kagitha.com/system-design/cache-eviction-and-invalidation/</guid><description>A cache is small and data keeps changing. Eviction decides what to throw out when memory is full. Invalidation removes data that&apos;s no longer true. Learn LRU, LFU, FIFO and TTL, the four ways to invalidate a cache, and how to stop a thundering herd from flattening your database.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>performance-caching</category><category>cache-eviction</category><category>lru-vs-lfu</category><category>cache-invalidation</category><category>thundering-herd</category><category>trade-offs</category></item><item><title>Caching explained: what a cache is, why it matters and what can go wrong</title><link>https://kagitha.com/system-design/caching-fundamentals/</link><guid isPermaLink="true">https://kagitha.com/system-design/caching-fundamentals/</guid><description>A cache keeps a copy of slow-to-get data somewhere fast, so you don&apos;t fetch it again and again. Learn how a cache hit and miss work, where caches live, the one trade-off behind every cache, and the four ways a cache can hurt you.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>performance-caching</category><category>cache-hit-miss</category><category>ttl</category><category>cache-stampede</category><category>redis</category><category>trade-offs</category></item><item><title>Caching strategies explained: cache-aside vs read-through vs write-through vs write-back</title><link>https://kagitha.com/system-design/caching-strategies/</link><guid isPermaLink="true">https://kagitha.com/system-design/caching-strategies/</guid><description>Every cache has to answer three questions: when does data go into it, where do writes go first, and who keeps it in step with the database? The four caching strategies are four different answers. Learn how each one works, when to use it, and the bugs that come with it.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>performance-caching</category><category>caching-strategies</category><category>cache-aside</category><category>write-through</category><category>write-back</category><category>trade-offs</category></item><item><title>Deployment strategies explained: rolling vs blue-green vs canary, and feature flags</title><link>https://kagitha.com/system-design/deployment-strategies/</link><guid isPermaLink="true">https://kagitha.com/system-design/deployment-strategies/</guid><description>Most outages start with a change. A good deployment strategy limits how many users a bad release can hurt and lets you undo it in seconds. Learn rolling, blue-green and canary deployments, why deploy is not the same as release, and how to change a database without downtime.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>observability-security-operations</category><category>deployment-strategies</category><category>blue-green-deployment</category><category>canary-deployment</category><category>feature-flags</category><category>trade-offs</category></item><item><title>Designing for failure: single points of failure, failover and graceful degradation</title><link>https://kagitha.com/system-design/designing-for-failure/</link><guid isPermaLink="true">https://kagitha.com/system-design/designing-for-failure/</guid><description>Every server, network and database will fail one day. Good systems are not the ones that never fail, but the ones that fail in small, safe ways. Learn how to fail fast with timeouts, find and remove single points of failure, choose active-passive or active-active failover, and degrade gracefully.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>reliability-fault-tolerance</category><category>designing-for-failure</category><category>single-point-of-failure</category><category>failover</category><category>graceful-degradation</category><category>trade-offs</category></item><item><title>Disaster recovery explained: RPO vs RTO, backups and multi-region DR strategies</title><link>https://kagitha.com/system-design/disaster-recovery/</link><guid isPermaLink="true">https://kagitha.com/system-design/disaster-recovery/</guid><description>Resilience patterns handle a slow service. Disaster recovery handles losing a whole data centre, a corrupted database or a deleted table. Learn RPO and RTO, the kinds of backup, why backups and replication are not the same thing, and the four DR strategies from backup-and-restore to active-active.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>reliability-fault-tolerance</category><category>disaster-recovery</category><category>rpo-vs-rto</category><category>backups</category><category>multi-region</category><category>trade-offs</category></item><item><title>Event-driven architecture explained: events vs commands, the outbox pattern and choreography vs orchestration</title><link>https://kagitha.com/system-design/event-driven-architecture/</link><guid isPermaLink="true">https://kagitha.com/system-design/event-driven-architecture/</guid><description>In an event-driven system, services stop telling each other what to do and start announcing what happened. Learn events vs commands, how to design a good event, the transactional outbox pattern, choreography vs orchestration, and how to deal with duplicates, ordering and changing schemas.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>asynchronous-systems</category><category>event-driven-architecture</category><category>outbox-pattern</category><category>choreography-vs-orchestration</category><category>idempotency</category><category>trade-offs</category></item><item><title>Event sourcing explained: how it works, snapshots, CQRS and when to use it</title><link>https://kagitha.com/system-design/event-sourcing/</link><guid isPermaLink="true">https://kagitha.com/system-design/event-sourcing/</guid><description>Most databases keep only the latest state and quietly throw away how it got there. Event sourcing keeps every change as an event and builds the current state from them. Learn how event sourcing works, snapshots, CQRS projections, handling concurrency and GDPR, and when it&apos;s worth the extra complexity.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>asynchronous-systems</category><category>event-sourcing</category><category>cqrs</category><category>snapshots</category><category>audit-trail</category><category>trade-offs</category></item><item><title>Load balancing explained: algorithms, health checks and L4 vs L7 load balancers</title><link>https://kagitha.com/system-design/load-balancing/</link><guid isPermaLink="true">https://kagitha.com/system-design/load-balancing/</guid><description>A load balancer spreads requests across many servers so no single one gets crushed, and quietly steps around the ones that break. Learn how load balancers work, round robin vs least connections, health checks, sticky sessions, Layer 4 vs Layer 7, and how load balancing fails.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>load-traffic-protection</category><category>load-balancer</category><category>load-balancing-algorithms</category><category>health-checks</category><category>l4-vs-l7</category><category>trade-offs</category></item><item><title>Message queues explained: queue vs pub/sub vs stream, Kafka vs RabbitMQ</title><link>https://kagitha.com/system-design/messaging-systems/</link><guid isPermaLink="true">https://kagitha.com/system-design/messaging-systems/</guid><description>Messaging lets services talk without waiting for each other. Learn what a message queue is, the three messaging models (queue, pub/sub and stream), when to pick Kafka, RabbitMQ or Redis, and how to handle lost, duplicate, out-of-order and poison messages.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>asynchronous-systems</category><category>message-queue</category><category>pub-sub</category><category>kafka-vs-rabbitmq</category><category>dead-letter-queue</category><category>trade-offs</category></item><item><title>Observability explained: logs, metrics and traces (and how they differ from monitoring)</title><link>https://kagitha.com/system-design/observability/</link><guid isPermaLink="true">https://kagitha.com/system-design/observability/</guid><description>When production breaks, you need to know what failed, where, when, why and for whom. Observability is how a system answers those questions. Learn the three pillars, logs, metrics and distributed tracing, plus correlation IDs, percentiles, the golden signals, health checks and alerts people don&apos;t ignore.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>observability-security-operations</category><category>observability</category><category>logs-metrics-traces</category><category>distributed-tracing</category><category>alerting</category><category>trade-offs</category></item><item><title>Resilience patterns explained: timeouts, circuit breaker, retry with backoff and bulkhead</title><link>https://kagitha.com/system-design/resilience-patterns/</link><guid isPermaLink="true">https://kagitha.com/system-design/resilience-patterns/</guid><description>Failures will happen. Resilience patterns decide whether they stay small. Learn the five patterns every backend uses: timeouts, the circuit breaker, retries with exponential backoff and jitter, the bulkhead, and idempotency, and how they fit together.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>reliability-fault-tolerance</category><category>resilience-patterns</category><category>circuit-breaker</category><category>retry-backoff-jitter</category><category>bulkhead-pattern</category><category>idempotency</category></item><item><title>Security in system design: authentication vs authorization, JWT, OAuth and common attacks</title><link>https://kagitha.com/system-design/security-in-system-design/</link><guid isPermaLink="true">https://kagitha.com/system-design/security-in-system-design/</guid><description>Security isn&apos;t a feature you add at the end. Learn the CIA triad, the difference between authentication and authorization, sessions vs JWT, what OAuth 2.0 and OpenID Connect are for, the four attacks every web app must stop, and how to protect against DDoS and leaked secrets.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>observability-security-operations</category><category>system-design-security</category><category>authentication-vs-authorization</category><category>jwt</category><category>oauth</category><category>owasp</category></item><item><title>Traffic control explained: rate limiting vs throttling vs backpressure vs load shedding</title><link>https://kagitha.com/system-design/traffic-control/</link><guid isPermaLink="true">https://kagitha.com/system-design/traffic-control/</guid><description>A load balancer spreads traffic out, but it can&apos;t make more of it fit. When too many requests arrive, you need traffic control. Learn the five tools that keep a system alive under pressure: rate limiting, throttling, backpressure, load shedding and queues, and when to use each.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>load-traffic-protection</category><category>traffic-control</category><category>rate-limiting</category><category>backpressure</category><category>load-shedding</category><category>trade-offs</category></item><item><title>What is a bottleneck in system design? How to find and fix one</title><link>https://kagitha.com/system-design/what-is-a-bottleneck/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-a-bottleneck/</guid><description>A system is only as fast as its slowest step. Here is what a bottleneck is, how to spot one with simple measurements, and why fixing it usually moves the problem somewhere else.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architect-mindset</category><category>performance</category><category>capacity-planning</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is a CDN? How content delivery networks make websites fast</title><link>https://kagitha.com/system-design/what-is-a-cdn/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-a-cdn/</guid><description>A CDN keeps copies of your images, videos and pages on servers close to your users, so they don&apos;t wait for a trip across the world. Here is how it works, what it caches, and what it can&apos;t do.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>performance-caching</category><category>cdn</category><category>caching</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is a circuit breaker in system design? Closed, open and half-open explained</title><link>https://kagitha.com/system-design/what-is-a-circuit-breaker/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-a-circuit-breaker/</guid><description>When a service you depend on starts failing, calling it again and again only makes things worse. A circuit breaker notices the failures, stops the calls for a while, and then carefully tries again. Here is how it works, its three states, and how to tune it.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>reliability-fault-tolerance</category><category>circuit-breaker</category><category>resilience-patterns</category><category>cascading-failure</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is a JWT? JSON Web Tokens explained simply</title><link>https://kagitha.com/system-design/what-is-a-jwt/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-a-jwt/</guid><description>A JWT is a signed pass that proves who you are, so a server can trust a request without looking you up every time. Here is what is inside one, how the signature works, and the mistakes that make JWTs unsafe.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>observability-security-operations</category><category>jwt</category><category>authentication-vs-authorization</category><category>system-design-security</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is a key-value store? The simplest database, explained</title><link>https://kagitha.com/system-design/what-is-a-key-value-store/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-a-key-value-store/</guid><description>A key-value store saves data as pairs, a key and its value, like a giant dictionary. That simplicity makes it extremely fast and easy to scale. Here is how it works, where Redis and DynamoDB fit, and when not to use one.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>data-storage-modeling</category><category>key-value-store</category><category>sql-vs-nosql</category><category>redis</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is a message queue? How queues decouple services</title><link>https://kagitha.com/system-design/what-is-a-message-queue/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-a-message-queue/</guid><description>A message queue lets one part of a system drop off work and move on, while another part picks it up when it&apos;s ready. Here is how producers, consumers and acknowledgements work, and why queues make systems calmer under load.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>asynchronous-systems</category><category>message-queue</category><category>synchronous-vs-asynchronous</category><category>kafka-vs-rabbitmq</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is a proxy server? Forward proxy vs reverse proxy explained</title><link>https://kagitha.com/system-design/what-is-a-proxy-server/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-a-proxy-server/</guid><description>A proxy is a middleman that passes requests on your behalf. A forward proxy speaks for the clients; a reverse proxy speaks for the servers. Here is the difference, what each is used for, and where NGINX fits.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>networking-basics</category><category>proxy</category><category>load-traffic-protection</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is a webhook? Webhooks vs polling explained simply</title><link>https://kagitha.com/system-design/what-is-a-webhook/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-a-webhook/</guid><description>A webhook is a reverse API call: instead of you asking &apos;has anything happened yet?&apos;, the other system calls you the moment it does. Here is how webhooks work, why they beat polling, and how to receive them safely.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>webhooks</category><category>api-design</category><category>event-driven</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is an API? A simple explanation with everyday examples</title><link>https://kagitha.com/system-design/what-is-an-api/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-an-api/</guid><description>Every app you use talks to other software through APIs. Here is what an API really is, how a request and response work, and why APIs are the front door of every system design.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>api-design</category><category>rest</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is an API gateway? A simple guide with examples</title><link>https://kagitha.com/system-design/what-is-an-api-gateway/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-an-api-gateway/</guid><description>An API gateway is the single front door to many backend services. It routes each request to the right service and handles sign-in checks, rate limits and logging in one place. Here is how it works and when you need one.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>api-gateway</category><category>api-design</category><category>load-traffic-protection</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is API versioning? How to change an API without breaking apps</title><link>https://kagitha.com/system-design/what-is-api-versioning/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-api-versioning/</guid><description>Once apps depend on your API, changing it can break them overnight. API versioning lets old and new clients live side by side. Here is what counts as a breaking change, the common ways to version, and how to retire an old version politely.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>api-design</category><category>api-versioning</category><category>rest</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is DNS? How domain names turn into IP addresses</title><link>https://kagitha.com/system-design/what-is-dns/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-dns/</guid><description>DNS is the internet&apos;s phone book. It turns names like kagitha.com into the numbers computers use to find each other. Here is how a lookup works, why caching makes it fast, and how big systems use DNS to route traffic.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>networking-basics</category><category>dns</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is failover? Active-passive vs active-active explained simply</title><link>https://kagitha.com/system-design/what-is-failover/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-failover/</guid><description>When a server dies, failover switches work to a backup so users barely notice. Here is how failover works, the two common setups, and the traps that make it harder than it looks.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>reliability-fault-tolerance</category><category>failover</category><category>single-point-of-failure</category><category>high-availability</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is idempotency? Why &quot;doing it twice&quot; must be safe</title><link>https://kagitha.com/system-design/what-is-idempotency/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-idempotency/</guid><description>Networks fail and requests get retried, so the same request often arrives twice. Idempotency means the second time changes nothing. Here is what it means, which HTTP methods have it, and how idempotency keys stop double payments.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>idempotency</category><category>delivery-semantics</category><category>api-design</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is latency? Response time, p99 and why averages lie</title><link>https://kagitha.com/system-design/what-is-latency/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-latency/</guid><description>Latency is how long one request takes, from asking to getting the answer. Here is where that time goes, why engineers measure p95 and p99 instead of the average, and the simple ways to cut it.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>performance-caching</category><category>latency</category><category>observability</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is NoSQL? NoSQL vs SQL databases explained simply</title><link>https://kagitha.com/system-design/what-is-nosql/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-nosql/</guid><description>NoSQL is a family of databases that don&apos;t store data in fixed tables. Here are the four main kinds, what they&apos;re good at, what you give up, and a simple way to choose between SQL and NoSQL.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>data-storage-modeling</category><category>sql-vs-nosql</category><category>nosql</category><category>types-of-databases</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is object storage? How apps store billions of photos and videos</title><link>https://kagitha.com/system-design/what-is-object-storage/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-object-storage/</guid><description>Object storage keeps files as objects in huge buckets, each with a unique key and some labels. It&apos;s cheap, nearly endless and very durable, which is why photos, videos and backups live there. Here is how it works and when to use it.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>data-storage-modeling</category><category>object-storage</category><category>s3</category><category>blob-storage</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is partitioning in system design? Horizontal vs vertical, and how it differs from sharding</title><link>https://kagitha.com/system-design/what-is-partitioning/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-partitioning/</guid><description>Partitioning means splitting a big pile of data into smaller pieces so each piece is quicker to work with. Here are the two ways to split (by rows and by columns), the common partitioning schemes, and how partitioning relates to sharding.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>partitioning-sharding</category><category>partitioning</category><category>sharding-strategies</category><category>data-modeling</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is throughput? RPS, QPS and how much a system can handle</title><link>https://kagitha.com/system-design/what-is-throughput/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-throughput/</guid><description>Throughput is how much work a system finishes per second. Here is how it&apos;s measured (RPS, QPS, MB/s), how it relates to latency, why systems slow down sharply near their limit, and the main ways to raise it.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>performance-caching</category><category>throughput</category><category>capacity-planning</category><category>estimation</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is uptime? Availability, the nines, and SLA vs SLO vs SLI</title><link>https://kagitha.com/system-design/what-is-uptime/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-uptime/</guid><description>99.9% uptime sounds perfect, but it still allows almost nine hours of downtime a year. Here is what uptime and availability mean, how the &apos;nines&apos; translate into real minutes, and how SLIs, SLOs, SLAs and error budgets fit together.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>reliability-fault-tolerance</category><category>availability</category><category>sla-slo-sli</category><category>high-availability</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is X-axis scaling? The scale cube explained simply</title><link>https://kagitha.com/system-design/what-is-x-axis-scaling/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-x-axis-scaling/</guid><description>The scale cube gives three ways to grow a system. The X axis clones the whole app, the Y axis splits it by function, and the Z axis splits it by customer or data. Here is what each axis means and when to reach for it.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architecture-styles</category><category>horizontal-scaling</category><category>scale-cube</category><category>scalability</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is YAGNI? &quot;You aren&apos;t gonna need it&quot; in system design</title><link>https://kagitha.com/system-design/what-is-yagni/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-yagni/</guid><description>YAGNI is a simple rule from software engineering: don&apos;t build things until you actually need them. Here is where it comes from, why over-engineering is so tempting in system design, and the few decisions you should still plan ahead for.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architect-mindset</category><category>yagni</category><category>trade-offs</category><category>architecture</category><category>system-design-basics</category><category>beginners</category></item><item><title>What is ZooKeeper? Coordination, leader election and config explained simply</title><link>https://kagitha.com/system-design/what-is-zookeeper/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-zookeeper/</guid><description>When many servers must agree on who&apos;s in charge, who&apos;s alive and what the settings are, they need a trusted referee. Apache ZooKeeper is that referee. Here is what it does, how leader election works, and where etcd fits today.</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>consistency-cap</category><category>zookeeper</category><category>leader-election</category><category>distributed-systems</category><category>coordination</category><category>system-design-basics</category><category>beginners</category></item><item><title>CAP theorem explained: consistency vs availability when the network breaks</title><link>https://kagitha.com/system-design/cap-theorem-explained/</link><guid isPermaLink="true">https://kagitha.com/system-design/cap-theorem-explained/</guid><description>The CAP theorem is famous and often misquoted. The idea itself is short: when the network between your servers breaks, each side must either refuse requests or risk giving wrong answers. Learn what C, A and P really mean, why &apos;pick 2 of 3&apos; is misleading, CP vs AP with real examples, and the speed-vs-accuracy trade-off you face even when the network is fine.</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>consistency-cap</category><category>cap-theorem</category><category>cp-vs-ap</category><category>network-partition</category><category>pacelc</category><category>trade-offs</category></item><item><title>Data modeling explained: normalization, denormalization, OLTP vs OLAP and query-driven design</title><link>https://kagitha.com/system-design/data-modeling/</link><guid isPermaLink="true">https://kagitha.com/system-design/data-modeling/</guid><description>Picking a database is half the job. The other half is the shape of your data. Learn when to store each fact once and when to copy it, why order history needs snapshots, how analytics data is shaped differently, and why NoSQL schemas start from your queries.</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>data-storage-modeling</category><category>data-modeling</category><category>normalization</category><category>denormalization</category><category>trade-offs</category></item><item><title>Database replication explained: leader-follower, multi-leader and leaderless quorums</title><link>https://kagitha.com/system-design/database-replication-models/</link><guid isPermaLink="true">https://kagitha.com/system-design/database-replication-models/</guid><description>Keep copies of your data on several machines and you survive crashes, serve users nearby and spread reads. But copies drift apart. Learn the three replication models, sync vs async, failover, write conflicts and quorums, and what each one costs.</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>consistency-cap</category><category>replication-models</category><category>leader-follower</category><category>quorum</category><category>trade-offs</category></item><item><title>Shard rebalancing and hotspots: moving data without downtime and taming hot keys</title><link>https://kagitha.com/system-design/rebalancing-and-hotspots/</link><guid isPermaLink="true">https://kagitha.com/system-design/rebalancing-and-hotspots/</guid><description>Shards never stay balanced. Data grows unevenly, one celebrity floods a single shard, a machine dies. Learn how to move data between live shards without downtime or lost writes, how to find and cool down hotspots, and why chasing perfect balance makes things worse.</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>partitioning-sharding</category><category>rebalancing</category><category>hotspots</category><category>zero-downtime-migration</category><category>trade-offs</category></item><item><title>Sharding strategies explained: hash, range, directory and consistent hashing</title><link>https://kagitha.com/system-design/sharding-strategies/</link><guid isPermaLink="true">https://kagitha.com/system-design/sharding-strategies/</guid><description>Once you shard, every row needs an address. Learn the four ways to decide which shard data lives on, why plain hash-mod-N hurts the day you add a shard, how consistent hashing and logical shards fix it, and how to choose a shard key you won&apos;t regret.</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>partitioning-sharding</category><category>sharding-strategies</category><category>consistent-hashing</category><category>shard-key</category><category>trade-offs</category></item><item><title>Strong vs eventual consistency: consistency models explained with examples</title><link>https://kagitha.com/system-design/strong-vs-eventual-consistency/</link><guid isPermaLink="true">https://kagitha.com/system-design/strong-vs-eventual-consistency/</guid><description>When data lives on several replicas, a read might not see the latest write. Consistency models are the promises a system makes about that. Learn strong consistency, eventual consistency and the useful ones in between (causal, read-your-writes, monotonic reads) and how to pick per feature.</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>consistency-cap</category><category>strong-vs-eventual-consistency</category><category>linearizability</category><category>causal-consistency</category><category>read-your-writes</category><category>monotonic-reads</category></item><item><title>Types of databases: SQL, key-value, document, wide-column, graph and time-series explained</title><link>https://kagitha.com/system-design/types-of-databases/</link><guid isPermaLink="true">https://kagitha.com/system-design/types-of-databases/</guid><description>There is no best database, only the right one for a job. Learn the six main database types, what each one is good and bad at, and a simple way to choose: start with PostgreSQL and Redis, and add others only when an access pattern demands it.</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>data-storage-modeling</category><category>sql-vs-nosql</category><category>polyglot-persistence</category><category>trade-offs</category></item><item><title>Vertical vs horizontal scaling for databases: partitioning, sharding and when to scale out</title><link>https://kagitha.com/system-design/vertical-vs-horizontal-scaling/</link><guid isPermaLink="true">https://kagitha.com/system-design/vertical-vs-horizontal-scaling/</guid><description>When one database server runs out of room, you can buy a bigger machine or spread the data over many. Learn what each really costs, the difference between partitioning and sharding, the order most systems grow in, and what you give up the day you shard.</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>partitioning-sharding</category><category>horizontal-scaling</category><category>vertical-scaling</category><category>trade-offs</category></item><item><title>What is Jev AI? The model that fills in a form instead of writing a letter</title><link>https://kagitha.com/ai/what-is-jev-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-jev-ai/</guid><description>Chatbots write answers for people to read. But when your code needs an answer, it doesn&apos;t want a paragraph, it wants a value it can put in an if-statement, and it wants it fast. Jev, from TypeSafe AI, is built for exactly that. Here is what it is, what &quot;System One&quot; means, and why it is so much faster and cheaper.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>jev</category><category>modern-ai-tools</category><category>typesafe-ai</category><category>system-one</category><category>structured-output</category></item><item><title>Back-of-the-envelope estimation in system design (with a cheat sheet)</title><link>https://kagitha.com/system-design/back-of-the-envelope-estimation/</link><guid isPermaLink="true">https://kagitha.com/system-design/back-of-the-envelope-estimation/</guid><description>How many requests per second? How much storage? How many servers? Learn to answer in five minutes with simple maths, and let the numbers, not buzzwords, pick your design.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architect-mindset</category><category>estimation</category><category>capacity-planning</category><category>trade-offs</category></item><item><title>Distributed systems basics: what really changes when you add a network</title><link>https://kagitha.com/system-design/distributed-systems-basics/</link><guid isPermaLink="true">https://kagitha.com/system-design/distributed-systems-basics/</guid><description>The moment your system runs on more than one machine, calls can fail halfway, time stops being reliable, and &quot;did it work?&quot; sometimes has no answer. Here is what changes, and the handful of ideas that keep you safe.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architecture-styles</category><category>distributed-systems</category><category>trade-offs</category></item><item><title>Functional vs non-functional requirements: how to turn &quot;make it fast&quot; into a design</title><link>https://kagitha.com/system-design/functional-vs-non-functional-requirements/</link><guid isPermaLink="true">https://kagitha.com/system-design/functional-vs-non-functional-requirements/</guid><description>Requirements are not paperwork. They are the numbers that decide your architecture. Learn the difference between functional and non-functional requirements, how to make vague words measurable, and what SLIs, SLOs and SLAs really mean.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architect-mindset</category><category>requirements</category><category>constraints</category><category>trade-offs</category></item><item><title>How to think like a software architect</title><link>https://kagitha.com/system-design/how-to-think-like-an-architect/</link><guid isPermaLink="true">https://kagitha.com/system-design/how-to-think-like-an-architect/</guid><description>One feature, three different minds. How a junior developer, a senior engineer and an architect each approach the same problem, and the habits that take you from one to the next.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architect-mindset</category><category>architecture</category><category>trade-offs</category></item><item><title>At-most-once vs at-least-once vs exactly-once: message delivery semantics explained</title><link>https://kagitha.com/system-design/message-delivery-semantics/</link><guid isPermaLink="true">https://kagitha.com/system-design/message-delivery-semantics/</guid><description>Networks lose messages and repeat them. So every message system has to choose what goes wrong instead: lose a message, or deliver it twice. Learn the three delivery guarantees, why &quot;exactly-once&quot; is not what it sounds like, and how idempotency saves you.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>delivery-semantics</category><category>idempotency</category><category>trade-offs</category></item><item><title>Monolith vs microservices (and the modular monolith in between): how to choose</title><link>https://kagitha.com/system-design/monolith-vs-microservices/</link><guid isPermaLink="true">https://kagitha.com/system-design/monolith-vs-microservices/</guid><description>Microservices are not an upgrade from a monolith. They are a trade. Learn what each style really is, what each one costs, and why team size matters more than traffic when you choose.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architecture-styles</category><category>architecture</category><category>trade-offs</category></item><item><title>HTTP/2 multiplexing, full duplex, bidirectional streaming and QUIC explained</title><link>https://kagitha.com/system-design/multiplexing-full-duplex-streaming-quic/</link><guid isPermaLink="true">https://kagitha.com/system-design/multiplexing-full-duplex-streaming-quic/</guid><description>Five networking terms every developer hears in system design talks and interviews, explained in plain English: duplex, multiplexing, head-of-line blocking, bidirectional streaming and QUIC. Plus which protocols support what, and where each one sits: HTTP, TCP or UDP.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>networking-basics</category><category>http2</category><category>quic</category><category>trade-offs</category></item><item><title>REST vs gRPC vs GraphQL vs WebSockets: how to choose an API protocol</title><link>https://kagitha.com/system-design/rest-vs-grpc-vs-graphql-vs-websockets/</link><guid isPermaLink="true">https://kagitha.com/system-design/rest-vs-grpc-vs-graphql-vs-websockets/</guid><description>Four popular ways for software to talk, each built for a different job. Learn how REST, gRPC, GraphQL and WebSockets work, where each one shines, where each one breaks, and how real systems use all four together.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>api-design</category><category>rest</category><category>grpc</category><category>graphql</category><category>websockets</category></item><item><title>Synchronous vs asynchronous communication: 3 communication models explained</title><link>https://kagitha.com/system-design/synchronous-vs-asynchronous-communication/</link><guid isPermaLink="true">https://kagitha.com/system-design/synchronous-vs-asynchronous-communication/</guid><description>When one service needs another, does it wait? Does its thread wait? Does it even know who is listening? Three simple questions, three communication models, and how to pick the right one for each part of your system.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>communication-integration</category><category>synchronous-vs-asynchronous</category><category>event-driven</category><category>trade-offs</category></item><item><title>What is system design, really? A beginner&apos;s guide</title><link>https://kagitha.com/system-design/what-is-system-design/</link><guid isPermaLink="true">https://kagitha.com/system-design/what-is-system-design/</guid><description>It isn&apos;t memorising Kafka, Redis and Kubernetes. System design is how you turn a vague idea into a working system, by asking the right questions, choosing trade-offs on purpose and planning for failure from day one.</description><pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate><category>system-design</category><category>architect-mindset</category><category>trade-offs</category><category>constraints</category><category>architecture</category></item><item><title>How to install and use OpenCode: a step-by-step beginner&apos;s tutorial</title><link>https://kagitha.com/ai/how-to-install-and-use-opencode/</link><guid isPermaLink="true">https://kagitha.com/ai/how-to-install-and-use-opencode/</guid><description>Install OpenCode on Windows, macOS or Linux, connect a model, make it ask before it acts, and finish your first real task from plan to review. Every step is written for OpenCode 2, with a command cheat sheet at the end.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>opencode</category><category>coding-agents</category><category>tutorial</category><category>beginners</category></item><item><title>OpenCode + Ollama together: run a free coding agent on your own laptop</title><link>https://kagitha.com/ai/opencode-ollama-laptop/</link><guid isPermaLink="true">https://kagitha.com/ai/opencode-ollama-laptop/</guid><description>You don&apos;t need a gaming PC to run a free, private coding agent. How to set up OpenCode and Ollama together on an 8, 16 or 32 GB laptop, which small models actually work, the settings that make or break them, and an honest look at what they can and can&apos;t do.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>opencode</category><category>coding-agents</category><category>local-models</category><category>hardware</category><category>beginners</category></item><item><title>OpenCode vs LangChain vs Claude Code: what each one does, explained simply</title><link>https://kagitha.com/ai/opencode-vs-langchain-vs-claude-code/</link><guid isPermaLink="true">https://kagitha.com/ai/opencode-vs-langchain-vs-claude-code/</guid><description>Claude Code is a company cab. OpenCode is your own car. LangChain is the workshop where you build your own vehicle. And the AI model is the driver in all three. Here is what each one is for, how they differ, and which problem each one solves.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>opencode</category><category>coding-agents</category><category>claude-code</category><category>langchain</category><category>ai-frameworks</category><category>beginners</category></item><item><title>OpenCode vs Ollama: what each one does (and why you need both)</title><link>https://kagitha.com/ai/opencode-vs-ollama/</link><guid isPermaLink="true">https://kagitha.com/ai/opencode-vs-ollama/</guid><description>Ollama runs AI models on your computer. OpenCode is the coding agent that uses a model to work on your project. They are not rivals, they are two halves of one setup. Here is what each does, how they talk, and how to connect them in minutes.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>opencode</category><category>coding-agents</category><category>open-source</category><category>beginners</category></item><item><title>What is OpenCode? The open-source AI coding agent, explained</title><link>https://kagitha.com/ai/what-is-opencode/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-opencode/</guid><description>OpenCode is a free coding agent that reads your project, edits files and runs commands, using almost any AI model you choose. Here is what it is, how it works, how to install it, and when to pick it over Claude Code or Copilot.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>opencode</category><category>coding-agents</category><category>ai-coding-assistant</category><category>open-source</category><category>modern-ai-tools</category><category>beginners</category></item><item><title>Why Python isn&apos;t the only way to build AI</title><link>https://kagitha.com/ai/why-python-isnt-the-only-way-to-build-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/why-python-isnt-the-only-way-to-build-ai/</guid><description>Everyone says AI means Python. That is true for training models, and even there Python is only the remote control. But most developers will never train a model. They will build apps around one, and that is backend work in whatever language your backend already speaks.</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>building-ai-apps</category><category>java-ai</category><category>python</category></item><item><title>Call an LLM API from plain Java with HttpClient and JSON</title><link>https://kagitha.com/java/call-llm-api-from-java/</link><guid isPermaLink="true">https://kagitha.com/java/call-llm-api-from-java/</guid><description>No framework, no SDK. Just java.net.http.HttpClient, a few records and Jackson. One small client that talks to a local model or a cloud API by changing three settings, with error handling, retries and streaming.</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>java-ai</category><category>java</category><category>httpclient</category><category>rest-api</category><category>llm</category><category>openai-api</category><category>streaming</category></item><item><title>How LLMs work: tokens, context windows and temperature</title><link>https://kagitha.com/java/how-llms-work-for-java-developers/</link><guid isPermaLink="true">https://kagitha.com/java/how-llms-work-for-java-developers/</guid><description>You don&apos;t need the maths. You do need to know why the model forgets everything, why long chats cost more, and which temperature to use. Here is how an LLM works, explained for the Java code you will write.</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>java-ai</category><category>llm</category><category>tokens</category><category>context-window</category><category>temperature</category><category>how-ai-works</category></item><item><title>Java 21 features for AI apps: records, sealed types and more</title><link>https://kagitha.com/java/java-21-features-for-ai/</link><guid isPermaLink="true">https://kagitha.com/java/java-21-features-for-ai/</guid><description>LLM code has three hard parts: messy JSON, replies that come in many shapes, and calls that take seconds. Modern Java has a feature for each. Here is how records, sealed types, pattern matching, text blocks and virtual threads fit AI work.</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>java-ai</category><category>modern-java</category><category>records</category><category>sealed-classes</category><category>pattern-matching</category><category>virtual-threads</category><category>structured-output</category></item><item><title>Spring AI ChatClient: prompts, templates and model switching</title><link>https://kagitha.com/java/spring-ai-chatclient/</link><guid isPermaLink="true">https://kagitha.com/java/spring-ai-chatclient/</guid><description>The HTTP call from part 3, now done the Spring way. Set up Spring AI 2.0 with a local model, talk to it with ChatClient, use prompt templates, get Java records back, stream, remember the conversation, and switch providers without changing code.</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>java-ai</category><category>spring-ai</category><category>building-ai-apps</category><category>spring-boot</category><category>ollama</category><category>structured-output</category></item><item><title>Why Java for AI? Where Java fits next to Python</title><link>https://kagitha.com/java/why-java-for-ai/</link><guid isPermaLink="true">https://kagitha.com/java/why-java-for-ai/</guid><description>Python trains the models. But most AI work today is building the app around a model, and that is the kind of work Java has done well for decades. Here is an honest map of who does what.</description><pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>java-ai</category><category>java</category><category>agents</category><category>building-ai-apps</category></item><item><title>Java 21 features: what&apos;s new in Java 21 LTS, with examples</title><link>https://kagitha.com/java/java-21-features/</link><guid isPermaLink="true">https://kagitha.com/java/java-21-features/</guid><description>Java 21 is the long-term-support release that made virtual threads, record patterns, pattern matching for switch and sequenced collections standard. Here is every important feature, what each one does in a line of code, which were only previews, and what to watch when you upgrade from Java 17.</description><pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>modern-java</category><category>java-21</category><category>jdk-21</category><category>java-features</category></item><item><title>Java 21 virtual threads explained: before and after</title><link>https://kagitha.com/java/java-21-virtual-threads/</link><guid isPermaLink="true">https://kagitha.com/java/java-21-virtual-threads/</guid><description>For more than two decades every Java thread was glued to an operating-system thread, and a thread waiting on a database held that OS thread hostage. Virtual threads cut the glue. Here is the old model, the problem it caused, and exactly what virtual threads fix.</description><pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>modern-java</category><category>virtual-threads</category><category>concurrency</category><category>performance</category></item><item><title>Pattern matching for switch in Java 21, with examples</title><link>https://kagitha.com/java/java-pattern-matching-switch/</link><guid isPermaLink="true">https://kagitha.com/java/java-pattern-matching-switch/</guid><description>Java 21 lets switch match on types, not just constants. Here is how it replaces the old if-instanceof-cast ladder, how when guards and case null work, the dominance and exhaustiveness rules, and how record patterns unpack data right in the case label.</description><pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>modern-java</category><category>pattern-matching</category><category>java-21</category><category>sealed-classes</category></item><item><title>Java records explained: one-line data classes, with examples</title><link>https://kagitha.com/java/java-records-explained/</link><guid isPermaLink="true">https://kagitha.com/java/java-records-explained/</guid><description>One line replaces a 40-line data class. Here is what a Java record gives you for free, how to add validation and methods, where records fit, where they don&apos;t, and what Java 21&apos;s record patterns add.</description><pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>modern-java</category><category>records</category><category>clean-code</category></item><item><title>Java sealed classes and interfaces explained, with examples</title><link>https://kagitha.com/java/java-sealed-classes/</link><guid isPermaLink="true">https://kagitha.com/java/java-sealed-classes/</guid><description>A sealed class says exactly which classes may extend it, and the compiler enforces the list. Here is why that matters, the rules for permits, final, sealed and non-sealed, and how sealed types plus records give you switch statements the compiler can check.</description><pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>modern-java</category><category>sealed-classes</category><category>records</category><category>pattern-matching</category></item><item><title>Java 21 sequenced collections: getFirst, getLast, reversed</title><link>https://kagitha.com/java/java-sequenced-collections/</link><guid isPermaLink="true">https://kagitha.com/java/java-sequenced-collections/</guid><description>For years, getting the last element of a List meant list.get(list.size() - 1), and a LinkedHashSet couldn&apos;t do it at all. Java 21 adds one shared set of methods to every ordered collection. Here is what&apos;s new, which classes have it, and the traps to avoid.</description><pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>modern-java</category><category>collections</category><category>java-21</category></item><item><title>Java text blocks explained: multiline strings in Java</title><link>https://kagitha.com/java/java-text-blocks/</link><guid isPermaLink="true">https://kagitha.com/java/java-text-blocks/</guid><description>Text blocks let you write JSON, SQL, HTML and LLM prompts in Java exactly as they look, without escaped quotes or \n on every line. Here is the syntax, how Java decides what indentation to keep, the two escapes worth knowing, and how to fill in values.</description><pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>modern-java</category><category>text-blocks</category><category>strings</category></item><item><title>Java var explained: local variable type inference</title><link>https://kagitha.com/java/java-var-local-variable-type-inference/</link><guid isPermaLink="true">https://kagitha.com/java/java-var-local-variable-type-inference/</guid><description>var lets the compiler work out a local variable&apos;s type from the value you assign. It is still strongly typed Java, not JavaScript. Here is how it works, where you can and can&apos;t use it, and the traps worth knowing.</description><pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate><category>java</category><category>modern-java</category><category>var</category><category>clean-code</category></item><item><title>Call a local LLM from Java with Ollama: HttpClient, a stateless request, then a chatbot with memory</title><link>https://kagitha.com/ai/call-ollama-api-from-java/</link><guid isPermaLink="true">https://kagitha.com/ai/call-ollama-api-from-java/</guid><description>Plain Java, no AI framework. We call Ollama&apos;s /api/chat with HttpClient and Jackson, prove the model remembers nothing between requests, then build a terminal chatbot that remembers, and see why the assistant role and the context window matter.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>ollama</category><category>java</category><category>httpclient</category><category>rest-api</category><category>chatbot</category><category>context-window</category><category>stateless</category><category>local-llm</category><category>building-ai-apps</category></item><item><title>Call a local LLM from Python with Ollama: a stateless request, then a chatbot with memory</title><link>https://kagitha.com/ai/call-ollama-api-from-python/</link><guid isPermaLink="true">https://kagitha.com/ai/call-ollama-api-from-python/</guid><description>Step-by-step Python code that calls Ollama&apos;s /api/chat. First we prove the model remembers nothing between requests. Then we build a terminal chatbot that remembers, and see why the assistant&apos;s answers and the context window matter.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>ollama</category><category>python</category><category>rest-api</category><category>chatbot</category><category>context-window</category><category>stateless</category><category>local-llm</category><category>building-ai-apps</category></item><item><title>Ollama CLI commands: the complete cheat sheet (with examples)</title><link>https://kagitha.com/ai/ollama-cli-commands/</link><guid isPermaLink="true">https://kagitha.com/ai/ollama-cli-commands/</guid><description>Every Ollama command you need, explained in plain English with real examples. Install and check, download and run, manage models, build a custom model with a Modelfile, call the REST API, and publish.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>ollama</category><category>ollama-cli</category><category>local-llm</category><category>modelfile</category><category>cheat-sheet</category><category>beginners</category></item><item><title>The Ollama desktop app: chat with local models, and launch Claude Code or Copilot CLI on them</title><link>https://kagitha.com/ai/ollama-desktop-app/</link><guid isPermaLink="true">https://kagitha.com/ai/ollama-desktop-app/</guid><description>No terminal needed. The Ollama app gives you a chat window with a model picker, and a one-click launcher that plugs coding agents like Claude Code and GitHub Copilot CLI into your local or cloud models.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>ollama</category><category>ollama-launch</category><category>claude-code</category><category>github-copilot</category><category>coding-agents</category><category>local-llm</category></item><item><title>Ollama REST API: /api/generate vs /api/chat, with curl and Postman examples</title><link>https://kagitha.com/ai/ollama-rest-api-generate-vs-chat/</link><guid isPermaLink="true">https://kagitha.com/ai/ollama-rest-api-generate-vs-chat/</guid><description>Every Ollama app, command and library talks to the same REST API. Here are its two main endpoints side by side, tested in curl and Postman, plus what stream and think really do when you set them to true or false.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>ollama</category><category>rest-api</category><category>postman</category><category>curl</category><category>chat-api</category><category>prompting</category><category>local-llm</category></item><item><title>How to run an LLM on your own computer (a beginner&apos;s guide to local LLMs)</title><link>https://kagitha.com/ai/run-llm-locally/</link><guid isPermaLink="true">https://kagitha.com/ai/run-llm-locally/</guid><description>ChatGPT runs on someone else&apos;s computer. With a free tool called Ollama, a real language model can run on yours, privately, offline and with no bill per question. Here is what that means and how to start.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>ollama</category><category>local-llm</category><category>llm</category><category>qwen</category><category>beginners</category><category>how-ai-works</category></item><item><title>System, user and assistant roles in LLM chat APIs, explained simply</title><link>https://kagitha.com/ai/system-user-assistant-roles/</link><guid isPermaLink="true">https://kagitha.com/ai/system-user-assistant-roles/</guid><description>Every message you send to a chat model carries a role. System sets the rules, user asks, assistant answers. Here is what each one does, who writes it, and why the model&apos;s own old answers have to go back in.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>prompting</category><category>system-prompt</category><category>llm</category><category>ollama</category><category>chat-api</category><category>beginners</category></item><item><title>What are AI hallucinations? Why AI makes things up, and how to spot it</title><link>https://kagitha.com/ai/what-are-ai-hallucinations/</link><guid isPermaLink="true">https://kagitha.com/ai/what-are-ai-hallucinations/</guid><description>An AI chatbot can invent a court case, a policy or a statistic, and say it with total confidence. Here is why that happens, two real cases where it cost people money, and what you can do about it.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>hallucination</category><category>responsible-ai</category><category>llm</category><category>beginners</category></item><item><title>What are embeddings? How AI turns meaning into numbers</title><link>https://kagitha.com/ai/what-are-embeddings-in-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-are-embeddings-in-ai/</guid><description>Search &quot;cheap phone&quot; and find &quot;budget mobile&quot;, even though the words don&apos;t match. Embeddings make that possible. Here is what they are, how similarity works, and where they power the apps you use.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>embeddings</category><category>semantic-search</category><category>rag</category><category>beginners</category></item><item><title>What are weights in AI? The numbers a model learns, explained</title><link>https://kagitha.com/ai/what-are-weights-in-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-are-weights-in-ai/</guid><description>Everything an AI model learned is stored as numbers called weights, or parameters. Here is what weights are, how training sets them, why models are described as &quot;8B&quot; or &quot;70B&quot;, and what &quot;open weights&quot; means.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>weights</category><category>parameters</category><category>llm</category><category>how-ai-works</category><category>beginners</category></item><item><title>What is a dataset in AI? Training data explained simply</title><link>https://kagitha.com/ai/what-is-a-dataset-in-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-a-dataset-in-ai/</guid><description>An AI model is only as good as the examples it learns from. Here is what a dataset is, what labels are, why data is split into training, validation and test sets, and what makes data good or bad.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>datasets</category><category>training-data</category><category>machine-learning</category><category>beginners</category></item><item><title>What is a knowledge cutoff in AI? Why chatbots don&apos;t know recent news</title><link>https://kagitha.com/ai/what-is-a-knowledge-cutoff/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-a-knowledge-cutoff/</guid><description>Every AI model learned from data collected up to a certain date, and it knows little or nothing after that. Here is what a knowledge cutoff is, why it exists, why models are often unsure of their own, and how to work around it.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>knowledge-cutoff</category><category>llm</category><category>hallucination</category><category>beginners</category></item><item><title>What is a neural network? Explained simply, layer by layer</title><link>https://kagitha.com/ai/what-is-a-neural-network/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-a-neural-network/</guid><description>Neural networks power face unlock, translation and every modern chatbot. Despite the name, they are layers of simple maths, not artificial brains. Here is how a neural network works, how it learns, and the main kinds.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>neural-networks</category><category>deep-learning</category><category>machine-learning</category><category>how-ai-works</category><category>beginners</category></item><item><title>What is a prompt in AI? How to write prompts that work</title><link>https://kagitha.com/ai/what-is-a-prompt-in-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-a-prompt-in-ai/</guid><description>A prompt is whatever you give an AI to work with. Small changes to it can turn a vague answer into a great one. Here is what a prompt is, what a good one contains, simple techniques that work, and the mistakes to avoid.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>prompting</category><category>prompt-engineering</category><category>llm</category><category>beginners</category></item><item><title>What is a vector database? Search by meaning, explained simply</title><link>https://kagitha.com/ai/what-is-a-vector-database/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-a-vector-database/</guid><description>A normal database finds exact matches. A vector database finds things that mean something similar, even with different words. Here is what a vector database is, how it searches millions of items fast, and when you actually need one.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>vector-database</category><category>rag</category><category>embeddings</category><category>semantic-search</category><category>beginners</category></item><item><title>What is AI bias? How AI learns unfair patterns, with real examples</title><link>https://kagitha.com/ai/what-is-ai-bias/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-ai-bias/</guid><description>AI doesn&apos;t have opinions, yet it can still treat people unfairly. Here is where AI bias comes from, two real cases that made headlines, and what builders do to reduce it.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>ai-bias</category><category>responsible-ai</category><category>machine-learning</category><category>beginners</category></item><item><title>What is an AI chatbot? How chatbots work, explained simply</title><link>https://kagitha.com/ai/what-is-an-ai-chatbot/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-an-ai-chatbot/</guid><description>Not every chatbot is AI, and the AI ones don&apos;t remember you the way you might think. Here is how chatbots went from fixed menus to ChatGPT, and what really happens when you hit send.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>chatbots</category><category>llm</category><category>prompting</category><category>beginners</category></item><item><title>What is an AI jailbreak? How people trick chatbots, and why it matters</title><link>https://kagitha.com/ai/what-is-an-ai-jailbreak/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-an-ai-jailbreak/</guid><description>AI chatbots are trained to refuse harmful requests. A jailbreak is an attempt to talk them out of it. Here is how jailbreaks work at a high level, how they differ from prompt injection, and how AI companies defend against them.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>jailbreak</category><category>ai-safety</category><category>responsible-ai</category><category>llm</category><category>beginners</category></item><item><title>What is an algorithm in AI? A simple explanation with examples</title><link>https://kagitha.com/ai/what-is-an-algorithm-in-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-an-algorithm-in-ai/</guid><description>Every AI system runs on algorithms, but an algorithm is not the same as the AI. Here is what an algorithm really is, how a learning algorithm differs from a model, and where you meet them every day.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>algorithms</category><category>machine-learning</category><category>how-ai-works</category><category>beginners</category></item><item><title>What is explainable AI (XAI)? Why AI should show its reasoning</title><link>https://kagitha.com/ai/what-is-explainable-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-explainable-ai/</guid><description>When an AI turns down a loan or flags a medical scan, people deserve to know why. Explainable AI is the set of methods that show what drove a decision. Here is why it matters, how the main techniques work, and their limits.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>explainable-ai</category><category>responsible-ai</category><category>machine-learning</category><category>beginners</category></item><item><title>What is fine-tuning in AI? How a model becomes a specialist</title><link>https://kagitha.com/ai/what-is-fine-tuning/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-fine-tuning/</guid><description>Training a large model from scratch costs a fortune. Fine-tuning takes a model that already knows a lot and teaches it one job well. Here is how it works, what LoRA is, and when you should use prompting or RAG instead.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>fine-tuning</category><category>llm</category><category>training</category><category>beginners</category></item><item><title>What is generative AI? How AI creates text, images and code</title><link>https://kagitha.com/ai/what-is-generative-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-generative-ai/</guid><description>Most AI used to sort and predict. Generative AI creates something new. Here is what generative AI is, how it makes text and pictures, a short history, and what to watch out for.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>generative-ai</category><category>llm</category><category>how-ai-works</category><category>beginners</category></item><item><title>What is inference in AI? Training vs inference explained simply</title><link>https://kagitha.com/ai/what-is-inference-in-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-inference-in-ai/</guid><description>Training is how an AI model learns. Inference is every time you actually use it. Here is what happens during inference, why it decides how fast and how expensive AI is, and where it runs.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>inference</category><category>llm</category><category>how-ai-works</category><category>beginners</category></item><item><title>What is machine learning? A simple guide with everyday examples</title><link>https://kagitha.com/ai/what-is-machine-learning/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-machine-learning/</guid><description>Machine learning is how most of today&apos;s AI is built. Instead of writing rules, you show a computer examples and let it find the pattern. Here is how it works, the main types, and where you already use it.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>machine-learning</category><category>how-ai-works</category><category>beginners</category></item><item><title>What is Ollama? The video player for AI models, and localhost:11434 explained</title><link>https://kagitha.com/ai/what-is-ollama/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-ollama/</guid><description>The model is the movie. Ollama is the player. Here is what Ollama really is, why everything talks to localhost:11434, and what happens inside when you ask it a question.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>ollama</category><category>local-llm</category><category>llm</category><category>rest-api</category><category>modern-ai-tools</category><category>beginners</category></item><item><title>What is overfitting in machine learning? Explained with examples</title><link>https://kagitha.com/ai/what-is-overfitting/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-overfitting/</guid><description>A model can score 100% in practice and still fail the real test. That&apos;s overfitting. Here is what it is, how to spot it, how it differs from underfitting, and the common ways to prevent it.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>overfitting</category><category>machine-learning</category><category>training</category><category>beginners</category></item><item><title>What is quantization in AI? How big models fit on small devices</title><link>https://kagitha.com/ai/what-is-quantization-in-ai/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-quantization-in-ai/</guid><description>An AI model is billions of numbers. Store each number with less precision and the model shrinks to a fraction of its size, often with little loss in quality. Here is how quantization works, what Q4 and Q8 mean, and the trade-offs.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>quantization</category><category>llm</category><category>ollama</category><category>local-llm</category><category>beginners</category></item><item><title>What is RAG (retrieval-augmented generation)? Explained simply</title><link>https://kagitha.com/ai/what-is-rag/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-rag/</guid><description>An LLM doesn&apos;t know your company&apos;s documents, and it can&apos;t see anything after its cutoff. RAG fixes that by looking up the right information first, then answering from it. Here is how RAG works, step by step, and where it goes wrong.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>rag</category><category>retrieval</category><category>embeddings</category><category>llm</category><category>beginners</category></item><item><title>What is supervised learning? Explained with everyday examples</title><link>https://kagitha.com/ai/what-is-supervised-learning/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-supervised-learning/</guid><description>Show a computer thousands of examples with the right answers, and it learns to answer new ones by itself. That&apos;s supervised learning, the most common kind of machine learning. Here is how it works, its two main types, and its limits.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>supervised-learning</category><category>machine-learning</category><category>training-data</category><category>beginners</category></item><item><title>What is unsupervised learning? Explained with everyday examples</title><link>https://kagitha.com/ai/what-is-unsupervised-learning/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-unsupervised-learning/</guid><description>Most of the world&apos;s data has no labels. Unsupervised learning finds patterns in it anyway, such as groups of similar customers or unusual transactions. Here is how it works, the main techniques, and its limits.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>unsupervised-learning</category><category>machine-learning</category><category>clustering</category><category>beginners</category></item><item><title>What is YOLO in AI? Real-time object detection explained simply</title><link>https://kagitha.com/ai/what-is-yolo-object-detection/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-yolo-object-detection/</guid><description>YOLO stands for You Only Look Once. It&apos;s a family of AI models that find and label objects in an image in a single pass, fast enough for live video. Here is how it works, why it was a breakthrough, and where it&apos;s used.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>yolo</category><category>object-detection</category><category>computer-vision</category><category>neural-networks</category><category>beginners</category></item><item><title>What is zero-shot learning? Zero-shot vs few-shot explained simply</title><link>https://kagitha.com/ai/what-is-zero-shot-learning/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-zero-shot-learning/</guid><description>Zero-shot means an AI handles a task it was never shown examples of. The term has two meanings, one from classic machine learning and one from prompting chatbots. Here are both, with examples, plus one-shot and few-shot.</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>zero-shot</category><category>prompting</category><category>llm</category><category>machine-learning</category><category>beginners</category></item><item><title>What are tokens and embeddings in AI? A beginner&apos;s guide</title><link>https://kagitha.com/ai/what-are-tokens-and-embeddings/</link><guid isPermaLink="true">https://kagitha.com/ai/what-are-tokens-and-embeddings/</guid><description>An AI model can&apos;t read letters. It reads numbers. Here is how your text becomes tokens, how tokens become embeddings, and how embeddings differ from a model&apos;s weights.</description><pubDate>Fri, 13 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>tokens</category><category>tokenization</category><category>embeddings</category><category>weights</category><category>llm</category><category>beginners</category><category>how-ai-works</category></item><item><title>What is a large language model (LLM)? A beginner&apos;s guide</title><link>https://kagitha.com/ai/what-is-a-large-language-model/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-a-large-language-model/</guid><description>The engine behind ChatGPT, Claude and Gemini does one surprisingly simple thing, billions of times over. Here is what it is, how it learns, and why it sometimes gets things wrong.</description><pubDate>Fri, 13 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>llm</category><category>large-language-models</category><category>generative-ai</category><category>chatgpt</category><category>beginners</category><category>how-ai-works</category></item><item><title>What is artificial intelligence (AI)? A beginner&apos;s guide</title><link>https://kagitha.com/ai/what-is-artificial-intelligence/</link><guid isPermaLink="true">https://kagitha.com/ai/what-is-artificial-intelligence/</guid><description>You already use AI many times a day. Here is what it really is, how a computer can learn without anyone writing the rules, and how today&apos;s chatbots and AI agents fit in.</description><pubDate>Fri, 13 Nov 2026 00:00:00 GMT</pubDate><category>ai</category><category>artificial-intelligence</category><category>machine-learning</category><category>neural-networks</category><category>beginners</category><category>how-ai-works</category></item><item><title>Sahay, chapter 1: The 60-Day Lie</title><link>https://kagitha.com/manga/sahay/chapter-1/</link><guid isPermaLink="true">https://kagitha.com/manga/sahay/chapter-1/</guid><description>The concept: Hallucination and grounding.</description><pubDate>Fri, 13 Nov 2026 00:00:00 GMT</pubDate><category>manga</category></item><item><title>Zero to AI Agent (series)</title><link>https://kagitha.com/lab/zero-to-ai-agent/</link><guid isPermaLink="true">https://kagitha.com/lab/zero-to-ai-agent/</guid><description>Build AI agents in Java from scratch. LLMs, Ollama, tool calling, MCP, RAG and LangChain4j, with slides and hands-on labs for every episode.</description><pubDate>Sun, 08 Nov 2026 06:30:18 GMT</pubDate><category>lab</category><category>Java</category><category>Ollama</category><category>MCP</category><category>RAG</category></item><item><title>Talking to an LLM (episode)</title><link>https://kagitha.com/lab/ep3-talking-to-llm/</link><guid isPermaLink="true">https://kagitha.com/lab/ep3-talking-to-llm/</guid><description>Episode 3 lab: your first LLM call in Java with Ollama, then a system prompt, a terminal chatbot and structured JSON output.</description><pubDate>Sat, 07 Nov 2026 16:27:14 GMT</pubDate><category>lab</category><category>Java</category><category>Ollama</category></item><item><title>Tiny LLM Lab (lab)</title><link>https://kagitha.com/lab/tiny-llm-lab/</link><guid isPermaLink="true">https://kagitha.com/lab/tiny-llm-lab/</guid><description>A language model small enough to see every weight. Real ones have billions; this one has about a hundred, so you can watch it learn and see exactly how it picks the next word.</description><pubDate>Sat, 31 Oct 2026 16:49:54 GMT</pubDate><category>lab</category><category>Browser</category><category>Python</category><category>Transformers</category></item></channel></rss>