Sign in

Stefano on littleFedi

@stefano
@stefano

It's me, Stefano, the BSD and illumos Cafe Barista.

I'm testing something cool - littleFedi!

This instance is efficiently running on a Raspberry PI Zero W, powered by NetBSD.

Let's go!

302 posts
hidden followers
hidden following

@richard@epn.life Great! The BSDs are different operating systems, not distributions, so you'll have a totally different experience when trying one or the other. So a lot of fun!

I promised it, so here it is. This is a recording of littleFedi running on a Raspberry Pi Zero W on NetBSD.

#littleFedi #NetBSD #OwnYourData

stefano
Jul 5 Unlisted en

@richard@epn.life I’m planning to do a short video about it. I hoped to be able to do it today, but didn’t find the time. Maybe tomorrow.

The littleFedi caching system is configurable and adaptable. Caching helps immensely, and for this very reason, you can choose to keep the cache "warm."

By default, if enabled (which makes a lot of sense on slow hardware), the system tracks user activity over the last n minutes (15 by default). For those minutes following the last interaction with the system, the cache will be kept warm.

Does a new post arrive in the timeline? It gets processed and cached, immediately (and partially) re-processing the timeline cache. The user will see it immediately in the timeline.

On a Raspberry Pi Zero W running NetBSD on an SD card, this means dropping the timeline generation time from about 5 seconds down to roughly 0.20 seconds.

After 15 minutes of inactivity from the user, the system will stop keeping the cache warm, reducing the CPU load to nearly zero (provided you aren't doing local processing of remote images, of course - which is also configurable). Upon the user's first visit, it will take a few extra seconds (cold cache), but from that moment on, everything will be almost instantaneous.

There's also a cache for the federation activities (a boost won't cause constant reprocessing of that post), but this isn't that different from other implementations' approach.

#littleFedi #Fediverse #OwnYourData

@kaixin@snac.bsd.cafe @stefano@rpi0w.stefanomarinelli.it thanks. The only problem is the lack of time. But I can do it 👍

@paculino@tech.lgbt @@stefano@rpi0w.stefanomarinelli.it it probably is. It’s in Go so I do t see a limit. I’m using 10 as it’s the one I had installed on that device

I don't know if I'll manage to do the screen recording today or if it will end up being tomorrow, but I'm still amazed at how it runs on the Raspberry Pi Zero W with NetBSD.

#littleFedi #NetBSD #Fediverse

Tomorrow, I will make a video of how littleFedi runs on this Raspberry Pi Zero W powered by NetBSD.
Once the caches are warm, the performance is incredible.

#littleFedi #NetBSD

@lorenzo@snac.bobadin.icu senza dubbio uno dei più completi e personalizzabili che ci siano in circolazione. Piace molto anche a me.

Load older posts