Take the 2-minute tour ×  My program flow is like this: I need
to sequential processing per user's request In C++ I will use
boost asio and one strand per user but I had to code in java So
I intend to create one SingleThreadExecutor per user and post
user's task into it's executor But if user num get big I think
this approach will slow because of the big number of thread So I
looking for alternative solution, the other approach in my head
is one queue per user and some how tosh that queue to a fixed
thread pool, need advise here, thanks.  share|improve this
question  1 Answer 1  up vote 0 down vote accepted  Found
solution just 5 minute after I post question T_T It's here,
CallbackTask approach look promising.  share|improve this answer
you can accept your own answer :) –  SiGanteng Jun 25 '12 at
2:51  Your Answer