<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>AltSql.com</title>
    <link>https://altsql.com/</link>
    <description>Recent content on AltSql.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 28 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://altsql.com/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Introduction</title>
      <link>https://altsql.com/introduction/</link>
      <pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/introduction/</guid>
      <description>&lt;p&gt;&lt;strong&gt;A tiny database for sensors: key-value and time-series on the device, SQL on the gateway, and the same records on both, copied byte for byte.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;AltSql is a project to build a very small database engine for connected devices. A sensor keeps its readings and settings in its own flash memory, reads them back to decide on the spot, and sends only what matters. Its gateway keeps the very same records and answers questions about them in SQL.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How It Works</title>
      <link>https://altsql.com/how-it-works/</link>
      <pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/how-it-works/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;The idea.&lt;/strong&gt; Put a very small database on the device that reads the sensors, and store its data so that the gateway&amp;rsquo;s database can use it as it is, byte for byte, with no translation step.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;before-and-after&#34;&gt;Before and After&lt;/h2&gt;&#xA;&lt;p&gt;Today a device and its gateway keep data in two different formats. A converter has to sit between them and turn the device&amp;rsquo;s key-value data into rows for the gateway&amp;rsquo;s SQL database. AltSql uses one format on both sides and takes the converter out:&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Learned Query Optimizer</title>
      <link>https://altsql.com/the-learned-query-optimizer/</link>
      <pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/the-learned-query-optimizer/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Status: planned for the Advanced Beta.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The Alpha answers every query the same way, whatever state the device is in. A device in the field is rarely in the same state twice: its battery runs down, its link comes and goes, its flash fills and wears, and its data turns from routine to alarming. The Learned Query Optimizer (LQO) is a planned, optional layer that lets AltSql take its situation into account.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Machine Monitoring Case Study: Overheat Alarm Handled on the Sensor While Wi-Fi Was Down</title>
      <link>https://altsql.com/machine-monitoring-case-study-overheat-alarm-handled-on-the-sensor-while-wi-fi-was-down/</link>
      <pubDate>Mon, 28 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/machine-monitoring-case-study-overheat-alarm-handled-on-the-sensor-while-wi-fi-was-down/</guid>
      <description>&lt;p&gt;A temperature sensor on a machine takes one reading a second. When the machine runs hot, the fan has to come on right away, whether or not the plant&amp;rsquo;s Wi-Fi is working. In the Alpha demo this device runs the AltSql engine on 64 KB of flash with 1,048 bytes of engine RAM, and it makes that call by itself.&lt;/p&gt;&#xA;&lt;p&gt;The run covers one simulated hour. Wi-Fi drops out from minute 20 to minute 35. Two gateways listen: gateway A receives every record, and gateway B, which stands in for a constrained link, receives only the minute summaries and the fan state.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cold Chain Case Study: Truck Logger Records a 51-Minute Excursion With No Coverage</title>
      <link>https://altsql.com/cold-chain-case-study-truck-logger-records-a-51-minute-excursion-with-no-coverage/</link>
      <pubDate>Sun, 27 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/cold-chain-case-study-truck-logger-records-a-51-minute-excursion-with-no-coverage/</guid>
      <description>&lt;p&gt;Medicines and fresh food travel in refrigerated trucks, and many loads must stay between 2 and 8 °C for the whole trip. When the cooling fails, somebody has to know how long the load was warm and how warm it got, even if the truck is nowhere near a mobile signal at the time. In the Alpha demo a logger inside the load keeps that record itself. It runs the AltSql engine on 512 KB of flash with 920 bytes of engine RAM.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Agriculture Case Study: Soil Sensor Runs the Valve Itself and Reports in 38 Bytes a Day</title>
      <link>https://altsql.com/agriculture-case-study-soil-sensor-runs-the-valve-itself-and-reports-in-38-bytes-a-day/</link>
      <pubDate>Sat, 26 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/agriculture-case-study-soil-sensor-runs-the-valve-itself-and-reports-in-38-bytes-a-day/</guid>
      <description>&lt;p&gt;A soil sensor in a field usually runs on a battery and talks over a radio that carries a few dozen bytes a day. It cannot wait for a server to tell it when to water. In the Alpha demo the sensor decides for itself when to open the irrigation valve, and it reports to the farm office in one small radio message a day. It runs the AltSql engine on 32 KB of flash with 672 bytes of engine RAM.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Next Verticals: Eight Industries Where a Database on the Sensor Could Fit</title>
      <link>https://altsql.com/next-verticals-eight-industries-where-a-database-on-the-sensor-could-fit/</link>
      <pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/next-verticals-eight-industries-where-a-database-on-the-sensor-could-fit/</guid>
      <description>&lt;p&gt;The three case studies share one pattern. A device keeps its own data, decides for itself and talks over a link that is slow, costly or often down. Its gateway receives the same records the device wrote, so nobody has to maintain code that translates between the two. Machine monitoring, cold chain and agriculture came first because the Alpha demo covers them.&lt;/p&gt;&#xA;&lt;p&gt;The pattern turns up in many more industries. None of the eight below has been tested, and none has a device in the Beta. This post sets out what each would ask of the engine, what already carries over from the demo, and what would be new work. It is a map for choosing what to try after the Beta, ideally together with people who build these devices.&lt;/p&gt;</description>
    </item>
    <item>
      <title>About</title>
      <link>https://altsql.com/about/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/about/</guid>
      <description>&lt;p&gt;AltSql is a project at an early stage. Its engine works in simulation, a live demo runs it in your browser, and the next step is to prove it on real chips. This site shows where the project stands, gaps included.&lt;/p&gt;&#xA;&lt;h2 id=&#34;why-the-project-exists&#34;&gt;Why the Project Exists&lt;/h2&gt;&#xA;&lt;p&gt;A connected product usually has two computers that handle its data. One is the device: a microcontroller with kilobytes of RAM and flash memory that wears with every erase, where power can vanish mid-write. The other is a gateway that gathers data from many devices and passes it on, often to a cloud.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Contact</title>
      <link>https://altsql.com/contact/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/contact/</guid>
      <description>&lt;p&gt;The project would like to hear from:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Device makers&lt;/strong&gt; who would like to try the Beta on their own hardware, or run a pilot after it.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Engineers&lt;/strong&gt; with a chip, a flash part or an industry the project should test.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Anyone&lt;/strong&gt; with a question about the engine, the demo or the figures on this site.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Write to &lt;strong&gt;&lt;a href=&#34;mailto:info@altsql.com&#34;&gt;info@altsql.com&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If you are writing about a device, it helps to mention its chip, how much flash and RAM it has, how it connects (Wi-Fi, cellular, LoRaWAN or something else), how often it measures, and what it should decide on its own.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Live Demo</title>
      <link>https://altsql.com/demo/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/demo/</guid>
      <description>&lt;p&gt;Three simulated devices run the real AltSql Alpha engine right here in your browser. Each one keeps its own records and decides for itself. Only what matters goes to its gateway, where the same records arrive byte for byte. The demo is open to everyone: there is no sign-up, nothing to install, and nothing you do here leaves this page.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Simulated devices, real Alpha engine.&lt;/strong&gt; The sensors, networks and flash chips are simulated. The database is the Alpha engine itself, compiled to WebAssembly.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Roadmap</title>
      <link>https://altsql.com/roadmap/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/roadmap/</guid>
      <description>&lt;p&gt;The Alpha proves the design in simulation. What comes next takes the same engine onto real chips, then toward a first release, and later adds a learned layer that lets each device adapt to its situation. Durations are estimates, and hardware surprises could stretch them.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://altsql.com/images/roadmap.png&#34; alt=&#34;Two lanes. The engine: Alpha, done; Beta, next, about 16 weeks on real chips; toward v1.0, 6 to 9 months of product work (estimate); v1.0, the first release with format and API frozen. The Learned Query Optimizer: concept tested during the Alpha; waits for the Beta; phases 1 and 2 over 5 to 7 months; phases 3 and 4 after that.&#34;&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Alpha</title>
      <link>https://altsql.com/alpha/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://altsql.com/alpha/</guid>
      <description>&lt;p&gt;The Alpha is the working prototype of the AltSql engine: one C file, its tests, a few tools and a demo that runs one engine on three simulated devices. It stores key-value pairs and time-series readings in flash on a microcontroller, answers SQL on a gateway, and copies records from device to gateway byte for byte.&lt;/p&gt;&#xA;&lt;p&gt;Everything so far runs on a PC. The flash chips and radio links are simulated, carefully, but simulated. The code also compiles for four microcontroller families and its size was measured on each, but it has not yet run on any of them. That is the job of the &lt;a href=&#34;https://altsql.com/roadmap/&#34;&gt;Beta&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
