I've been refactoring the scuttlebot blob replication system, which is what downloads images, etc, attached to posts.
The new version is centered around a Job Queue. When you learn about a new item, it's added to the queue, and is then processed.
It's the nature of most p2p systems, that there are various things that need to happen in the background to maintain the network. Periodically connect with peers and exchange data - things like that.
Indeed, for some jobs there are other prereqs, to exchange a blob, you need to be connected to some peers. So different processors might react to the jobs in a different way. You can think of it as a declaration of what you want to be true (have this file) and then the system goes about making it so.
I think it will work really well to expand this to include other parts of the system. So when you post a message, the system connects to lots of peers to make sure everyone has it. If you havn't posted anything in a while, just go into idle mode.
thanks. okay something weird is happening for me...
Can people upload some images for me? I'm testing blob (image, file, etc) replication!
Lol, you should post it to Derek.
@mixmix does this show mutual follows, or one way follows?
Show whole feed