I’ve tried extremely hard to not make a post focused about large language models on this blog. Not because I’m trying to remain neutral or anything like that but just the shear number of posts on the topic is overwhelming and I haven’t had anything new to say. I have however decided to tell the story of their impact on SondeHub infrastructure.

If you read my earlier post on How a joke domain purchase turned into geopolitical warfare you will be aware that SondeHub started as a joke domain purchased. SondeHub infrastructure has over timed morphed but it’s core principal of remaining a hobby project still remains. This means I try to focus on the parts I find fun and do the bare minimum to keep it operational. Even still it eats up a significant amount of my free time. I think the last time I actually tried to recover a radiosonde was roughly a year ago.

SondeHub’s purpose is to capture balloon data from community receivers, store it, and display it on a tracker website for others to see. Additionally other applications, researchers and developers may use our APIs and data archive for their own purposes. A philosophy I’ve held when working with this data is that it’s donated to me. No one is paid to collect this data, I have no agreement with the receivers, it’s all done out of community benefit. As such I want to provide that data back to the community, ideally free of charge.

When building infrastructure around SondeHub I not only keep in mind “how I expect the data to be used” but also “I’m not sure how someone will want to use this”. Recently I found an example where people are attempting to use radiosonde signal strength reports as truth/reference data for RF path estimates1. This is why SondeHub is more than just the tracker website, even though that’s what we’ll mostly be talking about today.

I also grew up in a time where a lot of the internet and resources were open. You could use public services to query and obtain a lot of data without complicated sign up processes or setting up billing accounts. Maybe many of these free access endpoints were part of the wider dotcom bubble, but over time resources have ended up in walled gardens or paid access. These limits prevent experimentation and exploration.

With the goals of SondeHub in mind, I want to take you through the abridged history2 of SondeHub infrastructure with the problems we face today.

Initially when we first expanded SondeHub beyond just a redirect it served two purposes, capture the full frame set from receivers to save in our data and to forward a reduced dataset to Habhub. At the time we used Habhub’s tracker website. Habhub’s tracker polled their REST api every 30 seconds to grab the latest data. For the handful of users this worked fine.

As Habhub’s database grew we found our selves needing to run our own backend and tracking website. The SondeHub infrastructure grew. At this stage we were using AWS IoT3, AWS managed ElasticSearch and some Lambda functions to replicate the Habhub endpoints.

Since there were a handful of users and we had plenty of capacity I remember bumping down the update rate on the tracker from 30 seconds to 5 seconds. I really enjoyed watching the radiosondes move around. radiosonde_auto_rx at the time would upload each packet as it received it. We had capacity and the expense was low enough to be a bit wasteful like this. Often we were in the free tier of AWS anyway.

Tracker update: 30 second update rate to 5 second

As radiosondes became easier to track and interest increased we found that we had to make some changes. The first was batching up uploads to SondeHub into chunks of frames. We added heavy caching on our common endpoints used on the tracker. We also started dropping frames, keep just the first, last and every N frames in between4.

Tracker update: Reduced data, batched uploads.

Eventually we got to the point that we couldn’t store all the radiosonde data in the ElasticSearch cluster, resorting to archiving it in S3. We adjusted how the tracker queried data so that it would fall back to S3 for older radiosondes. This reduced the amount of load on the database as well, preventing us from needing to upgrade the instance size.

Tracker update: S3 for historic data

We also designed the tracker queries so that they could be cached easily. We favoured a cache hits even if it contained more data than the client needed. This kept DB load down and reduced the miss rate.

Tracker update: Cacheable requests

As popularity grew so did the number of requests. With more balloons being tracked the server responses grew. We could bump out the tracker refresh rate, we could drop more data, but in the end we started using MQTT WebSockets. Since we were using AWS IoT at the time this was fairly straight forward to add in. When you’d open the tracker it would connect to the MQTT feed and subscribe to the radiosonde topic where the client would receive all the radiosonde telemetry.

Tracker update: WebSockets and MQTT for receiving telemetry

WebSockets was a big deal for us as we got back the nice close to live updates that we had with the 5 second REST api calls. Over time we also added other data to WebSockets including predictions, recovery data and receiver info. Today when you open SondeHub it performs initial API requests then switches to WebSockets for the remainder of the session. From a user experience this made SondeHub more responsive, but also from an infrastructure point of view it reduced the amount of data and the number of requests sent to each client.

