<?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 Dickens on Medium]]></title>
        <description><![CDATA[Stories by Dickens on Medium]]></description>
        <link>https://medium.com/@dickensjuma13?source=rss-985e5b17f059------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HiYExfq32pRsRWvCEm8YRw.jpeg</url>
            <title>Stories by Dickens on Medium</title>
            <link>https://medium.com/@dickensjuma13?source=rss-985e5b17f059------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:42:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dickensjuma13/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[We Don’t Need Another Coding Bootcamp. We Need More Builders.]]></title>
            <link>https://medium.com/@dickensjuma13/we-dont-need-another-coding-bootcamp-we-need-more-builders-f56e54c68978?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/f56e54c68978</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 10:25:41 GMT</pubDate>
            <atom:updated>2026-07-07T11:17:33.264Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JXDWsdxwnziA9-a8_m9tWw.jpeg" /></figure><p>Two months ago, <strong>Pamoja Tech Community</strong> celebrated the completion of its first Frontend Development cohort.</p><p>The graduates learned React, JavaScript, APIs, Git, and the skills needed to build modern web applications.</p><p>But there’s a question every tech community eventually faces:</p><p><strong>What happens after the tutorials end?</strong></p><p>For many aspiring developers, the journey stops at certificates, portfolio projects, and cloned applications that never reach real users. They know how to code, but they’ve never experienced what it’s like to build something that people actually need and are willing to pay for.</p><p>That’s where the next chapter begins.</p><h3>Introducing Cohort 2: Build. Launch. Get Paid.</h3><p>Instead of another classroom-style program, Cohort 2 is built around <strong>Project-Based Learning (PBL)</strong>.</p><p>The mission is simple:</p><p><strong>Build a real application that solves a real problem for people in Nairobi or Kenya, launch it publicly, acquire real users, and earn real revenue.</strong></p><p>Not fake projects.</p><p>Not tutorial apps.</p><p>Not “coming soon” landing pages.</p><p>Real products solving everyday problems.</p><p>Because software becomes meaningful the moment someone chooses to use it and even more meaningful when someone is willing to pay for it.</p><h3>Why This Matters</h3><p>The gap between knowing how to code and knowing how to build a successful product is enormous.</p><p>Writing code is only one part of the journey.</p><p>Developers also need to learn how to:</p><ul><li>Identify problems worth solving.</li><li>Talk to potential users before writing code.</li><li>Build only what matters.</li><li>Launch publicly.</li><li>Collect feedback.</li><li>Improve continuously.</li><li>Integrate payments.</li><li>Convince someone to become their first paying customer.</li></ul><p>These are the skills that create founders, product engineers, and startup builders not just programmers.</p><h3>Learning Like a Startup</h3><p>The program will bring together <strong>14 developers</strong>, organized into <strong>7 teams of two</strong>.</p><p>Why pairs?</p><p>Because early-stage startups are often built by two people.</p><p>Working alone becomes difficult when someone gets stuck on design, backend development, payments, or deployment. Larger teams can slow down decision-making and often lead to uneven contributions.</p><p>Pairs create accountability while allowing each developer to complement the other’s strengths.</p><h3>The 10-Week Journey</h3><p>Rather than building first and asking questions later, every team follows the same startup process.</p><p><strong>Weeks 1–2: Idea Validation</strong></p><p>Each team chooses a problem and interviews at least 5–10 potential users before writing code. The goal is to validate demand rather than build based on assumptions.</p><p><strong>Weeks 3–6: Build the MVP</strong></p><p>Teams focus on creating the smallest possible product that solves one clear problem. Simplicity is encouraged over feature-heavy applications.</p><p><strong>Week 7: Launch</strong></p><p>Every application goes live on the web, Google Play, or the App Store. Teams also integrate a payment solution such as M-Pesa Daraja or Stripe.</p><p><strong>Weeks 8–9: Growth Sprint</strong></p><p>Once the product is live, the real work begins. Teams gather feedback, fix issues, and actively acquire users.</p><p><strong>Week 10: Demo Day</strong></p><p>Instead of showcasing slides, teams present something far more valuable:</p><ul><li>A live product</li><li>Real users</li><li>Revenue generated</li><li>Lessons learned from building in public</li></ul><h3>Solving Problems That Actually Exist</h3><p>Rather than encouraging vague ideas like “the next Facebook” or “another marketplace,” the program focuses on practical solutions for everyday Kenyan challenges.</p><p>Some example projects include:</p><ul><li>A matatu fare and route finder.</li><li>A landlord-tenant rent and utility tracker.</li><li>A chama savings and loan management app.</li><li>Inventory management with M-Pesa reconciliation for small shops.</li><li>Hyper-local delivery within estates or markets.</li><li>School fee and parent communication systems.</li><li>Freelancer invoicing with integrated M-Pesa payment links.</li></ul><p>The common thread is simple:</p><p><strong>Solve one problem exceptionally well.</strong></p><p>Small, focused products often create more value than ambitious platforms that try to do everything.</p><h3>Learning Doesn’t Stop at Code</h3><p>Every team will receive ongoing mentorship throughout the program.</p><p>Weekly check-ins with experienced developers will help teams overcome technical and product challenges.</p><p>A shared community channel will make it easy to ask questions about backend architecture, UI design, deployment, or payment integration.</p><p>Guest sessions may cover topics such as:</p><ul><li>Integrating the M-Pesa Daraja API.</li><li>Pricing software products.</li><li>Finding your first ten users.</li><li>Turning customer feedback into product improvements.</li></ul><p>The objective is to expose participants to the realities of building software businesses not just writing software.</p><h3>A Different Kind of Prize</h3><p>The most exciting part of the program isn’t a trophy.</p><p>It’s growth.</p><p>Every team that successfully validates its product will receive a upto <strong>KES 50,000 marketing budget</strong> to continue growing their application.</p><p>To qualify, an app must:</p><ul><li>Be publicly accessible on the web, Google Play, or the App Store.</li><li>Have genuine users outside friends and family.</li><li>Demonstrate at least one real paying customer.</li></ul><p>This changes the definition of success.</p><p>Instead of rewarding the “best-looking app,” the program rewards traction.</p><p>That’s much closer to how the real startup ecosystem works.</p><p>Investors don’t fund code.</p><p>They fund evidence that people want what you’ve built.</p><h3>Measuring Success Differently</h3><p>Traditional training programs measure success by graduation rates.</p><p>This program measures something much more meaningful.</p><p>Success looks like:</p><ul><li>Every team launching an application.</li><li>Most teams acquiring active users.</li><li>Several teams earning their first revenue.</li><li>Developers finishing the program with the confidence to build products independently.</li></ul><p>Even if only two or three applications become profitable, that represents something extraordinary.</p><p>Those aren’t student projects anymore.</p><p>They’re businesses.</p><h3>The Bigger Vision</h3><p>Imagine running this program every year.</p><p>Seven new startups each cohort.</p><p>Twenty-one startups after three years.</p><p>Some will fail.</p><p>Some will pivot.</p><p>A few might grow into sustainable businesses that create jobs and solve real problems across Kenya.</p><p>More importantly, the developers who build them won’t leave with just technical skills.</p><p>They’ll leave knowing how to identify opportunities, validate ideas, launch products, and generate revenue.</p><p>That’s a completely different mindset.</p><h3>From Learners to Builders</h3><p>Kenya doesn’t need more developers who can follow tutorials.</p><p>It needs more people who can look at a local problem, build a solution, launch it, and prove that someone values it enough to pay.</p><p>That’s the transformation Pamoja Tech Community hopes to inspire with Cohort 2.</p><p>Not just teaching people how to code.</p><p>Teaching them how to build products that matter.</p><p>And perhaps, in the process, launching the next generation of Kenyan founders.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f56e54c68978" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Worked on Payments for Years. Here’s What Most Developers Get Wrong.]]></title>
            <link>https://medium.com/@dickensjuma13/i-worked-on-payments-for-years-heres-what-most-developers-get-wrong-070766808c17?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/070766808c17</guid>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[backend]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Mon, 29 Jun 2026 19:33:33 GMT</pubDate>
            <atom:updated>2026-06-29T19:33:33.907Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VRgXPvv6HQ78L-lCqFhe4w.jpeg" /><figcaption>unsplash</figcaption></figure><p>The first time I worked on a payment system, I thought the hardest part would be moving money from one account to another.</p><p>It wasn’t.</p><p>The hard part was making sure money never moved twice.</p><p>There’s a big difference.</p><p>When you’re building a social app, users might forgive a missing notification.</p><p>When you’re building an e-commerce platform, they might tolerate a slow page.</p><p>But if someone is charged twice, or money disappears into a state nobody understands, you’ve lost something much harder to recover.</p><p>Trust.</p><p>After several years building payment platforms, integrating providers, handling webhooks, and debugging production issues, I’ve realized that most payment bugs aren’t caused by complicated algorithms.</p><p>They’re caused by assumptions.</p><p>Here are a few that I’ve learned to question.</p><h3>“The payment provider will only send one webhook.”</h3><p>No.</p><p>They’ll retry.</p><p>Sometimes because your server took too long to respond.</p><p>Sometimes because they never received your acknowledgment.</p><p>Sometimes because their own systems had a temporary issue.</p><p>From their perspective, sending the webhook again is the safest thing to do.</p><p>From your perspective, it can create duplicate orders, duplicate emails, or even duplicate transactions if you’re not careful.</p><p>That’s why idempotency isn’t an optimization.</p><p>It’s a requirement.</p><p>Every payment request should have a unique identifier.</p><p>Every webhook should be safe to process multiple times.</p><p>If processing the same event twice changes the outcome, there’s a problem.</p><h3>Success doesn’t always happen in order.</h3><p>One of the biggest surprises for many developers is that payment systems don’t behave like normal APIs.</p><p>You send a request.</p><p>The provider accepts it.</p><p>A few seconds later a webhook arrives.</p><p>Or maybe it doesn’t.</p><p>Maybe it arrives before another request finishes.</p><p>Maybe it arrives twice.</p><p>Maybe it arrives ten minutes later because of a temporary outage.</p><p>Distributed systems don’t promise perfect timing.</p><p>Your application shouldn’t depend on it.</p><p>The safest systems assume events can arrive late, early, or more than once.</p><h3>A successful API response doesn’t mean the payment succeeded.</h3><p>This one catches a lot of people.</p><p>Getting a 200 response from a payment provider usually means one thing.</p><p>They received your request.</p><p>It doesn’t necessarily mean money was captured.</p><p>The actual outcome might depend on fraud checks, bank approval, customer authentication, or asynchronous processing.</p><p>If your application immediately marks an order as paid, you’re making a dangerous assumption.</p><p>Always separate “request accepted” from “payment completed.”</p><p>They’re different states.</p><h3>Never trust the client.</h3><p>Imagine a user taps the Pay button three times because nothing appears to happen.</p><p>Or their internet connection drops halfway through.</p><p>Or they refresh the page and submit the same request again.</p><p>Your backend should behave as though duplicate requests are completely normal.</p><p>Because they are.</p><p>Protect your payment flow with idempotency keys, proper locking where necessary, and state validation.</p><p>The goal isn’t to stop duplicate requests.</p><p>It’s to make duplicate requests harmless.</p><h3>Logs become your best friend.</h3><p>One thing I underestimated early in my career was observability.</p><p>When a customer says, “I paid but my order never arrived,” your logs become the only reliable source of truth.</p><p>You need to answer questions quickly.</p><p>When was the payment initiated?</p><p>Which webhook arrived?</p><p>Which service processed it?</p><p>What happened after that?</p><p>Without structured logs and clear audit trails, you’re left guessing.</p><p>Guessing is expensive when money is involved.</p><h3>Perfect code doesn’t guarantee a reliable payment system.</h3><p>I’ve seen beautifully written code fail because it assumed networks never timeout.</p><p>I’ve seen simple code run reliably for years because it expected failures from the beginning.</p><p>Payment systems aren’t built around success.</p><p>They’re built around recovery.</p><p>Retries.</p><p>Timeouts.</p><p>Duplicate events.</p><p>Temporary outages.</p><p>Human mistakes.</p><p>Those are the scenarios that matter.</p><h3>The biggest lesson</h3><p>I used to think building payment systems was about moving money.</p><p>Now I think it’s about protecting trust.</p><p>Every design decision should answer one question.</p><p>“What happens if this operation runs twice?”</p><p>If you can’t answer that confidently, you’re probably not ready for production.</p><p>Because users rarely remember when payments work.</p><p>They always remember when they don’t.</p><p>The best payment systems aren’t the ones that process transactions the fastest. They’re the ones that keep behaving correctly when everything around them starts failing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=070766808c17" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Didn’t Replace Senior Engineers. It Changed What We Get Paid For.]]></title>
            <link>https://medium.com/@dickensjuma13/ai-didnt-replace-senior-engineers-it-changed-what-we-get-paid-for-5203750f6485?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/5203750f6485</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Mon, 29 Jun 2026 19:14:03 GMT</pubDate>
            <atom:updated>2026-06-29T19:22:42.439Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vJhgYX6rLivaNK5w0xWfbg.png" /></figure><p>A few years ago, writing code was the hard part.</p><p>Today, it often isn’t.</p><p>I can describe a feature in plain English and get a working implementation in minutes. It might not be perfect, but it’s usually good enough to get started. That still amazes me.</p><p>The bottleneck has moved.</p><p>These days I spend less time writing code and a lot more time asking uncomfortable questions.</p><p>What happens if this request is retried?</p><p>Will this event arrive out of order?</p><p>What breaks if another service changes its payload next week?</p><p>Can we safely deploy this on Friday?</p><p>Those aren’t questions you answer by generating another hundred lines of code.</p><p>They’re questions that come from experience.</p><p>I think that’s why so many people are having the wrong conversation about AI replacing software engineers.</p><p>If your job was mostly turning tickets into code, then yes, the work has changed dramatically.</p><p>But if your job was designing systems, reviewing trade offs, debugging production failures, and making sure thousands of users never notice when something goes wrong, then AI hasn’t reduced the value of that work.</p><p>If anything, it has increased it.</p><h3>Writing code was never the whole job</h3><p>One thing that surprised me early in my career was how little time experienced engineers actually spend typing.</p><p>The engineers I learned the most from weren’t the fastest coders.</p><p>They were the ones asking questions nobody else had thought about.</p><p>They wanted to know how a feature would behave under heavy traffic.</p><p>They questioned whether an API contract would still make sense six months later.</p><p>They worried about monitoring before deployment instead of after an incident.</p><p>At the time, I thought they were overthinking everything.</p><p>Now I understand they were protecting the future.</p><h3>The hardest bugs don’t live in one repository</h3><p>One of the biggest lessons production teaches you is that the bug isn’t always where you’re looking.</p><p>A small change to one service can quietly affect three others.</p><p>A payment succeeds but the notification never arrives because a consumer failed to process an event.</p><p>Everything passes locally.</p><p>Every automated test is green.</p><p>Then customers start opening support tickets.</p><p>The problem isn’t that the code doesn’t work.</p><p>The problem is that software rarely exists in isolation.</p><p>Production systems are connected by assumptions. Those assumptions are usually invisible until one of them breaks.</p><p>AI can generate a service.</p><p>It doesn’t automatically understand the dozens of invisible decisions that keep an entire platform working together.</p><h3>Reviewing code has become harder than writing it</h3><p>This is probably the biggest shift I’ve noticed.</p><p>Generating code is getting cheaper.</p><p>Reviewing it is getting more expensive.</p><p>Not because the code looks bad.</p><p>Most of the time it looks clean.</p><p>Variable names make sense.</p><p>Functions are neatly organized.</p><p>Tests even pass.</p><p>The difficult part is figuring out whether the implementation fits the rest of the system.</p><p>Does it introduce duplicate business logic?</p><p>Does it violate an architectural decision made months ago?</p><p>Will it create race conditions under load?</p><p>Could retries create duplicate payments?</p><p>Will this change make debugging harder during an incident?</p><p>None of those questions are answered by looking at syntax.</p><p>They’re answered by understanding the system.</p><h3>Production doesn’t care how the code was written</h3><p>Users don’t care whether a feature was written by a person or generated in seconds.</p><p>They care whether their payment went through.</p><p>Whether their booking was confirmed.</p><p>Whether their data disappeared.</p><p>Whether the application stays available when traffic suddenly doubles.</p><p>Production has always been the final interview.</p><p>That hasn’t changed.</p><h3>The skills becoming more valuable</h3><p>The engineers who stand out today aren’t necessarily the ones who can write the most code in a day.</p><p>They’re the ones who can make good decisions when the answer isn’t obvious.</p><p>They know when consistency matters more than speed.</p><p>They know when an asynchronous workflow is worth the extra complexity.</p><p>They know which shortcut becomes tomorrow’s technical debt.</p><p>They know how to investigate an incident without making it worse.</p><p>They know how to simplify a system instead of adding another layer to it.</p><p>Those skills are difficult to measure in an interview.</p><p>They’re impossible to fake in production.</p><h3>What companies are really hiring for</h3><p>I don’t think companies are hiring fewer senior engineers because AI writes code.</p><p>I think they’re becoming more selective about what senior actually means.</p><p>Being senior has never been about knowing more frameworks than everyone else.</p><p>It’s about reducing risk.</p><p>Making sound technical decisions.</p><p>Helping other engineers move faster.</p><p>Seeing problems before they become outages.</p><p>Taking ownership when production isn’t behaving the way everyone expected.</p><p>That’s where the value has always been.</p><p>The tools have changed.</p><p>The responsibility hasn’t.</p><p>If anything, it has become even more important.</p><p>Because when generating software becomes easy, understanding software becomes the skill that matters most.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5203750f6485" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WhatsApp Is the New Front Desk: How I Built an AI Assistant for Salons]]></title>
            <link>https://medium.com/@dickensjuma13/whatsapp-is-the-new-front-desk-how-i-built-an-ai-assistant-for-salons-eae2ef455929?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/eae2ef455929</guid>
            <category><![CDATA[node-js-development]]></category>
            <category><![CDATA[whatsapp-business-api]]></category>
            <category><![CDATA[small-business-tools]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 17:01:56 GMT</pubDate>
            <atom:updated>2025-09-22T17:01:56.339Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*4rIkFOfeTbU9_y1fQ1GvyQ.jpeg" /><figcaption>crdit cm.com</figcaption></figure><h3>Introduction</h3><p>Walk into most salons in Nairobi, Kampala, or Dar es Salaam, and you’ll notice one thing right away: there’s no receptionist. The stylist is the one doing the hair, picking up the phone, replying to messages, and managing appointments.</p><p>For many of these businesses, WhatsApp has quietly become the front desk. Clients ask for prices, book appointments, reschedule, and even complain — all through WhatsApp. It’s simple, fast, and everybody already uses it.</p><p>But there’s a problem. Owners spend hours glued to their phones. They repeat the same answers to the same questions every day: “How much is braiding?” “Are you open tomorrow?” “Can I reschedule my appointment?” This eats into time they could be spending on clients or even resting.</p><p>That’s when I started thinking — what if WhatsApp could take care of these conversations automatically, but still feel natural and personal?</p><h3>The Problem</h3><p>Here’s what most salon owners told me:</p><ul><li>Sometimes they miss client messages because they’re busy working.</li><li>Late replies often mean lost bookings.</li><li>Answering the same questions over and over is exhausting.</li><li>Clients want WhatsApp, not another app or booking system.</li></ul><p>It’s not that these businesses don’t want to be organized. It’s just that the solutions out there don’t match how their clients behave. Everyone is on WhatsApp already.</p><h3>The Solution I Built</h3><p>I decided to build an AI WhatsApp assistant that could:</p><ul><li>Book appointments in real time.</li><li>Handle reschedules and cancellations.</li><li>Answer common client questions about services, prices, and opening hours.</li><li>Follow up with clients after their visit to ask for feedback or remind them to come back.</li></ul><p>The goal wasn’t to replace the salon owner, but to give them some breathing space. Instead of responding to “Hi, are you open today?” for the 50th time, the AI could step in and reply instantly.</p><h3>How It Works (Technical Walkthrough)</h3><p>I built the assistant with <strong>Node.js</strong>, connected it to the <strong>Meta WhatsApp API</strong>, and added an AI layer that makes the replies sound human. Here’s a simple breakdown:</p><p><strong>1. Connecting to WhatsApp</strong><br> First, I set up a WhatsApp Business app through Meta. This gave me an API where I could receive and send messages. Every time a client messages the salon, it hits a webhook in my Node.js server.</p><p><strong>2. Understanding the Message</strong><br> The server checks what the client wants. Is it a booking, a reschedule, a simple question about prices? I use some natural language processing to figure this out.</p><p><strong>3. AI + Business Knowledge</strong><br> The assistant uses AI with retrieval techniques to pull the right information. For example, if the business charges 2,000 KES for braids, the AI won’t make up a number; it fetches it from the salon’s own data. This keeps answers accurate and reliable.</p><p><strong>4. Booking Logic</strong><br> If it’s a new appointment, the AI checks the available slots in the database. If the client says, “Can I come at 2pm tomorrow?” the system checks and confirms or suggests another time.</p><p><strong>5. Follow-Up Messages</strong><br> After an appointment, the AI can send a friendly reminder or thank you message. For example: “Thank you for visiting today. We hope to see you again soon!”</p><p>Here’s a simplified Node.js snippet for handling incoming messages:</p><pre>app.post(&#39;/webhook&#39;, async (req, res) =&gt; {<br>  const message = req.body.entry[0].changes[0].value.messages[0];<br>  const from = message.from;<br>  const text = message.text.body;// Basic intent detection<br>  if (text.toLowerCase().includes(&#39;book&#39;)) {<br>    await sendWhatsAppMessage(from, &quot;Sure, what day and time works for you?&quot;);<br>  } else if (text.toLowerCase().includes(&#39;price&#39;)) {<br>    await sendWhatsAppMessage(from, &quot;Braids are 2000 KES, locs are 2500 KES.&quot;);<br>  } else {<br>    await sendWhatsAppMessage(from, &quot;Thank you for your message. We’ll assist you shortly.&quot;);<br>  } res.sendStatus(200);<br>});</pre><p>Of course, the real version is more advanced, with AI handling intent detection and calendar integration.</p><h3>Results</h3><p>Testing this with salon owners showed promising results:</p><ul><li>Clients got replies instantly, even at night.</li><li>Owners didn’t lose bookings just because they were too busy to reply.</li><li>Common questions like “how much is braiding” no longer ate up the owner’s time.</li></ul><p>One owner told me: <em>“Now I can actually do my work without constantly stopping to check my phone.”</em></p><h3>Lessons Learned</h3><ul><li>Clients type in all sorts of ways. Some say “2pm,” others say “after lunch.” Handling this flexibility is important.</li><li>AI must stay grounded in the salon’s actual data. If it makes up prices or times, clients lose trust.</li><li>There should always be a way for the owner to take over. AI should support, not fully replace, human touch.</li></ul><h3>Conclusion</h3><p>WhatsApp has already become the front desk for small businesses across East Africa. The only challenge is that it takes too much of the owner’s time.</p><p>By adding AI and some simple automation, we can give these business owners freedom. Freedom to serve their clients, freedom to grow, and maybe even freedom to rest.</p><p>For me, this was just the start. Next, I’ll be writing about the technical side in more detail, especially how to connect Node.js, the WhatsApp API, and AI models in a way that’s reliable.</p><p>Would you use an AI assistant like this for your business communications?</p><p>If this project speaks to you, I’d love to connect:</p><ul><li><strong>Devpost</strong>: <a href="https://devpost.com/dickensjuma13">Dickens Juma</a></li><li><strong>LinkedIn</strong>: <a href="https://linkedin.com/in/dickensjuma13">Dickens Juma</a></li></ul><p>Together, we can build technology that works and solves real problems in our community.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eae2ef455929" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Blackouts to Breakthroughs: Building a Solar-Powered AI Voice + USSD Assistant for Rural…]]></title>
            <link>https://medium.com/@dickensjuma13/from-blackouts-to-breakthroughs-building-a-solar-powered-ai-voice-assistant-for-rural-communities-44adea84f750?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/44adea84f750</guid>
            <category><![CDATA[solar-energy]]></category>
            <category><![CDATA[social-impact]]></category>
            <category><![CDATA[kenya]]></category>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 18:21:27 GMT</pubDate>
            <atom:updated>2025-08-22T19:07:54.087Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Blackouts to Breakthroughs: Building a Solar-Powered AI Voice + USSD Assistant for Rural Communities</h3><h3>When electricity fails or the internet vanishes, help should still be within reach.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_bRhsNw4hY461KdM54v5uA.avif" /></figure><h3>The Problem We’re Solving</h3><p>In many parts of Kenya and across Africa, blackouts and unreliable internet are everyday realities. Students lose study time, shopkeepers can’t process transactions, and health workers can’t access crucial information. In urban areas, you might switch to a data hotspot or power bank. But in rural regions? You wait, often in the dark.</p><p>Many of the people who need technology the most are the ones who can’t access it. That’s the gap we set out to close during the hackathon.</p><h3>The Idea: AI That Survives Blackouts and Ultracheap Phones</h3><p>We asked ourselves: <em>what if an assistant could serve both users with smartphones and those with basic feature phones, without needing internet or grid power?</em></p><p>The resulting idea was simple and bold:</p><ul><li><strong>Solar-powered setup</strong>: charges during the day and powers through the night.</li><li><strong>Voice assistant</strong>: accessible via voice for those who can speak but not read.</li><li><strong>USSD and SMS interface</strong>: works on feature phones, no internet required.</li><li><strong>Offline-aware backend</strong>: handles answers even when cloud connectivity fails.</li><li><strong>Low-cost and rugged</strong>: designed for deployment in schools, clinics, and community hubs without breaking the bank.</li></ul><p>This is not technology for luxury offices, it’s for places where resilience matters more than shiny features.</p><h3>Building the Prototype</h3><p>Here’s how we brought it to life:</p><h3>Hardware</h3><ul><li>Solar panel, battery, and charge controller for off-grid power.</li><li>Feature phones and, optionally, a Raspberry Pi for local voice interaction.</li><li>Rugged enclosures to handle dust, rain, and everyday wear.</li></ul><h3>Interfaces</h3><ul><li><strong>Voice interface</strong>: Users can ask questions, “How do I purify water?” and get audio responses.</li><li><strong>USSD interface</strong>: Dial in using codes like *384*123#; navigate options to ask a question.</li><li><strong>SMS fallback</strong>: If the session times out, the user can continue via SMS — keeping conversations alive even at the edge.</li></ul><h3>Backend</h3><ul><li><strong>USSD/SMS API gateway</strong>: Built using African’s Talking or Infobip.</li><li><strong>Server logic</strong>: Node.js or Python-based backend handles queries, consults AI (e.g., GPT-OSS or GPT-4) when internet is available, or serves cached answers when offline.</li></ul><h3>Challenges Along the Way</h3><ul><li><strong>Energy limitations</strong>: Managing solar and battery power to ensure reliable uptime was a balancing act.</li><li><strong>Network gaps</strong>: Sometimes, voice service and message delivery falter; the system had to handle dropped sessions gracefully.</li><li><strong>Message length</strong>: USSD screens hold limited text; we had to “compress” AI responses without losing clarity.</li><li><strong>Durability</strong>: Devices needed to withstand heat, dust, and rough handling in rural settings.</li></ul><p>Each challenge pushed us to innovate and keep the design practical and realistic.</p><h3>Why This Matters</h3><p>Technology should not only serve the connected. Imagine:</p><ul><li>A student in Turkana asking questions via USSD late at night.</li><li>A farmer in Kisii diagnosing crop disease via SMS.</li><li>Fishermen on Lake Victoria checking weather and market prices before heading out.</li><li>A health worker in Garissa verifying dosage even during a blackout.</li></ul><p>This isn’t “tech for tech’s sake.” It’s about <strong>inclusion</strong>, <strong>access</strong>, and <strong>serving humanity where the grid doesn’t reach</strong>.</p><h3>The Bigger Picture</h3><p>This pilot is just the beginning. With support, this could scale as a deployable kit for schools, clinics, fronts at markets anywhere feature phones and solar power are all that’s available.</p><p>Across the world, from remote communities to disaster zones, the future must include solutions that <em>survive without the grid</em>. AI should be resilient, not just impressive.</p><h3>Closing Thought</h3><p>Hackathons are fast, but this project feels timeless. It’s a step toward a future where no person is left behind by the digital divide, because even when the lights go out, help can still speak back.</p><p>If this idea speaks to you, I’d love to connect:</p><ul><li><strong>Devpost</strong>: <a href="https://devpost.com/dickensjuma13">Dickens Juma</a></li><li><strong>LinkedIn</strong>: <a href="https://linkedin.com/in/dickensjuma13">Dickens Juma</a></li></ul><p>Together, we can build technology that works not just in cities and boardrooms, but in homes and communities powered by the sun and GSM towers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44adea84f750" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scaling Kafka Consumers Safely: Best Practices for High-Throughput Systems]]></title>
            <link>https://medium.com/@dickensjuma13/scaling-kafka-consumers-safely-best-practices-for-high-throughput-systems-c1d0172ec80e?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1d0172ec80e</guid>
            <category><![CDATA[kafka-partitions-scaling]]></category>
            <category><![CDATA[scaling-kafka-consumers]]></category>
            <category><![CDATA[safe-kafka-scaling]]></category>
            <category><![CDATA[kafka-consumer-lag]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Sat, 09 Aug 2025 09:45:51 GMT</pubDate>
            <atom:updated>2025-08-09T09:52:47.946Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*FSvspn_V-r5wtmamrpYsig.png" /><figcaption>image credit : <a href="https://www.vinsguru.com/">https://www.vinsguru.com/</a></figcaption></figure><p>Apache Kafka is one of the most popular tools for building real-time, event-driven architectures. It’s blazing fast, distributed, and scalable — but when it comes to <strong>consumer scaling</strong>, things can get tricky.</p><p>A poorly designed scaling strategy can lead to:</p><ul><li>Duplicate processing,</li><li>Out-of-order messages,</li><li>Resource wastage,</li><li>Even data loss in extreme cases.</li></ul><p>In this article, we’ll explore:</p><ul><li><strong>How Kafka consumer scaling works</strong></li><li><strong>Common pitfalls when scaling</strong></li><li><strong>Proven strategies to scale safely</strong></li><li><strong>Example implementations in Java and Node.js</strong></li></ul><h3>How Kafka Consumer Scaling Works</h3><p>Before scaling, you must understand how <strong>Kafka partitions</strong> and <strong>consumer groups</strong> work:</p><ul><li><strong>Topic</strong> → Stores messages.</li><li><strong>Partitions</strong> → Each topic is split into one or more partitions.</li><li><strong>Consumer Group</strong> → A set of consumers working together on the same topic.</li></ul><p><strong>Key rule:</strong></p><blockquote><em>In a consumer group, </em><strong><em>only one consumer can read from a given partition at a time</em></strong><em>.</em></blockquote><p>This means:</p><ul><li>If your topic has <strong>4 partitions</strong>, adding <strong>more than 4 consumers in the same group</strong> won’t increase throughput — the extras will be idle.</li><li>If you <strong>increase partitions</strong>, you can scale consumers further.</li></ul><h3>Pitfalls When Scaling Kafka Consumers</h3><h3>1. Too Many Consumers, Not Enough Partitions</h3><p>Adding consumers without adding partitions wastes resources — idle consumers sit doing nothing.</p><h3>2. Rebalancing Storms</h3><p>When you add/remove consumers, Kafka <strong>rebalances</strong> — temporarily pausing consumption, which can cause delays.</p><h3>3. Duplicate Processing</h3><p>If a consumer crashes before committing offsets, messages can be reprocessed.</p><h3>4. Hot Partitions</h3><p>If one partition receives significantly more data, scaling won’t help until you fix the partitioning strategy.</p><h3>Strategies for Scaling Kafka Consumers Safely</h3><h3>1. Match Consumer Count to Partition Count</h3><p>Your scaling limit per topic is the number of partitions.</p><p><strong>Example:</strong></p><ul><li>6 partitions → Max 6 consumers per group.</li><li>To increase parallelism, <strong>increase partitions first</strong>.</li></ul><pre>bash<br><br>kafka-topics.sh --alter --topic orders --partitions 12 --bootstrap-server broker:9092</pre><h3>2. Use Multiple Consumer Groups for Independent Processing</h3><p>If two services need the same data, <strong>use separate consumer groups</strong> so each processes all messages independently.</p><h3>3. Avoid Unnecessary Rebalances</h3><p>Frequent scaling up/down causes <strong>consumer group rebalances</strong>, pausing consumption.</p><p><strong>Tip:</strong> Use Static Group Membership to keep consumer IDs stable and avoid full rebalances when scaling.</p><h3>4. Tune max.poll.records and Batch Processing</h3><p>Increase throughput by processing messages in batches rather than one-by-one.</p><p>Java example:</p><pre>java<br><br>props.put(ConsumerConfig.MAX_POLL_RECORDS_CONFIG, &quot;500&quot;);</pre><p>Node.js example with kafkajs:</p><pre>js<br>await consumer.run({<br>  eachBatch: async ({ batch }) =&gt; {<br>    for (const message of batch.messages) {<br>      await processMessage(message);<br>    }<br>  }<br>});</pre><h3>5. Commit Offsets Safely</h3><ul><li>Use <strong>enable.auto.commit=false</strong> and commit <strong>after processing</strong> to avoid duplicates.</li><li>But remember: committing too frequently adds overhead.</li></ul><p>Java example:</p><pre>java<br><br>consumer.commitSync();</pre><p>Node.js example:</p><pre>js<br><br>await consumer.commitOffsets([{ topic, partition, offset: (Number(message.offset) + 1).toString() }]);</pre><h3>6. Handle Consumer Lag Monitoring</h3><p>Scaling decisions should be based on <strong>consumer lag</strong> (how far behind you are).</p><p>Check lag:</p><pre><br>kafka-consumer-groups.sh --describe --group orders-group --bootstrap-server broker:9092</pre><p>If lag is consistently high:</p><ul><li>Add partitions (and matching consumers),</li><li>Optimize processing logic.</li></ul><h3>Scaling Patterns</h3><h3>Pattern 1: Horizontal Scaling</h3><ul><li>Add partitions → Add consumers → Spread load.</li><li>Best for <strong>throughput</strong>.</li></ul><h3>Pattern 2: Work Queue Pattern</h3><ul><li>Each partition acts as a queue → Consumers in a group split the work.</li><li>Best for <strong>parallelism</strong> with ordering preserved.</li></ul><h3>Pattern 3: Multi-Cluster Scaling</h3><ul><li>Use <strong>MirrorMaker 2.0</strong> to replicate data to another Kafka cluster for regional scaling or DR.</li></ul><h3>Example: Safe Scaling in Java</h3><pre>java<br><br>Properties props = new Properties();<br>props.put(&quot;bootstrap.servers&quot;, &quot;localhost:9092&quot;);<br>props.put(&quot;group.id&quot;, &quot;orders-group&quot;);<br>props.put(&quot;enable.auto.commit&quot;, &quot;false&quot;);<br>props.put(&quot;key.deserializer&quot;, &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;);<br>props.put(&quot;value.deserializer&quot;, &quot;org.apache.kafka.common.serialization.StringDeserializer&quot;);KafkaConsumer&lt;String, String&gt; consumer = new KafkaConsumer&lt;&gt;(props);<br>consumer.subscribe(Arrays.asList(&quot;orders&quot;));while (true) {<br>    ConsumerRecords&lt;String, String&gt; records = consumer.poll(Duration.ofMillis(100));<br>    for (ConsumerRecord&lt;String, String&gt; record : records) {<br>        process(record.value());<br>    }<br>    consumer.commitSync();<br>}</pre><h3>Summary: Safe Kafka Consumer Scaling</h3><ul><li><strong>Match consumers to partitions</strong> — Avoid idle consumers.</li><li><strong>Increase partitions for throughput</strong> — Unlock horizontal scaling.</li><li><strong>Use static membership</strong> — Prevent unnecessary rebalances.</li><li><strong>Tune batch size</strong> — Increase processing efficiency.</li><li><strong>Commit offsets after processing</strong> — Avoid duplicate processing.</li><li><strong>Monitor lag</strong> — Scale based on actual demand.</li></ul><h3>Final Thoughts</h3><p>Scaling Kafka consumers isn’t about “just adding more consumers”— it’s about <strong>balancing partitions, lag, and processing logic</strong>.</p><p>Done right, you can:</p><ul><li>Process millions of messages without duplication,</li><li>Keep latency low,</li><li>Avoid costly downtime from scaling mistakes.</li></ul><h3>Let’s Connect</h3><p>If you enjoyed this article or have thoughts to share, let’s connect!<br> I’m always happy to chat about <strong>Kafka</strong>, <strong>scalable backend design</strong>, <strong>fintech architecture</strong>, and <strong>real-world system performance</strong>.</p><p>🔗 Connect with me on <a href="https://www.linkedin.com/in/dickens-juma/">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1d0172ec80e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing Idempotent Payment Flows: A Guide for Developers]]></title>
            <link>https://medium.com/@dickensjuma13/designing-idempotent-payment-flows-a-guide-for-developers-d97d7cc3f8e5?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/d97d7cc3f8e5</guid>
            <category><![CDATA[idempotent-payment]]></category>
            <category><![CDATA[stripe-idempotency]]></category>
            <category><![CDATA[resilient-payment-backend]]></category>
            <category><![CDATA[designing-idempotent-apis]]></category>
            <category><![CDATA[duplicate-charges]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Fri, 08 Aug 2025 18:39:40 GMT</pubDate>
            <atom:updated>2025-08-09T09:49:36.723Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zza3p6_veKyEMDX2-j4pTg.jpeg" /><figcaption>image credit : <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fblog.bytebytego.com%2Fp%2Fpayment-system&amp;psig=AOvVaw2AAvhyAA3zYsHgufNWqSN4&amp;ust=1754764483278000&amp;source=images&amp;cd=vfe&amp;opi=89978449&amp;ved=0CBgQjhxqFwoTCKCW2qnt-44DFQAAAAAdAAAAABAE">Payment system — by Alex Xu — ByteByteGo Newsletter</a></figcaption></figure><p>Handling payments can be one of the most nerve-racking parts of building a software product. A slow API call, a poor network connection, or a browser refresh can easily cause the same payment request to be submitted multiple times. Without proper handling, this can lead to <strong>duplicate charges</strong>, <strong>broken user experiences</strong>, and even <strong>loss of trust</strong>.</p><p>That’s why <strong>idempotency</strong> is crucial in designing payment systems.</p><p>In this article, I’ll walk you through:</p><ul><li>What idempotency means (with examples),</li><li>Why it’s essential in payment flows,</li><li>How to design idempotent payment APIs,</li><li>Real-world implementation tips using Stripe and Node.js.</li></ul><p>Whether you’re building a checkout page or a backend for a fintech product, this guide is for you.</p><h3>What Is Idempotency?</h3><p>In simple terms, <strong>idempotency</strong> means that <strong>performing the same action multiple times has the same effect as performing it once</strong>.</p><p>In HTTP terms:</p><ul><li>A <strong>GET</strong> request is typically idempotent — calling it many times won’t change the state.</li><li>A <strong>POST</strong> request is <strong>not</strong> idempotent by default — calling it multiple times could create duplicates.</li></ul><p>But when dealing with <strong>payments</strong>, you need your <strong>POST</strong> request (like POST /charge) to behave <strong>idempotently</strong>.</p><h3>Why Idempotency Matters in Payments</h3><p>Let’s say a user clicks “<strong>Pay Now”</strong> on your app, and the browser freezes or the network hiccups. The user clicks again.</p><p>Without safeguards:</p><ul><li>Your server processes the <strong>same payment</strong> twice.</li><li>The customer gets charged twice.</li><li>You now have to deal with refunds and angry emails.</li></ul><h4>Real-World Consequences:</h4><ul><li>Double charges hurt user trust.</li><li>Duplicate records complicate reconciliation.</li><li>Payment providers may flag suspicious activity.</li></ul><h3>Designing an Idempotent Payment Flow</h3><h3>1. Require an Idempotency Key from the Client</h3><p>Clients should generate and send a <strong>unique identifier</strong> (idempotency-key) for each user intent to pay.</p><pre>POST /api/payments<br>Headers:<br>  Idempotency-Key: f8c1d2e3-7c88-4b6c-8b88-a832d0d820d7</pre><p>This key should:</p><ul><li>Be <strong>UUID-based</strong> or uniquely tied to the session/order.</li><li>Stay the <strong>same for retries</strong> of the <em>same</em> operation.</li><li>Change for a new user intent.</li></ul><h3>2. Store the Idempotency Key in Your Backend</h3><p>When your server receives a payment request:</p><ul><li>First, <strong>check if that </strong><strong>idempotency-key has already been processed.</strong></li><li>If it has, <strong>return the saved result.</strong></li><li>If not, <strong>process the payment</strong> and <strong>store the result with the key.</strong></li></ul><h3>3. Only Process If Not Already Done</h3><pre><br>// Pseudo-code using Node.js + MongoDB<br>const existingPayment = await db.payments.findOne({ idempotencyKey });<br><br>if (existingPayment) {<br>  return res.status(200).json(existingPayment.result);<br>}<br>// Process payment<br>const result = await processWithStripe(amount, customerId);<br>// Save<br>await db.payments.insertOne({<br>  idempotencyKey,<br>  result,<br>  createdAt: new Date(),<br>});<br>return res.status(200).json(result);</pre><h3>Real Example with Stripe (Node.js)</h3><p>Stripe has <strong>built-in support for idempotency</strong> via headers. Here’s how:</p><pre><br>const stripe = require(&#39;stripe&#39;)(process.env.STRIPE_SECRET_KEY);<br><br>const paymentIntent = await stripe.paymentIntents.create({<br>  amount: 1000,<br>  currency: &#39;usd&#39;,<br>  customer: &#39;cus_xyz&#39;,<br>}, {<br>  idempotencyKey: &#39;f8c1d2e3-7c88-4b6c-8b88-a832d0d820d7&#39;,<br>});</pre><p>Even if this API call is made <strong>twice</strong>, Stripe will return the <strong>same PaymentIntent</strong> for the same idempotencyKey.</p><blockquote><em>Tip: Stripe stores idempotency keys for </em><strong><em>24 hours</em></strong><em>.</em></blockquote><h3>Best Practices for Idempotent Payment Systems</h3><h3>Always Use a Unique Idempotency Key Per Intent</h3><p>Don’t use the same key across different user sessions or checkout attempts.</p><h3>Store Idempotency Keys with Expiry</h3><p>Keep them for 24–48 hours. Expire them automatically to save storage.</p><h3>Ensure Your Operation Is Truly Idempotent</h3><ul><li>Do not create new rows or resources if the operation was already done.</li><li>Always return the <strong>same response</strong> for the same idempotency-key.</li></ul><h3>Protect Against Replay Attacks</h3><p>Validate the user session or signature alongside the idempotency key to avoid abuse.</p><h3>Idempotency Patterns Beyond Payments</h3><p>Idempotency is also useful in:</p><ul><li><strong>Signup endpoints</strong> (avoid creating duplicate accounts)</li><li><strong>Webhook receivers</strong> (prevent re-processing)</li><li><strong>Order submission</strong> (avoid duplicate orders)</li></ul><p>Wherever a POST or PATCH operation causes a <strong>side effect</strong>, think <strong>idempotency</strong>.</p><h3>Debugging Idempotency Issues</h3><h3>Problem: Duplicate Charges Still Happening</h3><ul><li>Check if the same idempotency-key was sent.</li><li>Confirm that your DB lookup is working correctly.</li><li>Ensure no race conditions in DB writes.</li></ul><h3>Tip: Log All Incoming Idempotency Keys</h3><p>This helps track client behavior and issues.</p><h3>Summary</h3><p>Designing <strong>idempotent payment flows</strong> isn’t just good engineering — it’s critical for business integrity.</p><h3>Final Thoughts</h3><p>Building reliable payment systems is all about <strong>handling the unexpected gracefully</strong>.<br> Designing for idempotency isn’t optional — it’s a <strong>requirement</strong> in any robust payment flow.</p><p>As a developer, getting this right means:</p><ul><li>Happier users,</li><li>Fewer support tickets,</li><li>Cleaner finance ops.</li></ul><h3>Was this helpful?</h3><p>Follow me for more deep dives on building <strong>resilient backend systems</strong>, <strong>fintech architectures</strong>, and <strong>Node.js best practices</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d97d7cc3f8e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I Switched From Fresha to Spark — And Why You Might Want To, Too]]></title>
            <link>https://medium.com/@dickensjuma13/why-i-switched-from-fresha-to-spark-and-why-you-might-want-to-too-6fc36cc9279a?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fc36cc9279a</guid>
            <category><![CDATA[ai-in-business]]></category>
            <category><![CDATA[small-business-in-kenya]]></category>
            <category><![CDATA[whatsapp-automation]]></category>
            <category><![CDATA[customer-experience]]></category>
            <category><![CDATA[salon-and-spa-management]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 16:16:21 GMT</pubDate>
            <atom:updated>2025-08-07T16:16:21.444Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why I Switched From Fresha to Spark — And Why You Might Want To, Too</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PyXTcqFIajZJYyAhwTOn7w.png" /></figure><p>Kenyan salons and spas face real pressure: demanding clients, high staff turnover, and little room for error. Here’s how tech is changing that. Like many salon owners, I started with <strong>Fresha</strong>. It’s sleek, international, and seemed to offer everything I needed. But over time, I found myself asking: <em>Is there something better for local businesses like mine?</em></p><p>The answer turned out to be <strong>yes</strong> — and it’s called <a href="https://spark.co.ke/for-business"><strong>Spark</strong></a>.</p><h3>Fresha Is Good, But It’s Not Built for Kenyan Businesses</h3><p>Let’s be honest: <strong>Fresha</strong> is polished and global. You get appointment booking, a POS, and inventory management. For many salons, that’s enough to get started.</p><p>But for those of us running salons in Kenya, we need more than just booking software. We need tools that match how we actually run our businesses — dealing with things like <strong>bulk SMS</strong>, <strong>staff cash advances, Loyalty programs, payroll</strong>, and clients who expect <strong>birthday reminders</strong>.</p><p>Fresha doesn’t fully cater to that.</p><h3>What Spark Offers That Made Me Switch</h3><p>Here’s what stood out to me — and why Spark became my go-to:</p><h3>1. 🎁 Loyalty &amp; Birthday SMS That Actually Work</h3><p>Spark helps me reward loyal clients and keep them coming back. I can send <strong>automated birthday wishes</strong>, promotions, and even <strong>bulk SMS</strong> blasts during slow seasons. It’s all built in — no extra integrations needed.</p><h3>2. 📍 Smart Staff Management with Geo-Fencing</h3><p>With Spark, I can track when my staff arrive and leave the premises using <strong>geo-fencing</strong>. This reduces time theft and improves accountability — something I never had with Fresha.</p><h3>3. 🧾 Payroll, Advances, and Loans — All Inside the Platform</h3><p>Managing staff payments used to be a nightmare. Spark lets me process <strong>payroll</strong>, track <strong>staff loans</strong>, and even give <strong>advances</strong> — all while keeping accurate records. Fresha doesn’t touch this.</p><h3>4. 📊 Real-Time Profit &amp; Loss Tracking</h3><p>Spark automatically tracks <strong>inventory usage</strong>, calculates costs, and gives me a <strong>real-time view of profit and loss</strong> — per service, per day, per stylist. It’s like having a financial advisor built into the system.</p><h3>5. 🛍️ Built-In eCommerce for Supplies</h3><p>Need to order shampoo, towels, or beauty supplies? Spark has an <strong>eCommerce shop</strong> where salon owners can order vetted beauty products at wholesale prices. It’s one click away inside the platform.</p><h3>6. 📉 End-of-Month Reports That Make Sense</h3><p>Every month, Spark gives me clean, clear <strong>financial summaries</strong>, service breakdowns, top staff performance, and more. This helps me make smarter decisions — not just guess based on busy days.</p><h3>7. AI WhatsApp Booking Assistant — Because Customers Hate Being Ignored</h3><p>Let’s face it — most small businesses are too busy to reply to customer messages instantly. Whether you’re in the middle of serving a client or closed for the day, delayed responses can cost you bookings.</p><p>Spark solves this with a game-changer: an <strong>AI-powered WhatsApp assistant</strong> that knows your business inside out. It chats like a real human, understands your services, and handles customer queries 24/7. It can:</p><ul><li><strong>Book appointments</strong></li><li><strong>Reschedule or cancel bookings</strong></li><li><strong>Check available slots</strong></li><li><strong>Offer discounts and promotions</strong></li><li><strong>Answer common questions</strong></li><li><strong>Recommend services</strong></li></ul><p>No more missed clients or frustrated DMs. It’s like having a full-time receptionist — on WhatsApp — who never sleeps.</p><h3>💸 Simple, Transparent Pricing</h3><p>We’ve designed Spark’s pricing to grow with your business — from solo professionals to busy salons and multi-location brands.</p><h4>Freelance — KES 0/month</h4><ul><li>Online booking and scheduling</li><li>Client management</li><li>1 staff member</li><li>SMS notifications</li><li>Client reviews</li></ul><h4>Freelance Pro — KES 1,000/month</h4><p>Everything in Freelance, plus:</p><ul><li>200 bulk SMS</li><li>Limited gallery (up to 50 images)</li><li>Sales reports</li><li>Loyalty programs</li></ul><h4>Professional — KES 2,500/month (Most Popular)</h4><p>Everything in Freelance Pro, plus:</p><ul><li>Staff management</li><li>Staff performance tracking</li><li>Commission management</li><li>Inventory management</li></ul><h4>Professional Plus — KES 3,500/month</h4><p>Everything in Professional, plus:</p><ul><li>E-commerce support</li><li>Profit &amp; loss reports</li><li>Proof of payment uploads</li><li>Up to 1,000 bulk SMS</li></ul><h4>Enterprise — KES 4,500/month</h4><p>Everything in Professional Plus, plus:</p><ul><li>Multi-location support (up to 3 locations)</li><li>Staff clock-in/out system</li><li>Up to 3,000 bulk SMS</li></ul><p>We also offer annual billing options for those looking to save more in the long run.</p><h3>Built for Kenyan Beauty Businesses</h3><p>Unlike global tools that try to serve everyone, Spark is <strong>designed for salons and spas in Kenya</strong>. That means:</p><ul><li>Local payment methods</li><li>Bulk SMS integration with Kenyan telcos</li><li>Support that actually picks your call</li></ul><h3>💰 Simple, Transparent Pricing — Pick What Fits</h3><p>Whether you’re just starting out or running a growing beauty business, Spark has a plan designed to scale with you.</p><p>I still respect what Fresha offers. But Spark is made for people like me — small and growing salon owners in Kenya who want to run a professional, profitable, and modern business without the guesswork.</p><p>If you’re serious about growing your salon, barbershop, or spa, <strong>I’d highly recommend giving Spark a try</strong>.</p><h3>🔗 <a href="https://spark.co.ke/for-business">Try Spark for Free</a></h3><p>Whether you’re running a nail studio in Westlands or a full-service salon in Kisumu, Spark is built to help your business <strong>grow</strong>, <strong>retain customers</strong>, and <strong>increase profits</strong> — without the stress.</p><p><em>Disclaimer: I’m a happy Spark user who made the switch after using Fresha. This article is based on personal experience running a beauty business in Kenya.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fc36cc9279a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WhatsApp Is the New Front Desk: Why Kenyan SMEs Should Take It Seriously (and How to Automate It…]]></title>
            <link>https://medium.com/@dickensjuma13/whatsapp-is-the-new-front-desk-why-kenyan-smes-should-take-it-seriously-and-how-to-automate-it-44e4eba2a30b?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/44e4eba2a30b</guid>
            <category><![CDATA[customersupporttool]]></category>
            <category><![CDATA[kenyan-startups]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[whatsapp-business]]></category>
            <category><![CDATA[small-business-automation]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Mon, 30 Jun 2025 10:41:19 GMT</pubDate>
            <atom:updated>2025-06-30T10:41:19.400Z</atom:updated>
            <content:encoded><![CDATA[<h3>WhatsApp Is the New Front Desk: Why Kenyan SMEs Should Take It Seriously (and How to Automate It with Node.js)</h3><figure><img alt="Credit Photo cm.com" src="https://cdn-images-1.medium.com/max/804/1*MZr4DUcA3QwUyHCg4jENRA.png" /></figure><blockquote>“If your business isn’t on WhatsApp, you’re already missing customers.”</blockquote><p>In Kenya and across East Africa, WhatsApp is no longer just for family groups or checking memes. It’s become the <strong>go-to communication tool</strong> for customers trying to book appointments, ask for prices, follow up on deliveries, or even lodge complaints.</p><p>But while many small and medium businesses (SMEs) are already using WhatsApp casually, <strong>very few are using it smartly</strong>.</p><p>As a software developer working with East African businesses, I’ve seen how WhatsApp can <strong>transform how SMEs operate</strong> and how integrating Meta’s WhatsApp API using Node.js can automate operations and boost efficiency without breaking the bank.</p><p>In this guide, I’ll walk you through:</p><ul><li>Why WhatsApp is now your digital front desk</li><li>How to use it strategically as a business tool</li><li>A step-by-step guide to integrating Meta’s WhatsApp API with Node.js</li></ul><h3>Why WhatsApp Is Replacing the Traditional Front Desk</h3><p>Let’s be honest: people don’t want to call your business or fill out a long form. They just want to text and get a quick answer.</p><p>Here’s what customers use WhatsApp for:</p><ul><li>Booking hair and beauty appointments</li><li>Asking for product prices or availability</li><li>Getting directions or opening hours</li><li>Making support inquiries</li><li>Confirming payments or deliveries</li></ul><p>In short: <strong>WhatsApp is your new receptionist.</strong></p><h3>The Problem? Most SMEs Are Still Doing It Manually</h3><p>Here’s what’s common:</p><ul><li>Using a personal WhatsApp account for business</li><li>No auto-responses or message templates</li><li>Missing customer messages during off-hours</li><li>No system for tracking follow-ups</li></ul><p>This is where automation comes in. And that’s where <strong>developers</strong> can help.</p><h3>Enter Meta’s WhatsApp Business API</h3><p>The WhatsApp Business API lets you:</p><ul><li><strong>Send automated replies</strong></li><li><strong>Use message templates</strong> for FAQs, confirmations, etc.</li><li><strong>Integrate with CRMs and booking systems</strong></li><li>Handle chats via chatbot or backend system</li></ul><p>But you need a bit of setup: a verified business number, Meta Developer access, and a system (like Node.js) to handle requests.</p><h3>How to Integrate Meta WhatsApp API with Node.js (Step-by-Step)</h3><p>Here’s a simple walkthrough to help you get started.</p><h3>What You’ll Need</h3><ul><li>Meta Developer account: https://developers.facebook.com</li><li>WhatsApp Business number (registered)</li><li>Node.js and Express</li><li>ngrok or cloud server to expose your webhook</li></ul><h3>Step 1: Set Up the Project</h3><pre>mkdir whatsapp-node &amp;&amp; cd whatsapp-node<br>npm init -y<br>npm install express axios body-parser dotenv</pre><p>Create a .env file:</p><pre>WHATSAPP_TOKEN=your_access_token_here<br>PHONE_NUMBER_ID=your_phone_number_id_here</pre><h3>🔧 Step 2: Create Your WhatsApp Sender API</h3><p>server.js:</p><pre>const express = require(&quot;express&quot;);<br>const axios = require(&quot;axios&quot;);<br>const bodyParser = require(&quot;body-parser&quot;);<br>require(&quot;dotenv&quot;).config();</pre><pre>const app = express();<br>app.use(bodyParser.json());</pre><pre>app.post(&quot;/send-message&quot;, async (req, res) =&gt; {<br>  const { to, message } = req.body;<br>  try {<br>    const response = await axios.post(<br>      `https://graph.facebook.com/v19.0/${process.env.PHONE_NUMBER_ID}/messages`,<br>      {<br>        messaging_product: &quot;whatsapp&quot;,<br>        to,<br>        type: &quot;text&quot;,<br>        text: { body: message }<br>      },<br>      {<br>        headers: {<br>          Authorization: `Bearer ${process.env.WHATSAPP_TOKEN}`,<br>          &quot;Content-Type&quot;: &quot;application/json&quot;<br>        }<br>      }<br>    );<br>    res.send(response.data);<br>  } catch (err) {<br>    console.error(&quot;Error:&quot;, err.response?.data || err.message);<br>    res.status(500).send(&quot;Something went wrong.&quot;);<br>  }<br>});</pre><pre>app.listen(3000, () =&gt; console.log(&quot;Running on port 3000&quot;));</pre><h3>Step 3: Test It</h3><p>Using Postman or curl:</p><pre>curl -X POST http://localhost:3000/send-message \<br>-H &quot;Content-Type: application/json&quot; \<br>-d &#39;{&quot;to&quot;: &quot;2547xxxxxxxx&quot;, &quot;message&quot;: &quot;Hello from your new WhatsApp bot!&quot;}&#39;</pre><p>If everything works well, your customer will receive a message in seconds.</p><h3>What You Can Build With This</h3><p>Once you’re integrated, here are <strong>real-world use cases for Kenyan SMEs</strong>:</p><ul><li>Auto-confirmation after booking (e.g. salons, clinics, wholesalers, customer care)</li><li>Reminders a day before the appointment</li><li>“Your order is on the way” notifications</li><li>WhatsApp-based customer support bots</li><li>Payment follow-ups</li></ul><p>You can even connect it with services like <strong>Infobip</strong>, <strong>Twilio</strong>, or <strong>direct webhook flows</strong> for more advanced setups.</p><h3>Real Talk: What to Watch Out For</h3><ul><li>You need <strong>opt-in</strong> from users to send them messages</li><li>Meta approves message templates before use</li><li>You can’t just broadcast you must be structured</li><li>Stick to value-first messaging to avoid being blocked</li></ul><h3>Local Insight: Why This Matters in Kenya &amp; East Africa</h3><p>In Kenya, everyone is on WhatsApp from mama mbogas to university students to busy parents. <strong>It’s the fastest path to your customer’s pocket.</strong></p><p>We don’t always have time to navigate websites or apps. But if you can offer real-time, WhatsApp-based service, you win trust and business.</p><h3>Final Take: Make WhatsApp Work for You</h3><p>WhatsApp is no longer optional. It’s your new front desk, your marketing tool, your support channel.</p><p>Whether you’re a salon owner in Westlands or a logistics startup in Kisumu, this tool will put you ahead. And if you’re a developer? You can build solutions for hundreds of businesses like these.</p><h3>Want to Build This?</h3><p>I’m Dickens a Kenyan software engineer helping SMEs automate their operations. If you’d like to build a WhatsApp integration or explore conversational AI for your business,<a href="https://www.linkedin.com/in/dickens-juma/"> <strong>feel free to connect</strong></a>.</p><h3>Let’s Keep the Conversation Going</h3><ul><li>Want a more advanced WhatsApp setup?</li><li>Need a bot that handles bookings or customer queries?</li><li>Curious how WhatsApp + AI can scale your support?</li></ul><p>Just drop a message. I might even reply via WhatsApp</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44e4eba2a30b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scaling a Fintech API with Node.js and Redis Part 2: Real-World Challenges & Optimizations]]></title>
            <link>https://medium.com/@dickensjuma13/scaling-a-fintech-api-with-node-js-and-redis-part-2-real-world-challenges-optimizations-5857af32acd2?source=rss-985e5b17f059------2</link>
            <guid isPermaLink="false">https://medium.com/p/5857af32acd2</guid>
            <category><![CDATA[idempotency]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[rate-limiting]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[fintech-startups]]></category>
            <dc:creator><![CDATA[Dickens]]></dc:creator>
            <pubDate>Tue, 24 Jun 2025 19:03:36 GMT</pubDate>
            <atom:updated>2025-06-24T19:03:36.111Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yWYK-hQnnpj_qnNUnxwFXg.jpeg" /></figure><p>In the first article, I broke down the big-picture design for <a href="https://medium.com/@dickensjuma13/building-a-scalable-fintech-api-with-node-js-and-redis-b6d489e2c5a7"><strong>building a fintech API using Node.js and Redis</strong></a>. The feedback from readers was really encouraging, and one comment, in particular, stood out:</p><blockquote><em>“The article does a good job outlining the high-level design of a scalable fintech API, but it could have delved a bit deeper into specific technical challenges or optimizations. Some real-world examples or trade-offs would have made it more insightful.”</em></blockquote><p>So here we are. This follow-up article is me taking things a notch deeper. I’ll walk you through the actual engineering hurdles we faced when taking such a system to production: what worked, what didn’t, and what lessons we picked up along the way. Real stories, real trade-offs, and a few clever tricks you can hopefully apply to your own fintech build. Rate Limiting and Abuse Prevention</p><h3>1. Rate Limiting and Abuse Prevention</h3><p><strong>The Challenge:</strong></p><p>Fintech APIs often handle sensitive and high-value operations, like sending money or initiating payments. We had to deal with scenarios where malicious users would attempt brute-force attacks or flood endpoints.</p><p><strong>Our Solution:</strong></p><p>We implemented a token bucket algorithm using Redis. The atomicity of Redis INCR commands and support for key expiry (EXPIRE) made it ideal for short-term rate limits.</p><pre>const rateLimitKey = `rl:${userId}`;<br>const current = await redis.incr(rateLimitKey);<br>if (current === 1) redis.expire(rateLimitKey, 60);<br>if (current &gt; 100) throw new Error(&quot;Rate limit exceeded&quot;);</pre><p><strong>Trade-offs:</strong></p><ul><li>Per-IP vs. per-user limits: We chose user-based to protect against credential abuse.</li><li>Granularity: A 60-second window provided a balance between security and UX.</li><li>Simpler models (fixed window) might fail during high concurrency; token bucket offers smoother limiting.</li></ul><p><strong>Tip:</strong> Consider adding a circuit breaker pattern in tandem with rate limiting to automatically disable endpoints under attack.</p><h3>2. Data Consistency in Distributed Systems</h3><p><strong>The Challenge:</strong></p><p>In a microservices setup, achieving strong consistency for payment-related data is tricky. Imagine a scenario where a transaction is marked as complete in one service but not updated in another.</p><p><strong>Our Solution:</strong></p><p>We used Redis to store short-lived locks during critical updates, along with idempotency keys to prevent duplicate transactions.</p><pre>const lockKey = `txn-lock:${txnId}`;<br>const lock = await redis.set(lockKey, &quot;locked&quot;, &quot;NX&quot;, &quot;EX&quot;, 30);<br>if (!lock) throw new Error(&quot;Transaction in progress&quot;);</pre><p><strong>Trade-offs:</strong></p><ul><li>Increased memory usage in Redis.</li><li>Need for cleanup mechanisms for failed/expired keys.</li><li>Lock contention under high volume if timeouts aren’t fine-tuned.</li></ul><p><strong>Extra Insight:</strong> Consider introducing a distributed transaction coordinator or using the Saga pattern for rollback logic across services.</p><h3>3. Queued Architecture for Unreliable Gateways</h3><p><strong>The Challenge:</strong></p><p>Some third-party payment gateways had unpredictable response times, sometimes taking 5–10 seconds.</p><p><strong>Our Solution:</strong></p><p>We decoupled our API from the actual payment execution using Redis-backed queues powered by Bull. Requests returned immediately with a status of “processing,” and workers picked up the job in the background.</p><p><strong>Optimizations:</strong></p><ul><li>Worker pool size tuning.</li><li>Retry strategies with exponential backoff.</li><li>Dead-letter queues for failed jobs.</li></ul><p><strong>Trade-offs:</strong></p><ul><li>Slight increase in complexity.</li><li>Users had to poll or subscribe to webhooks for final status.</li></ul><p><strong>Extra Insight:</strong> When using Redis queues at scale, ensure proper job deduplication and queue partitioning (e.g., by service or business unit) to avoid bottlenecks.</p><h3>4. Performance Monitoring and Bottleneck Detection</h3><p><strong>The Challenge:</strong></p><p>As we scaled, certain API endpoints began to slow down. Traditional logging didn’t surface root causes effectively.</p><p><strong>Our Stack:</strong></p><ul><li>Prometheus + Grafana for real-time metrics.</li><li>Redis INFO for queue stats.</li><li>autocannon and clinic.js for load testing and CPU profiling.</li></ul><p><strong>Key Insight:</strong> We discovered N+1 query issues in reporting APIs and solved them by batching DB queries or caching results in Redis.</p><p><strong>Extra Tip:</strong> Use APM tools (like Datadog or New Relic) to drill down into transaction traces and identify slow segments within async workflows.</p><h3>5. Security and Compliance Considerations</h3><p><strong>The Challenge:</strong></p><p>Handling Personally Identifiable Information (PII) requires compliance with data protection regulations.</p><p><strong>Our Solution:</strong></p><p>Redis was used primarily for ephemeral data, but even then, we ensured encryption at rest and in transit. Where necessary, PII was hashed before storing temporarily.</p><p><strong>Trade-offs:</strong></p><ul><li>Tokenization added latency.</li><li>Integration with external vaults (e.g., AWS KMS) increased cost.</li><li>Logging and monitoring had to be scrubbed of PII, complicating debugging.</li></ul><p><strong>Extra Insight:</strong> Implement field-level encryption and access control policies across both Redis and DB layers for more robust defense-in-depth.</p><h3>6. Redis Deployment Considerations</h3><p><strong>The Challenge:</strong></p><p>As API usage grew, we needed to move from a single Redis instance to a more resilient setup.</p><p><strong>Our Solution:</strong></p><p>We migrated to Redis Sentinel for high availability. For certain use cases, we explored Redis Cluster to scale horizontally.</p><p><strong>Trade-offs:</strong></p><ul><li>More complex operational overhead.</li><li>Not all Redis commands are cluster-compatible.</li><li>Failover tuning (e.g., down-after-milliseconds) is critical for reliability.</li></ul><p><strong>Extra Tip:</strong> Monitor key eviction stats and use Redis namespaces (prefixes) to separate logical data for better maintainability.</p><h3>Lessons Learned</h3><ul><li><strong>Redis is powerful, but not a silver bullet.</strong> Know when to use it, for short-lived, high-speed data.</li><li><strong>Idempotency is non-negotiable</strong> in fintech APIs.</li><li><strong>Observability isn’t optional.</strong> Invest early in monitoring and alerting.</li><li><strong>Scalability ≠ speed.</strong> Design APIs to degrade gracefully under load.</li><li><strong>Retries must be idempotent.</strong> Otherwise, you double-charge or double-pay.</li></ul><h3>Final Thoughts</h3><p>You know, scaling a fintech API isn’t just about picking the right tools and tech stack; it’s about building systems that can bounce back when things go wrong, recover smoothly, and keep up as your user base grows. In this article, I really wanted to dig deeper and share some of the gritty technical realities we’ve faced, not just the shiny architecture diagrams.</p><p>If you’ve read this far, I’d love to hear your thoughts — what would you want covered in Part 3? Maybe we dive into how we handle mobile money APIs or give you a behind-the-scenes look at how we test for concurrency under real pressure.</p><p>I’m also thinking of open-sourcing a starter kit for Redis-based queues and rate limiting — could be a time-saver if you’re building something similar.</p><p>Asanteni sana for reading!</p><p><strong>Let’s Connect</strong></p><p>If you enjoyed this article or have thoughts to share, feel free to connect with me on <a href="https://www.linkedin.com/in/dickens-juma/">LinkedIn</a>. I’m always happy to chat about fintech architecture, backend performance, and scaling real-world systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5857af32acd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>