Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
cmars
cmars
@cmars@infosec.exchange  ·  activity timestamp 9 months ago

#stigmerge update!

The stigmerge-peer crate has been heavily refactored into an actor-based architecture, a very CSP-like design with supervisors. i have a strong aversion to frameworks, so I implemented my own model inspired by https://ryhl.io/blog/actors-with-tokio/.

I still need to implement much of that advice.. Deal with backpressure, etc. but...

Last night I sent a file through successfully with share announcer, resolver, seeder and fetcher actors!

Hoping for a new major version release in the next couple of weeks. It will likely be a protocol and CLI breaking change.

#rust #veilid #p2p

Actors with Tokio – Alice Ryhl

This article is about building actors with Tokio directly, without using any actor libraries such as Actix. This turns out to be rather easy to do, however there are some details you should be aware of:
  • Copy link
  • Flag this post
  • 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.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct