Few words about new Vserver --- part 2

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jul 12 23:15:47 CDT 2006


2) another very important innovation -- we have develop new protocol.

Old protocol was STREAM-based. In case client or server get some command
which on some reason have mistake at least in one byte - problems. There was
no way to somehow stop this and start do next command.

New protocol is PACKET-based. Each command is made as separate logical
packet, with some header, with start and end signatures.

    Signatures - are overhead, which allow do additional check
        that packet is correct...

    Header have some useful information which allow us do things
        we was not able do before.

The most important is that now we are able extract the whole packet of
command as ATOM, check signatures, and other things, In case we see some
problems, vserver disconnects this connection.


3) Versions of packets.

    now each packet is signed by version 2.4.
    Future we should be able add/extend commands
    and much more easy new server should be able support of clients.


4) Packets allow us do new cool feature:
    
    we can COMPRESS all packets, which are bigger e.g. 512 bytes.

    This is perfectly fit to e.g. Client-side cursors, BitSets, ArraySets...
    Because these structures usually are not small and take few Kb.

    So we are able reduce network traffic and speedup things.

    Using STREAM-based protocol this is impossible, because you just
    write and write an write data directly into socket.



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina-beta mailing list