I like numbers and comparing stuff base on data. This has touched my decentralized data algorithm background.
1- The system how is now. A round robin system with a direction. I base the information like a cpu scheduling algorithms.
Lets say I got a 1 kg of melon seeds to share, we are 18 people now and increasing, and it takes 10€ to send the package.
I want to send a 1 kg of melon seeds to all 18. Lets remove myself 18-1 that is me so 17 people. Instead a 1 kg, lets make it numbers pretty, so 1,7 kg of melon seeds.
17 people, I have to send 1,7 kg of melon seeds, and it cost me 17€.
First person me send the package, 1,7kg, 17€ second people remove 100g and send it again, so 1,6kg so 16€ and so and so.
Price for shipping is 17+16+15+…1 = 152€, you use the triangular number function x(x+1)/2. It says the anecdote by a young boy name Carl Friedrich Gauss that he discovered when the school teacher make him starting to count numbers pointless.
That is the ideal world, but the reality is not that pretty, probably that 1,7 kg is not there and the people last on the list did not receive any seed from my melons, or when the package arrives only very few seeds remains.
My recommendation is base on decentralized systems and trying to improving the round robin separation of tasks that is sending the packages the cost of it and improving the time to arrive.
So If we want to improve this decentralized system and we want to send the seeds to all the people, faster, cheaper, safer we need to increase the number of packages send.
Now that I have thought about it, I think it is a very good way to improve the system.
First of all, I want the security to increase, two packages instead of one. If the package is lost or damaged in transit you got another “save box” with all that genetic diversity. If not, we do not want to lose everything in case of disaster. Touching wood. Yes, we can create the package again, but I like to prepare for the worst, expect the best, and take what comes.
Lets run the same numbers but now with two packages in two different locations like before.
2- Lets say I got a 1,7 kg of melon seeds to share, we are 17 people now and it takes 1€ for every 100g to send the package, and now I can send two packages instead of one. One package in every direction. You got the right package and you got the left package, lets name like that to be catchy.
Right package like now. Lets send half of it.
First person me send the package to the right 9 people, so 0,9kg so 9 euros. The other ones send the package to the right, you now the drill, 8 people remanging so 8 euros, then 7 euros… calculating with triangular number function.
So price for right shipping is 9+8+7+6+…+1= 45€.
Lets do the same but for the left package.
8+7+…+1=36€,
So if we add 45+36= 81€
Lets compare that with the previous system.
152€ vs 81€, lets do a %, (81/152)*100 =53,29%
It is almost double the price, only sending one package instead of sending two packages.
You got like double efficiency, half of the time, half of the price.
It remembers a lot of the pattern of the bees recollecting the nectar, going to the farthest away instead of the near flowers.
If It was me to organize the swap, I will do two threads, this one for the right package, the system like now will not change at all, so it is backwards compatible. And the I create a new post about the left packaging, that is a mirror like this one, but the only thing that we require to change is the order of the people, and it would be the opposite that now.