[Vortex] Best practices for sending a large amount of bytes?

Francis Brosnan Blazquez francis at aspl.es
Wed Oct 17 09:46:27 CEST 2007


Hi Chris,

Looking at the pseudocode you have provided there is nothing wrong that
could spot the problem you are experimenting. Definitely the problem is
located at other place...

I've updated the vortex regression test to include a more aggressive
check for tne ANS/NUL pattern and works properly. Check the client and
server implementation at (test/vortex-regression-listener.c and
test/vortex-regression-client.c) and the following server
(test/vortex-omr-server.c).

> When sending a large amount of bytes over the wire, what is the best
> way, using the Vortex API, to do this?  MSG/ANS (of course) and
> channel
> pools?  Use the "queue" api?  

The queue reply (vortex_channel_queue_reply) shows to be slower than
setting a frame receive handler that manage the frame received directly.

Cheers,

-- 
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.




More information about the Vortex mailing list