Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe not what you expect for an answer, but I'm self-hosting a telegram bot that does a bit of scrapping of a certain site I'm interested in, and serving those messages to a couple of subscribers (around ~10 people).

I know, it is a very low user count, the interesting bit is, I wrote this bot in Rust using async with Tokio, and it's running on a Raspberry Pi 2011.12 with 256 megs of ram and a single ARMv6 core.

I was able to compile a fully modern language for a 10 years old architecture, and on avg has a load of 0.2 of CPU usage with 10 megs of ram!

It was a very painless process using cross-rs, and I'm still quite surprised how well has worked until this day.



>>> but I'm self-hosting a telegram bot that does a bit of scrapping of a certain site I'm interested in, and serving those messages to a couple of subscribers (around ~10 people).

Very interesting, I can see how this can be more practical than you think


Sounds like an interesting blogpost in and of itself. Have a blog somewhere?


I do have a blog but haven't updated it for a while, but it is also in heavily localized Spanish, so it won't be as useful to most people here :(

I might think on writing a blog post of this now that some of you found it interesting, though!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: