locker in using evcitor index
StreamOut is a distribute streaming service
I made 3 indices for a evictor, but I am not sure that if I should use 3 lockers or all index must share one locker.
Please anybody give a tip on this.
Thanks very much .
Administrators, ZeroC Staff
It's hard to answer this question without knowing a lot more about your application but in general:
three locks might provide greater concurrency.
three locks will be more expensive to acquire than just one lock when an item is added/removed from the main evictor.
using three locks is more complex than using just one lock.
My recommandation would be to start with a single lock as its simpler.