<?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>DEV Community: Zevs</title>
    <description>The latest articles on DEV Community by Zevs (@dzevs).</description>
    <link>https://dev.to/dzevs</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%2F3809021%2Fc9439207-8c3d-48b9-98c6-d3b8f654f605.gif</url>
      <title>DEV Community: Zevs</title>
      <link>https://dev.to/dzevs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dzevs"/>
    <language>en</language>
    <item>
      <title>How I Built a High-Performance SMS Verification Service with Rust and Axum</title>
      <dc:creator>Zevs</dc:creator>
      <pubDate>Fri, 06 Mar 2026 04:41:27 +0000</pubDate>
      <link>https://dev.to/dzevs/how-i-built-a-high-performance-sms-verification-service-with-rust-and-axum-370b</link>
      <guid>https://dev.to/dzevs/how-i-built-a-high-performance-sms-verification-service-with-rust-and-axum-370b</guid>
      <description>&lt;p&gt;I built SMSCode because I was frustrated with existing SMS verification services. Overpriced, slow OTP delivery, terrible APIs, and documentation that looked like it was written in 2010.&lt;/p&gt;

&lt;p&gt;So I rewrote everything from scratch in Rust.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;If you've ever tried to automate SMS verification — for testing, privacy, or bulk operations — you know the pain. Most services charge $0.50+ per number, have APIs that randomly fail, and support maybe 50 countries if you're lucky.&lt;/p&gt;

&lt;p&gt;I needed something better.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend&lt;/strong&gt;: Rust with Axum framework&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: Astro SSR&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database&lt;/strong&gt;: PostgreSQL + Redis&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure&lt;/strong&gt;: Bare metal servers on Proxmox&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why Rust? Performance and reliability were non-negotiable. With 100K+ active users making real-time requests, I needed something that wouldn't buckle under load.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture Overview
&lt;/h2&gt;

&lt;p&gt;The system follows a domain-driven design with clear separation between:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Number inventory management&lt;/strong&gt; — pooling numbers across multiple providers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Order processing&lt;/strong&gt; — idempotent requests to prevent duplicate charges&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OTP delivery&lt;/strong&gt; — webhook support for real-time notifications&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Background workers&lt;/strong&gt; — cleanup tasks post-verification&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Key Technical Decisions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Idempotent requests&lt;/strong&gt;: Every order has a unique key to prevent duplicates even under network failures.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live stock checks&lt;/strong&gt;: Before a user submits an order, we verify number availability in real-time — no more "sorry, that number isn't available" after payment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multi-provider pooling&lt;/strong&gt;: Numbers are sourced from multiple providers simultaneously, giving us 200+ country coverage at competitive prices starting from $0.0044/activation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;p&gt;SMSCode now serves 100,000+ active users across 200+ countries with support for 700+ platforms including WhatsApp, Telegram, Google, TikTok, and Facebook.&lt;/p&gt;

&lt;p&gt;If you're building something that needs SMS verification, check it out at &lt;a href="https://smscode.gg" rel="noopener noreferrer"&gt;smscode.gg&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Happy to answer any questions about the Rust/Axum architecture in the comments!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>rust</category>
      <category>programming</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
