<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Andrei Merlescu</title>
    <description>The latest articles on Forem by Andrei Merlescu (@andreimerlescu).</description>
    <link>https://forem.com/andreimerlescu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3590418%2F76311803-accb-4a70-b7db-f264cc031394.jpeg</url>
      <title>Forem: Andrei Merlescu</title>
      <link>https://forem.com/andreimerlescu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/andreimerlescu"/>
    <language>en</language>
    <item>
      <title>Lemmings Just Spawned</title>
      <dc:creator>Andrei Merlescu</dc:creator>
      <pubDate>Thu, 16 Apr 2026 22:39:15 +0000</pubDate>
      <link>https://forem.com/andreimerlescu/lemmings-just-spawned-3fhe</link>
      <guid>https://forem.com/andreimerlescu/lemmings-just-spawned-3fhe</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc2u9ie5him981tvyr4gi.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc2u9ie5him981tvyr4gi.jpeg" alt="Lemmings" width="293" height="339"&gt;&lt;/a&gt;&lt;br&gt;
In 1991 a video game called &lt;a href="https://en.wikipedia.org/wiki/Lemmings_(video_game)" rel="noopener noreferrer"&gt;Lemmings&lt;/a&gt; was released and by the time I started Elementary School, I was playing &lt;em&gt;Lemmings&lt;/em&gt;. Fast-forward to 2026, after &lt;a href="https://www.barrons.com/articles/trakify-keeps-you-current-on-your-securities-portfolio-1444457064?gaa_at=eafs&amp;amp;gaa_n=AWEtsqdExXelmOtklurLNX3j9Fqwakc8j8R3xsFFD-qZ7xGd_lXqYro00iG6FoeIXFE%3D&amp;amp;gaa_ts=69d1a438&amp;amp;gaa_sig=TkgzA7hWBhVwj6ggpKRLL8t0tG0Tj6gZBUAlLDqGe6VzU7h4y1Ozis7EkkzIycTrlmSihmhvJ9dgWoTw-ARKQw%3D%3D" rel="noopener noreferrer"&gt;Barron's Magazine&lt;/a&gt; and &lt;a href="https://web.archive.org/web/20160111134734/http://www.trakify.com/" rel="noopener noreferrer"&gt;Trakify&lt;/a&gt; and you have a legitimate need for both the &lt;em&gt;waiting room&lt;/em&gt; of &lt;a href="https://github.com/andreimerlescu/room" rel="noopener noreferrer"&gt;room&lt;/a&gt; and the &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt; themselves. So &lt;em&gt;what is &lt;strong&gt;Lemmings&lt;/strong&gt;?&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing Lemmings
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;Lemmings&lt;/a&gt; is a free and open source product that I created after dusting off a notebook from the past that outlined what I thought of when I intersected Software Engineering and the idea of the little critter named Lemming - and what he was doing in his life. When I launched Trakify in 2014, I built clustering and load balancing into my application, but I truly didn't know what I was capable of running - in an authentic trust worthy manner. How do I know that what I am hitting is actually accurate? I felt like tools like &lt;code&gt;ab&lt;/code&gt; simply didn't cut it for what I needed then. After Mike Hogan's piece, I had a massive surge of traffic on the site that resulted in servers being spawned left and right - sooner than later - I realized that I had misconfigured the auto-scaler and needed to take a step back. &lt;/p&gt;

&lt;p&gt;I can only learn from the mistakes of the past and not every company created was going to succeed. Even Trakify had its day and that day came and went, but what didn't leave after Trakify was gone was what I learned from its launch. Essentially, &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt; was the tool I wish I had then, that would have better prepared me for those big publicity moments of my business. When I realized that I needed more collaboration with stronger engineers, I went back into the work force and continued to improve my skills. &lt;/p&gt;

&lt;p&gt;Now, in the rise of AI powered everything - what can I do as a software guy - that is going to improve anything anywhere? Well, that brings me to the &lt;em&gt;why&lt;/em&gt; of &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt;. To me, I spent a handful of hours over the course of a week taking written notes about my &lt;em&gt;lemmings&lt;/em&gt; idea from decades ago and I put it to action in a series of prompts. I leveraged the &lt;a href="https://github.com/andreimerlescu/summarize" rel="noopener noreferrer"&gt;summarize&lt;/a&gt; package in order to deal with cool-down periods between development windows. By the time that I got to &lt;code&gt;v0.0.1&lt;/code&gt;, I'll have a &lt;strong&gt;432 test passing&lt;/strong&gt; piece of code calling &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt; that will let me do what I needed to do when I built &lt;strong&gt;Trakify&lt;/strong&gt; and got recognized by Mr Hogan at Barron's Magazine. &lt;/p&gt;

&lt;h2&gt;
  
  
  What Lemmings Does
&lt;/h2&gt;

&lt;p&gt;What a &lt;em&gt;lemming&lt;/em&gt; &lt;strong&gt;is&lt;/strong&gt; &lt;em&gt;is&lt;/em&gt; a creature that doesn't have much free will or determination in life. It's a fella that gets its marching orders from the video game player's keys telling it to jump or go left or go right. In reality, my lemmings package is similar, in that when performing &lt;strong&gt;load testing&lt;/strong&gt; of any real world application, you'll need NPCs - &lt;strong&gt;N&lt;/strong&gt;on &lt;strong&gt;P&lt;/strong&gt;layer &lt;strong&gt;C&lt;/strong&gt;haracters - that can do a task, and that's it. Lemmings, load balances your endpoint by breaking concurrency into &lt;code&gt;-terrain&lt;/code&gt; and &lt;code&gt;-pack&lt;/code&gt; such that each geographic locality in real life that a &lt;em&gt;lemming&lt;/em&gt; or &lt;em&gt;NPC&lt;/em&gt; or &lt;em&gt;user&lt;/em&gt; have, represents &lt;em&gt;1 terrain&lt;/em&gt;. The number of &lt;em&gt;lemmings&lt;/em&gt; is the &lt;code&gt;-pack&lt;/code&gt; size. &lt;/p&gt;

&lt;p&gt;In 2020 when I built the PhoenixVault that made the NARA released JFK files searchable for the first time since their release in a complete manner - I had a feature called StumbleInto where I took the concept from &lt;em&gt;lemmings&lt;/em&gt; and applied it to the &lt;strong&gt;PhoenixVault&lt;/strong&gt;. Readers, or NPCs or &lt;em&gt;lemmings&lt;/em&gt;, didn't know what they were getting into or where they were going, when they would hit the files and start sleuthing around; but what they did do is keep a log of what pages they saw. Well, that concept was carried forward into &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  When Lemmings Win
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;Lemmings&lt;/a&gt; could have better prepared &lt;em&gt;me&lt;/em&gt; for Trakify's launch in 2015. With AI, I was able to bring to life something from the archive's of Andrei's engineering notebooks that solves a real world problem for real world companies. The software is free. If you find use or value in it, support it by spreading the word about it, using it in future projects, and keeping the community up to date with relevant information. &lt;/p&gt;

&lt;p&gt;Where &lt;em&gt;I win&lt;/em&gt; in building and releasing &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt; free and open source is in continuing my life's passion of writing excellent software and serving those who serve others by means of the gifts given to me through decades of hard work by my own two hands. I carry the torch forward and hand forth my legacy in my code by making it open source. If you find value in my work, hire me for my consulting services and I'll apply and use &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt; for your organization to ensure that you don't run into the same challenges that I did in 2015 that &lt;em&gt;lemmings&lt;/em&gt; was &lt;strong&gt;designed&lt;/strong&gt; to remediate through proper knowledge disclosures and testing of key infrastructure. &lt;/p&gt;

&lt;h2&gt;
  
  
  Where Lemmings Will Go
&lt;/h2&gt;

&lt;p&gt;Since I am dusting off old engineering notebooks and compiling complex Markdown files that are draft specifications and instructions for AI systems, the &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt; offering was built over a 72 hour window. When I asked ChatGPT to come up with a project plan for the notebook that I created, it quoted me 4-6 weeks to completion. Nope. Not even 4 days bro. Adding to &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt; is possible, and my notebook for the idea expanded after I built it. Once I had it in hand, I wanted &lt;em&gt;this&lt;/em&gt; and &lt;em&gt;that&lt;/em&gt; and therefore, I began writing once again. Where will &lt;a href="https://github.com/andreimerlescu/lemmings" rel="noopener noreferrer"&gt;lemmings&lt;/a&gt; go? &lt;/p&gt;

</description>
      <category>devops</category>
      <category>testing</category>
      <category>go</category>
      <category>monitoring</category>
    </item>
    <item>
      <title>Gin+Go Waiting Room Package Released</title>
      <dc:creator>Andrei Merlescu</dc:creator>
      <pubDate>Tue, 14 Apr 2026 01:25:04 +0000</pubDate>
      <link>https://forem.com/andreimerlescu/gingo-waiting-room-package-released-41me</link>
      <guid>https://forem.com/andreimerlescu/gingo-waiting-room-package-released-41me</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Drop-in waiting room middleware for &lt;a href="https://github.com/gin-gonic/gin" rel="noopener noreferrer"&gt;gin&lt;/a&gt;&lt;br&gt;
