I used direct indexing for the multi thread multi container dispatching.
Use a random int generator. New a new int[100], if you want to put 50% data into container[0], you just set 50 numbers in the int array to 0.
In this way, the program runs much much faster.
New plan:
I promised my boss that I'll develop a prototype to glue SDS, Azure Blob, Azure Queue together by next Thursday. The only thing I have to do is to deal with the SDS part.
No comments:
Post a Comment