Loomio

Fixing Federation

Sean TilleySean Tilley Mon 5 Nov 2012 8:28PMPublicSeen 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?"

Jonne Haß

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.

Rich

RichFri 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?

Jonne Haß

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.

Rich

RichSat 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?

Jonne Haß

Jonne HaßSat 11 Oct 2014 9:00PM

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

Rich

Allow podmins to choose their federation re-try times

proposal by Rich 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

ResultsOptionVotes% of votes cast% of eligible voters
Agree11003Rich
Abstain000 
Disagree000 
Block000 
Undecided3497Sean TilleyFlorian StaudacherSleepyDaddySoftwareHans FaseBilly O'ConnorJonne HaßDevendra MahraJeremy HuffmanJason RobinsonFlaburganPirate PraveenLennart PrelleDave YinglingRasmus FuhseDavid MorleyDennis Schubertelf PavlikElmPetar PetrovićBalasankar C

1 of 35 votes cast (2% participation)

Jonne Haß

Jonne HaßSun 12 Oct 2014 11:38PM

?!?

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

Rich

RichMon 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? :)

Jonne Haß

Jonne HaßMon 13 Oct 2014 6:57PM

Only if there's controversy.

Flaburgan

FlaburganMon 13 Oct 2014 9:13PM

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

Christopher Allan Webber

Christopher Allan WebberThu 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!

Rich

RichThu 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?

Flaburgan

FlaburganThu 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.