Tracker update: WebSockets for all other data

SondeHub kept growing. The number of receivers increased, the number of viewers increased. We introduced a slow data feed which just reports “at least once” new radiosondes, along with making the tracker website only subscribe to radiosondes the user was actively viewing. This meant that the tracker was no longer receiving a firehose of data. The browser was a lot happier, the backend used less CPU, and the bandwidth required dropped.

Tracker update: Slow data feed, culling subscribed radiosondes to just those visible

I also experimented with WebSocket compression, however thread safety issues and additional CPU load didn’t make the change worthwhile. We also tweaked the zoom level required to see real time data down further to reduce load.

Tracker update: Reduce number of radiosondes subscribed to

That brings us to today. I’ve glossed over a lot of the other changes to the tracker, the entire build of SondeHub Amateur and other backend tweaks. The point though is that over the 9 years I’ve been working on SondeHub we’ve had to make many changes to the frontend and backend to support the number of users that SondeHub sees today.

Wait, didn’t you say this post would be about large language models???

Large language models join the party

Much like many open data and open API services today, we are experience capacity issues. Not only are we overloaded with the amount of emails we are receiving, but our backend services are being used significantly more in ways we never expected or intended.

CloudFront data transfer out
Up until the start of this year we had a fairly steady state of 30GB per day outbound traffic on our API. We are now seeing 70GB a day or more. This is just our API, not our WebSocket solution or our S3 archive.

S3 data usage spiking into the 1.5TB per day
S3 archive was significantly worse. We’ve moved it to behind CloudFront for now to limit uncontrollable costs from this.

Over the last 9 years we’ve been making tweaks and changes to the tracker website to optimise cost and remain operationally sustainable, while still being able to provide our data and services for free to end users. Large language models do not give a shit about those last 9 years.

Every day someone is asking Claude to add SondeHub to their dashboard, their map of all things, their notification system, their decode everything sdr app or their weather site. Some of these end up on GitHub, some of them don’t.

Screenshot of sondehub related commits showing several in the last few weeks

Claude seems to make up it’s own acceptable usage policy for our API. Nearly always these apps are polling using queries that are either uncachable or unique to the app. Rarely are these apps using WebSockets. Everyone is now building their own app or dashboard and throwing away everything we’ve learnt and built over the last 9 years to keep SondeHub running.

Sometimes these apps get popular, adding to the load. The apps either call us directly or don’t cache the results. It is tiring to see how our hard work is being discarded and the problems we had 9 years ago are returning at an even larger scale.

It’s not just us. Others running open APIs and platforms are running into the same problem with the only solution being to add API keys, rate limit or even just close down. I fear we’ll have to take one of these paths in the future but I’m trying my hardest to avoid it.

Rate limiting only works well but when all the requests are legitimate from differing IP addresses and unique user agents, what can you really do? In the last two weeks there’s been 727 unique user agents (version numbers stripped) excluding web browsers.

I’m not sure I really blame the users. Being able to ask a magical box for build your dream dashboard is pretty neat, but it hides all the externalities. As noted in the recent SondeHub Patreon post, this wouldn’t be a problem if donations followed the additional load.

I don’t need technical help or suggestions. I am an SRE with mumbles years experience. I just wanted to explain the current state of things at SondeHub

If you were expecting some sort of call of action at the end of this post, I’m sorry. I just don’t have one. Just a warning that things are going to shit.


  1. I’m not sure if this is actually a good/useful idea but it’s an interesting idea. I haven’t read much into what’s happening and how it’s being used. RepeaterNet ↩︎

  2. The timeline itself might be a bit out of order to help with narrative. It was also a long time ago and there’s separate timelines for SondeHub Amateur and SondeHub Professional ↩︎

  3. We were certainly using AWS IoT in a way that AWS never intended and actually exposed some issued with AWS IoT actions hitting internal limits provisioning IAM session tokens to their service which accesses S3 on your behalf. At the time I was using SondeHub as a bit of a playground to test new AWS services. ↩︎

  4. AWS doesn’t charge for uploads into the AWS cloud, which is very convenient for us as often much of the data uploaded to us is never or rarely downloaded again. ↩︎