web applications. Built on &lt;a href="https://github.com/andreimerlescu/sema" rel="noopener noreferrer"&gt;sema&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The &lt;a href="https://github.com/andreimerlescu/room" rel="noopener noreferrer"&gt;room&lt;/a&gt; package was created immediately after I updated the &lt;a href="https://github.com/andreimerlescu/sema" rel="noopener noreferrer"&gt;sema&lt;/a&gt; package on GitHub. I wanted to implement the new &lt;a href="https://github.com/andreimerlescu/sema" rel="noopener noreferrer"&gt;sema&lt;/a&gt; package directly by consuming it a real world manner that could bring tangible value to other developers, thus the &lt;a href="https://github.com/andreimerlescu/room" rel="noopener noreferrer"&gt;room&lt;/a&gt; package was created.&lt;/p&gt;

&lt;p&gt;I've been a &lt;a href="https://github.com/andreimerlescu" rel="noopener noreferrer"&gt;professional Go developer&lt;/a&gt; for 6 years now and have enterprise production software running in over 3 Fortune® 100 Companies™. Not only is Go an incredible capable and powerful programming language, it is naturally very easy to engage with AI systems in order to build utilities like &lt;em&gt;room&lt;/em&gt;. &lt;/p&gt;

&lt;p&gt;Quite literally yesterday I finished up with &lt;em&gt;sema&lt;/em&gt; and I immediately began consuming it by building out &lt;strong&gt;room&lt;/strong&gt;. The first room that I could come up with was the &lt;em&gt;Waiting Room&lt;/em&gt; which is the concept of rate limiting with a presentation layer. Except, I wanted to take the presentation layer to the next level, and so I introduced the concept of promotions within a FIFO - &lt;em&gt;&lt;strong&gt;F&lt;/strong&gt;irst &lt;strong&gt;I&lt;/strong&gt;n &lt;strong&gt;F&lt;/strong&gt;irst &lt;strong&gt;O&lt;/strong&gt;ut&lt;/em&gt; queue that cleverly keeps track of fast tracking for up to a defined amount. The demo has it at 90 minutes; but an application under extreme load - where a premium user may end up getting show the waiting room multiple times - gets the best of the promote world in that they jump to the front of the line for the entire duration of their promotional window. The &lt;a href="https://github.com/andreimerlescu/room/blob/main/sample/basic-web-app/test.sh" rel="noopener noreferrer"&gt;test.sh&lt;/a&gt; in the &lt;strong&gt;sample/basic-web-app&lt;/strong&gt; consumer of the &lt;code&gt;room&lt;/code&gt; demonstrates this functionality in less than 30 seconds. &lt;/p&gt;

&lt;p&gt;Sometimes high traffic events come into an application and your business cannot justify spending tens of thousands of dollars on infrastructure that may or may not be serving paying customers. If you're launching a CD and you allow pre-orders on your website at 9AM and you have a flood of traffic coming into the site, the ability to buy your way to the front of the line gives you the capability to give yourself preference in commercial settings and get to the front of the line. Even if the website isn't selling something explicit, what the &lt;code&gt;room&lt;/code&gt; allows you to implement is something like this: &lt;em&gt;this $5 pass is good for 90 minutes and during our launch you'll breeze through every page in our service regardless of capacity limitations that we experience&lt;/em&gt;. &lt;/p&gt;

&lt;p&gt;Why is this valuable? Not everything on the internet is operating with an infinite budget to spend on cloud hosting. That's where my software comes into play. I'm a 21+ year DevOps architect that has delivered dozens of products internally to Big Tech my entire career and released over 100+ open source packages, including dozens in Go. When you can one-shot a Go website using Gin and Claude, you may not want to pay for auto-scaling bot traffic that costs you $50,000 per month. Instead, you can put the waiting room on, and then voila, you can run for $100/mo and then give customers who buy the pass a store credit for their checkout.&lt;/p&gt;

&lt;p&gt;It's a way to give priority to the human over the bot in the event that the bot isn't providing some kind of commercial benefit to the website they are connecting to in the first place. &lt;/p&gt;

&lt;p&gt;The &lt;code&gt;room&lt;/code&gt; package implements &lt;code&gt;sema&lt;/code&gt; in a way that demonstrates how &lt;em&gt;that&lt;/em&gt; package can be implemented in a real world scenario. The &lt;code&gt;room&lt;/code&gt; package can be implemented in real world scenarios as well, including &lt;em&gt;your website&lt;/em&gt; that uses Gin+Go to serve content. &lt;/p&gt;

&lt;p&gt;The package is Apache 2.0 and is released Open Source on &lt;a href="https://github.com/andreimerlescu/room" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>devops</category>
      <category>go</category>
      <category>security</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
