Audioscrape: Building in Rust When Everyone Said I Shouldn't
11–20 of 47 posts
Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#12Love your story here! You're not doing it wrong at all. > Has anyone else bootstrapped using Rust? What were your experiences? We scaled several websites to 6M+ MAUs on Actix/SQLx and ran that on the lowest tier VMs. Rust is God Mode for efficient and scalable HTTP services. Moreover, the type safety and robust type system give us incredible confidence that our software is defect free.
While we currently have fewer users, I've also found Rust's type safety and robust system invaluable for building reliable software. In my experience, if it compiles, it just works—quite a contrast to dealing with runtime error minefields in Python, Java, or TypeScript.
Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#13How did you get your first 500 users?
Some people used the share feature of Audioscrape to emphasize their points in discussions on X. For example, 'Here, this is what Zuckerberg said recently about Y '
Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#14Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#15"Database: SQLite with SQLx for type-safe queries" I might be ignorance. But is it not safe? How do you back up your data?
As for backups, the setup is straightforward: just periodically copy the SQLite file to a secure location. Since it's a single binary and a database file, this keeps things simple and low-maintenance.
Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#16Yes, we are building a parsing platform in rust. (~50k loc) Stack: actix + diesel (async) for PG.
Getting the right project structure was not simple (that could deserve a blog post). Performance is super nice if you do heavy IO.
Beware of memory usage handling with actix.
Day to day dev is a joy, once it compile you can be confident it will work as expected.
Never .unwrap / panic !
Use clippy to check your code.
Once you have your project structure done, adding a new web handler is as fast as adding one in Django or Flask.
Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#17> Has anyone else bootstrapped using Rust? What were your experiences? Yes, we are building a parsing platform in rust. (~50k loc) Stack: actix + diesel (async) for PG. Getting the right project structure was not simple (that could deserve a blog post). Performance is super nice if you do heavy IO. Beware of memory usage handling with actix. Day to day dev is a joy, once it compile you can be confident it will work a…
Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#184k loc in a single file must be brutal
Folders often just add an extra layer to search through. It's basically a search param. With Neovim and strict naming conventions, I've found managing everything in one file works quite well. Keyboard navigation can make folders feel like a hassle in the vi context. This setup has been effective so far, though potential downsides might appear later on.
Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#19Similar setups (Rocket and Actix instead of Axum, Tera instead of Askama, Diesel instead of SQLx) and overall experience (incredibly cheap, reliable, and since these projects have been running a long time, amazingly easy to return to the codebases after months/years and make changes with a high level of confidence).
I distinctly remember how happy I felt the first time I realized that I had enough paying subscribers to offset the cost of the running the service!
[1]: https://notado.app
[2]: it had a decent amount of HN discussion last week - https://news.ycombinator.com/item?id=41697228
[3]: https://kulli.sh
Re: Audioscrape: Building in Rust When Everyone Said I Shouldn't
#20"Database: SQLite with SQLx for type-safe queries" I might be ignorance. But is it not safe? How do you back up your data?
Thanks for asking! Using SQLite with SQLx in Rust provides type-safe SQL queries, which enhances safety by catching errors at compile time. As for backups, the setup is straightforward: just periodically copy the SQLite file to a secure location. Since it's a single binary and a database file, this keeps things simple and low-maintenance.