Three quick questions for libuv developers (I will format and add answers 
to the wiki :))

What it is the more efficient for timers..


1. Suppose that you have 500 sessions in parallel for STUN operations. A 
timer is needed for sending ping stun operation.

What is the best, create a global timer (a session list) or one timer 
handle per session and queue them

2. Re transmission in UDP

I want to re transmit a packet every 20ms if no answer is received.

Which paradigm to use ?


3. Threading

When the system has a lot of handles, what is the best for a proxy operation

A <--> Proxy <--> B

One thread for receiving, one thread for sending ? a unique loop or 
different loops ?



-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to