Loomio

Fixing Federation

ST Sean Tilley Public Seen by 93

Just a general discussion. This isn't about switching protocols, instead this discussion asks an equally important question: "What can we fix in our own implementation right now?"

JH

Jonne Haß Thu 9 Oct 2014 9:58AM

Increasing the interval will mean increased memory usage by Redis since a larger number of retries will pile up.

DU

Rich Fri 10 Oct 2014 8:18AM

With what Maciek is suggesting it shouldn't make a difference to usage as the total retries would still only be 3.

Just at 1/4/24 instead of 1/1/1 ?

Which will help federation for offline pods a huge amount?

JH

Jonne Haß Fri 10 Oct 2014 9:07AM

It'll make a difference, it won't grow after the initial growth, but the base usage will be higher since on average more retries will be in the queue waiting for their time to run.

DU

Rich Sat 11 Oct 2014 12:01PM

Ah I see! Good point my friend :)

Ok, so how about we move the three 1hr retry options into diaspora.yml and let the podmin choose the three interval times to suit their server environment?

JH

Jonne Haß Sat 11 Oct 2014 9:00PM

Well, I guess a config option can’t hurt.

DU

Poll Created Sun 12 Oct 2014 8:09PM

Allow podmins to choose their federation re-try times Closed Sun 19 Oct 2014 11:08PM

To try and improve the federation I propose we move the federation re-try times of 1hr/1hr/1hr from being hard coded, to being contained in config/diaspora.yml

This will allow each podmin to choose the retry interval times to suit their own pod environment.

Results

Results Option % of points Voters
Agree 100.0% 1 DU
Abstain 0.0% 0  
Disagree 0.0% 0  
Block 0.0% 0  
Undecided 0% 34 ST FS S HF BO JH DM JH JR F PP LP DY RF DM DS EP E PP BC

1 of 35 people have participated (2%)

JH

Jonne Haß Sun 12 Oct 2014 11:38PM

?!?

Why the proposal? Where did any one oppose a configuration option?

DU

Rich Mon 13 Oct 2014 5:33PM

Isn't that what we do on Loomio? Discuss then propose, to give people the opportunity to vote/object?

Or have I completely missed the point? :)

JH

Jonne Haß Mon 13 Oct 2014 6:57PM

Only if there's controversy.

F

Flaburgan Mon 13 Oct 2014 9:13PM

@rich1 I guess if you write a patch nobody will reject it ;)

CAW

Christopher Allan Webber Thu 6 Nov 2014 5:45PM

Hello all! Chris Webber of MediaGoblin here.

I would highly, highly recommend that if you're interested in fixing Diaspora's federation that you join the W3C social working group: https://www.w3.org/wiki/Socialwg#How_to_participate

We are entering the stage where federation protocols are being discussed. I know that I really, really would love MediaGoblin to work with Diaspora... as well as GNU Social, etc!

There will probably never be another opportunity like this again. Please, please get someone from Diaspora development involved in the group! We could really use your input!

Let's assemble get our network freedom rebel alliance federating together!

DU

Rich Thu 13 Nov 2014 11:04AM

Ok, so I'm not sure of the processes here. What's the next step now? How do we go about taking this out of Loomio and in to reality?

Do I need to post something on github to make the developers aware that this needs doing?

F

Flaburgan Thu 13 Nov 2014 11:24AM

@rich1 honestly, about the federation, the first step is to refactor the code to use @florianstaudacher 's gem, see #5114.

But this is a big work, so maybe you can open an issue "add possibility to configure number of retries" or something like that.