<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Relay on Lorbic</title>
    <link>https://lorbic.com/series/relay/</link>
    <description>Recent content in Relay on Lorbic</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 26 Jul 2026 19:00:00 +0530</lastBuildDate>
    <atom:link href="https://lorbic.com/series/relay/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>API Design for Backend Systems</title>
      <link>https://lorbic.com/api-design-for-backend-systems/</link>
      <pubDate>Sun, 26 Jul 2026 19:00:00 +0530</pubDate>
      <guid>https://lorbic.com/api-design-for-backend-systems/</guid>
      <description>&lt;p&gt;A few weeks ago I designed &lt;a href=&#34;https://lorbic.com/how-multi-tenant-saas-works/&#34;&gt;Relay&lt;/a&gt;, a multi-tenant AI API gateway, as a system design exercise. That post covered the database, the auth, the billing. It did not cover the thing every one of those systems is sitting behind: the API itself.&lt;/p&gt;&#xA;&lt;p&gt;Here is the question that post left open. When someone builds &lt;code&gt;GET /v1/requests&lt;/code&gt; to list a tenant&amp;rsquo;s API call history, what should that endpoint actually look like? Offset or cursor pagination? What does the response envelope contain? What happens when Relay needs to add a filter that does not fit in a query string? What does a webhook payload look like when Relay tells a tenant &amp;ldquo;your batch job finished&amp;rdquo;? None of that is specific to AI gateways. It is the same decisions every backend API makes, made badly often enough that &amp;ldquo;REST API&amp;rdquo; has become a phrase that means &amp;ldquo;JSON over HTTP, structure unspecified.&amp;rdquo;&lt;/p&gt;</description>
    </item>
    <item>
      <title>How Multi-Tenant SaaS Actually Works</title>
      <link>https://lorbic.com/how-multi-tenant-saas-works/</link>
      <pubDate>Wed, 01 Jul 2026 00:00:00 +0530</pubDate>
      <guid>https://lorbic.com/how-multi-tenant-saas-works/</guid>
      <description>&lt;p&gt;For the past month I have been reading about multi-tenant SaaS architecture. Not as an academic exercise. I kept running into the same questions on every project I looked at: where exactly does tenant data go, how do you stop one customer&amp;rsquo;s bug from becoming every customer&amp;rsquo;s problem, how does billing actually work at the database level. The blog posts I found were either too abstract or skipped the hard parts entirely.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
