Hi everybody,
Is it possible to track IP sessions when packets are coming into different threads, meaning they could come in different order too?
The use case is the following: I have a very high throughput of network packets and, in order to handle them efficiently, I would like to run the process in multiple threads. So, if there are 4 packets coming to the process, 1st packet might go to the 1st thread, 2nd packet to the 2nd thread and so on... This might result in packets not being processed in the right order, so 3rd packet might be processed before the 1st one. My knowledge says to me that it would be impossible to track IP sessions in that case but what you think? Is there any way to create IP session context and somehow handle it when packets are not coming in the right order?
If this is not possible, I wonder how networking software handles high throughput efficiently?
Thanks!
No comments:
Post a Comment