Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Actyx compatibility #31

Open
1 of 7 tasks
rklaehn opened this issue Dec 21, 2022 · 3 comments
Open
1 of 7 tasks

Actyx compatibility #31

rklaehn opened this issue Dec 21, 2022 · 3 comments

Comments

@rklaehn
Copy link
Contributor

rklaehn commented Dec 21, 2022

Actyx is now a well funded research org for resilient software.

It would be nice if they would use iroh-embed instead of ipfs-embed.

Here is a list of things that we would need to support their use case:

  • mdns
  • advanced peer manager
  • private swarms
  • raw block read and write
  • purely local store api, preferably syncronous
  • gossipsub access
  • broadcast to local peers

Not everything has to be exactly like it is in ipfs-embed. @rkuhn will be able to adapt it a bit and maybe even help a bit with things like the peer manager. But at least there needs to be a functional equivalent for each of the features.

@dignifiedquire
Copy link
Contributor

dignifiedquire commented Dec 21, 2022

We already support MDNS and Gossipsub access. (Under the hood at leaset)

@rklaehn
Copy link
Contributor Author

rklaehn commented Dec 21, 2022

At least for gossipsub, this also needs to be exposed in the api.

@rkuhn
Copy link

rkuhn commented Jan 6, 2023

Thanks for opening this @rklaehn! The list looks mostly correct, with the lone exception that you care more about synchronous storage than I do — as far as I’m concerned asking sqlite is almost as “bad” (better: demanding) as sending a network request to some Oracle instance, lots of stuff can go wrong and it will take lots of CPU cycles.

As for lifetimes: “I don’t see the code anymore, I only see blondes, brunettes, red heads … ” (and I’m not the one, just as Neo wasn’t)

Regarding the peer manager: Actyx is currently maximally greedy, using the ipfs-embed address book to stay connected to every node that we can find an address for. This will eventually need to be refined, of course, but for now it is not complicated.

@dignifiedquire dignifiedquire transferred this issue from n0-computer/iroh Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants