-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffh-check-connection: initial commit #9
Conversation
3fa4b74
to
a5c92a5
Compare
@mweinelt Maybe it makes more sense to add the LICENSE file of Gluon into the base directory of this repository as the Gluon license (whatever it is) has no clear SPDX identifier. |
da41369
to
284f435
Compare
This commit adds a new package which can be used for scheduled connectivity checks.
284f435
to
50f1c9c
Compare
is this a newer version of freifunk-gluon/gluon#1930 ? in any case, possible to merge here in community repo, maybe @lemoer wants to do it, he could endorse it as another person from ffh and has the rights to merge. |
@rotanid Yes, it's almost the same as #1930. Actually the code in #1930 worked out of the box besides a missing tonumber. I lost interest in #1930, because I didn't get any feedback on my basic question: Is this the way we want to handle it? I don't go with the idea in freifunk-gluon/gluon#2228, because we had the same discussion 2 years ago for the offline-ssid package. At that time it was decided that check-connection should use ICMP ping, because of the following reasons:
Now in freifunk-gluon/gluon#2228 the same discussion was started again, but they seem to have forgotten all the initial goals and are now building something over-engineered which does not fulfill the purposes. The reason they want to do it differently seems to be that ICMP pings are costly?! But that is not true at all. Doing a ping once a minute with a bigger collection of servers (e.g. from Freifunk communities) is negligible from a resource view. Ping was designed to do pings and batctl is not mesh-protocol-agnostic and is more costly. I felt they only did #2228, because they don't like me or something, because it does not make sense. I can't respond to #2228, because they blocked me from discussion there... |
I converted this to a draft as some people feel that pinging global hosts has a too high cost. While I do not agree about the cost I see the possibility to limit these pings by:
For the second step I've outlined an idea a while ago to semantically segment the mesh network with a daemon called meshrealmd which uses RAFT to elect leaders for segments . That will take a while... |
gluon/2245 was merged yesterday; it may make sense to take a look at it; |
Close? Update? |
It is now more than 3 years ago that this was active. Use of |
This commit adds a new package which can be used for scheduled
connectivity checks.