Here is a load share using leaky buckets. This is similar to the equitable pub round algorithm.
You and some mates walk into the pub, some only drink halves, some drink pints, and each person is supposed to pick up their round fairly.
You have a stream of events that you wish to split into streams using different proportions or parts. Have a bucket for each stream.A PIC16F628 rechip of Maplin's Lottery Number Picker ( work in progress )
A PIC16F628 implimentation. ( work in progress )