<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jide Lawal on Medium]]></title>
        <description><![CDATA[Stories by Jide Lawal on Medium]]></description>
        <link>https://medium.com/@jidelawal?source=rss-8af7f7659548------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uUSnhFdwkdPdxjJD0q9pJQ.png</url>
            <title>Stories by Jide Lawal on Medium</title>
            <link>https://medium.com/@jidelawal?source=rss-8af7f7659548------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:40:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jidelawal/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Running Qwen3.8–27B Locally for Agentic Coding]]></title>
            <link>https://medium.com/the-repo/running-qwen3-8-27b-locally-for-agentic-coding-7fda19bc8cb1?source=rss-8af7f7659548------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fda19bc8cb1</guid>
            <category><![CDATA[local-llm]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-coding]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Jide Lawal]]></dc:creator>
            <pubDate>Wed, 14 Oct 2026 06:11:01 GMT</pubDate>
            <atom:updated>2026-10-14T06:11:01.700Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m running Qwen3.8–27B locally on an HP ZGX/DGX Spark using vLLM and connecting to it through an OpenAI-compatible API.</p><p>My goal is to use a capable coding model without sending project code to a hosted service. The interesting part is not simply loading the model. The quality of the experience depends on how the model is served, how reasoning is configured, how much context each session carries, and how implementation is separated from review.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qk97Y10MIZ7-W1RoZtzubw.png" /></figure><h3>One provider, three virtual profiles</h3><p>I expose three virtual model profiles through the same Qwen3.8–27B backend:</p><ul><li>qwen-fast: thinking disabled</li><li>qwen: thinking enabled with medium reasoning effort</li><li>qwen-deep: thinking enabled with xhigh reasoning effort</li></ul><p>These are not three copies of the model. They are different profiles pointing to one running service. This preserves GPU memory while allowing each workflow to use a different reasoning policy.</p><h3>Fast implementation, deliberate review</h3><p>I use qwen-fast for agentic coding and implementation work with thinking switched off.</p><p>That keeps routine edits, file inspection, test execution, and iterative coding as responsive as possible. The implementation agent does not spend additional generation time on extended reasoning for every small change.</p><p>Once the implementation work is complete, I submit the changes for review. Normal reviews useqwen, with thinking enabled and medium reasoning effort. More difficult or high-risk changes useqwen-deep, with thinking enabled and xhigh reasoning effort.</p><p>The workflow is therefore:</p><ol><li>qwen-fast implements the change.</li><li>qwen reviews ordinary changes.</li><li>qwen-deep reviews complex or risky changes.</li><li>The implementation agent addresses any requested corrections.</li><li>Work proceeds only after review approval.</li></ol><p>This gives me a practical separation between speed and verification: fast execution first, deliberate reasoning where it provides the most value.</p><h3>Why the serving runtime matters</h3><p>The same model can behave differently depending on the runtime and client used to access it. Reasoning settings may be ignored, translated differently, or rejected if the serving layer and client do not agree about the API.</p><p>Using vLLM gives me an OpenAI-compatible endpoint and explicit control over Qwen’s reasoning and tool-call handling. It also makes it possible to use the same backend for different client profiles without loading multiple model instances.</p><h3>Running multiple sessions</h3><p>The service is configured to schedule up to four simultaneous sequences. In practice, I normally run two coding sessions at the same time.</p><p>Concurrency is not free. Each session consumes memory for its prompt, generated tokens, and KV cache. Long-running conversations therefore become progressively more expensive to continue.</p><p>A fresh session often feels more responsive because it does not carry the entire history of an old conversation into every request. When I need continuity, I prefer to create a summary and carry that into a new session rather than continuing an extremely large context indefinitely.</p><p>The service supports a large maximum context window, but maximum context is not the same as practical concurrent capacity. Long prompts, lengthy reasoning, and multiple active sessions all compete for the same hardware resources.</p><h3>What I have learned</h3><p>The most important lesson is that local model quality is a systems problem.</p><p>A good model can still feel unreliable if:</p><ul><li>The reasoning setting is incompatible with the client</li><li>The conversation context has grown too large</li><li>Several long requests compete for the GPU</li><li>Proxy or client timeouts are too short</li><li>Tool-call parsing is configured incorrectly</li><li>The inference runtime is not using the hardware efficiently</li></ul><p>Separating implementation from review helps address several of these problems. The fast profile is optimized for iteration, while the reasoning-enabled profiles are reserved for tasks where deeper analysis is worthwhile.</p><h3>Current approach</h3><p>For everyday agentic coding, I use qwen-fast with thinking disabled.</p><p>For code review, I use qwen with medium reasoning effort. For complex architectural changes, subtle bugs, or high-risk modifications, I use qwen-deep with xhigh reasoning effort.</p><p>I normally keep two sessions active and start fresh sessions when older conversations become large. I measure the system using more than tokens per second: time to first token, total response time, tool-call reliability, review quality, and the amount of correction required are all important.</p><p>The model is only one part of the experience. The runtime, reasoning policy, context size, concurrency, and workflow design matter just as much.</p><p>My current design is simple:</p><p><em>Use Qwen quickly to build. Use Qwen deliberately to review. Use the same local model backend, but give each stage the reasoning budget it actually needs.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fda19bc8cb1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-repo/running-qwen3-8-27b-locally-for-agentic-coding-7fda19bc8cb1">Running Qwen3.8–27B Locally for Agentic Coding</a> was originally published in <a href="https://medium.com/the-repo">The Repo</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why We Built Our Own Lightweight Microservices Architecture — and Why You Might Too]]></title>
            <link>https://medium.com/@jidelawal/why-we-built-our-own-lightweight-microservices-architecture-and-why-you-might-too-5c858f530e1f?source=rss-8af7f7659548------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c858f530e1f</guid>
            <dc:creator><![CDATA[Jide Lawal]]></dc:creator>
            <pubDate>Sun, 02 Nov 2025 14:03:58 GMT</pubDate>
            <atom:updated>2025-11-02T14:05:39.405Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why We Built Our Own Lightweight Microservices Architecture — and Why You Might Too</h3><p>In an era dominated by complex distributed systems and mature microservices frameworks, development teams often find themselves managing significant overhead — multiple repositories, heavy configuration layers, and steep onboarding costs. At <strong>ContactCentre Limited</strong>, we wanted the flexibility, scalability, and fault isolation that microservices provide, but without the unnecessary complexity that comes with adopting a full enterprise framework.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CWtkwBm5lEOsmvrn" /><figcaption>Photo by <a href="https://unsplash.com/@goshua13?utm_source=medium&amp;utm_medium=referral">Joshua Aragon</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>We therefore engineered a lightweight, modular runtime architecture that delivers the benefits of microservices within a single, coherent Node.js codebase. This paper outlines the rationale behind our approach, its technical structure, and the trade-offs that make it an attractive alternative for small and mid-sized engineering teams building scalable applications.</p><p><strong>The Problem with Conventional Microservices Frameworks</strong></p><p>The microservices movement was born out of necessity: as software systems grew, monolithic applications became difficult to maintain and scale. Mature frameworks such as <strong>NestJS</strong>, <strong>Moleculer</strong>, and <strong>Temporal </strong>offer impressive features — dependency injection, service discovery, message brokers, and structured module boundaries.</p><p>However, these frameworks also introduce significant operational and cognitive overhead:</p><ul><li>Developers must learn complex conventions and annotations before contributing productively.</li><li>Each service often becomes a separate repository with its own CI/CD pipeline.</li><li>Communication layers (RPC or message queues) add latency and require dedicated infrastructure.</li><li>Debugging distributed issues across multiple runtimes can slow iteration dramatically.</li></ul><p>For large organisations managing hundreds of engineers, these trade-offs may be acceptable. For lean, product-focused teams, they can be counterproductive.</p><p><strong>Our Design Philosophy</strong></p><p>We adopted a guiding principle: <em>microservice independence should not require microservice fragmentation.</em><br>Our goal was to achieve:</p><ul><li><strong>Operational separation</strong> without repo sprawl,</li><li><strong>Service isolation</strong> without message brokers, and</li><li><strong>Scalability </strong>without additional framework layers.</li></ul><p>The result was a <strong>modular monorepo</strong> where each subsystem — Web, Telephony, Realtime, Storage, and AI — runs as an independent runtime under a unified architecture.</p><p>At its core lies a simple <em>index.js</em> controller that reads an environment variable, determines the operational mode, and launches the relevant service(s). In production, each service runs as its own PM2 process or container. In development, MODE=ALL starts the entire platform at once, simplifying integration testing.</p><p><strong>Architectural Overview</strong></p><p>Each functional domain is defined within a self-contained directory structure:</p><pre>src/<br> ├── web/           → Express APIs, middleware, authentication<br> ├── telephony/     → FreeSWITCH integration and XML handlers<br> ├── realtime/      → WebSocket events and live queue updates<br> ├── storage/       → Object store management and file services<br> ├── ai/            → Natural language and routing components<br> ├── common/<br> │    ├── constants/ → Enums and application-level definitions<br> │    ├── services/  → Shared utilities (logger, DB, crypto)<br> │    └── models/    → Domain schemas and database interfaces<br> └── worker/         → Background processing and schedulers</pre><p>Each subsystem exports a simple startup function —<em> startWebServer()</em>, <em>startTelephonyServer()</em>, etc. — allowing PM2 or Docker to orchestrate runtime independence while maintaining a shared codebase. This approach achieves a hybrid of <strong>logical microservices</strong> and <strong>physical monolith</strong>, striking a balance between maintainability and operational efficiency.</p><p><strong>Key Advantages</strong></p><ol><li><strong>Isolation without Duplication<br></strong>Every subsystem is logically isolated yet built atop shared modules. This avoids duplication while maintaining strict service boundaries.</li><li><strong>Simplified Local Development<br></strong>Developers can spin up the full environment using a single command, removing the need for Docker Compose or complex Kubernetes configurations during local testing.</li><li><strong>Gradual Scalability<br></strong>When system load increases, each mode — such as Telephony or Realtime — can be scaled horizontally as an independent process, without structural refactoring.</li><li><strong>Unified Data and Domain Models<br></strong>All constants, validation rules, and schemas reside under /common, ensuring consistency across services and eliminating schema drift.</li><li><strong>Framework Independence<br></strong>Because it relies on native Node.js patterns, this design is transparent, debuggable, and easy to onboard new developers into — no dependency injection containers, no hidden decorators, no unfamiliar abstractions.</li></ol><p><strong>Trade-offs and Limitations</strong></p><p>This architectural style involves certain trade-offs, which we consider acceptable within our context:</p><ul><li><strong>Manual orchestration</strong> — service startup and monitoring rely on process managers like PM2 rather than a full service mesh.</li><li><strong>No automatic discovery or tracing</strong> — inter-service communication is explicit; distributed tracing is implemented manually via structured logs and Prometheus metrics.</li><li><strong>Discipline over enforcement </strong>— since the system does not impose hard boundaries, developers must consciously maintain modular separation and code hygiene.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ce7gP7Ga4wfkyhoA" /><figcaption>Photo by <a href="https://unsplash.com/@blenderdesigner?utm_source=medium&amp;utm_medium=referral">Sufyan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>These are manageable challenges for a small, technically disciplined team, particularly when compared to the operational overhead of managing a multi-repo architecture.</p><p><strong>Implementation Example</strong></p><p>A simplified excerpt from our root entry point demonstrates the concept:</p><pre>const { AppMode } = require(&quot;src/common/constants&quot;);<br>const startWebServer = require(&quot;src/web&quot;);<br>const startTelephonyServer = require(&quot;src/telephony&quot;);<br>const startRealtimeServer = require(&quot;src/realtime&quot;);<br>const startStorageServer = require(&quot;src/storage&quot;);<br>const startAIServer = require(&quot;src/ai&quot;);<br><br>switch (process.env.MODE) {<br>  case AppMode.WEB: startWebServer(); break;<br>  case AppMode.TELEPHONY: startTelephonyServer(); break;<br>  case AppMode.REALTIME: startRealtimeServer(); break;<br>  case AppMode.STORAGE: startStorageServer(); break;<br>  case AppMode.AI: startAIServer(); break;<br>  case AppMode.ALL: // for local testing<br>    [<br>      startWebServer, <br>      startTelephonyServer, <br>      startRealtimeServer, <br>      startStorageServer, <br>      startAIServer<br>    ].forEach(fn =&gt; fn());<br>}</pre><p>This design allows operational flexibility:</p><ul><li>Development teams can test all modules concurrently.</li><li>Production environments deploy isolated services with targeted scaling.</li><li>Faults in one subsystem do not cascade to others.</li></ul><p><strong>Strategic and Business Implications</strong></p><p>By designing for simplicity and transparency, we achieved both <strong>technical agility</strong> and <strong>operational efficiency</strong>:</p><ul><li>Deployment pipelines remain lightweight.</li><li>Infrastructure costs are lower since fewer services require dedicated nodes.</li><li>Teams can release updates more frequently without dependency bottlenecks.</li></ul><p>From a business perspective, this architecture enables ContactCentre Limited to deliver enterprise-grade reliability without enterprise-level overhead. It provides a pragmatic middle ground between monolithic and distributed paradigms — offering microservice-level scalability while retaining the manageability of a single repository.</p><p><strong>Lessons Learned</strong></p><ol><li><strong>Simplicity Scales Better Than Complexity</strong> — complexity compounds faster than performance benefits justify it.</li><li><strong>Boundaries Are Cultural, Not Just Architectural</strong> — even with modular code, team discipline remains the ultimate safeguard.</li><li><strong>Frameworks Are Tools, Not Rules</strong> — the absence of a framework can itself be a strategic advantage when teams understand their domain deeply.</li><li><strong>Transparency Outweighs Abstraction</strong> — when every developer can read and reason about the code, onboarding and debugging accelerate significantly.</li></ol><p><strong>Conclusion</strong></p><p>Microservices frameworks serve an important role in large-scale distributed systems, but not every product or organisation needs their full weight.</p><p>Our experience demonstrates that it is possible to achieve modularity, scalability, and reliability through architectural discipline and thoughtful simplicity.</p><p>By focusing on clarity, shared code integrity, and isolated runtimes, we built a system that is not anti-microservice — but rather <strong>post-framework</strong>.<br>It represents a pragmatic evolution: a design philosophy that privileges understanding and efficiency over convention.</p><p><em>ContactCentre Limited develops technology-driven solutions for call centres and customer engagement operations across Africa.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c858f530e1f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>