Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
kat
kat
@zkat@toot.cat  ·  activity timestamp 3 months ago

First rough prerelease of @conjured_ink 's eshop software is up on codeberg: https://codeberg.org/conjured/silverfish/releases/tag/v0.0.1

It's so tiny. That's the whole binary. There's no external dependencies. There's only a single binary in it, and it has both the database and the job queue software embedded right in it.

For folks familiar with hosting mastodon: Imagine if that was literally your hosting experience, and the entire thing barely used 80mb to serve thousands of requests per second on a single-core vm. No need to set up and manage mysql, or sidekiq. You just run the executable.

Silverfish (what we're calling this tiny thing) is still in very early stages and only really has a CMS with custom theming support so far, but new features are rapidly being added, and the guts of the thing are really featureful, with light/dark theme support, i18n, and a literal 1kb JS bundle where the entire admin interface works with JS completely disabled and is still super snappy.

I'm very excited

#ConjuredInk #IndieWeb #SmallWeb #ECommerce #Rust #RustLang #Axum

  • Copy link
  • Flag this post
  • Block
Ted
Ted
@tschundler@leds.social replied  ·  activity timestamp 3 months ago

@zkat @conjured_ink we need more services to be like this. Too many things geared towards self-hosting are too complicated to get up and running - a docker image shouldn't be needed.

80M sounds quite large, though I expect there is some bloat beyond your control causing that.

  • Copy link
  • Flag this comment
  • Block
kat
kat
@zkat@toot.cat replied  ·  activity timestamp 3 months ago

@tschundler @conjured_ink the app itself is only 20mb of that. The other 60mb is SQLite caching, which can be tuned. But we don’t use more than that 20mb even when processing thousands and thousands of req/s

  • Copy link
  • Flag this comment
  • Block
kat
kat
@zkat@toot.cat replied  ·  activity timestamp 3 months ago

@tschundler @conjured_ink generally, as long as it stays under 200mb there doesn’t seem to be a point in trying to make it go smaller though.

  • Copy link
  • Flag this comment
  • Block
Emil Jacobs - Collectifission
Emil Jacobs - Collectifission
@collectifission@greennuclear.online replied  ·  activity timestamp 3 months ago

@zkat a project in Rust? Nice. It shows how much more efficient things can be if we stop using Ruby et al for big web projects.

@dch

  • Copy link
  • Flag this comment
  • Block
Alex with the Temper
Alex with the Temper
@holsta@mastodon.art replied  ·  activity timestamp 3 months ago

@zkat Nice. Is the Node.js requirement temporary?

  • Copy link
  • Flag this comment
  • Block
kat
kat
@zkat@toot.cat replied  ·  activity timestamp 3 months ago

@noracodes indeed

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.23 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct