As per the offline discussion with Imesh and Lahiru, we have decided to
have three partition selection algorithms.

   1. Round-Robin : Always next partition will be selected, this is will
   not ensure that instances are equally distributed to partitions.
   2. Weighted-Round-Robin : It will distribute the instances equally among
   partitions.
   3. One-After-Another : It will select the next partition only if the
   current partition is full.

We will implement Round-Robin by persisting the current partition index.

+1 I think this is the way to go.

-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to