Changeset 705

Show
Ignore:
Timestamp:
02/18/08 20:35:14 (6 months ago)
Author:
astone
Message:

Updated the xml2rfc generated txt output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/binary/server/doc/binary-protocol-plan-v2.txt

    r687 r705  
    286286   0x0A    No-op 
    287287   0x0B    Version 
    288    0x0C    GetR 
    289    0x0D    SetR 
    290288 
    2912893.4.  Data Types 
     
    330328   network roundtrips!) as n pipelined requests, the first n-1 being 
    331329   getq, the last being a regular get. that way you're guaranteed to get 
    332  
    333  
    334  
    335 Aaron Stone               Expires June 16, 2008                 [Page 6] 
    336   
    337 Internet-Draft          Memcache Binary Protocol           December 2007 
    338  
    339  
    340330   a response, and you know when the server's done. you can also do the 
    341331   naive thing and send n pipelined gets, but then you could potentially 
     332 
     333 
     334 
     335Aaron Stone               Expires June 16, 2008                 [Page 6] 
     336  
     337Internet-Draft          Memcache Binary Protocol           December 2007 
     338 
     339 
    342340   get back a lot of "NOT_FOUND!" error code packets. alternatively, you 
    343341   can send 'n' getqs, followed by an 'echo' or 'noop' command. 
     
    389387 
    390388 
     389 
     390 
    391391Aaron Stone               Expires June 16, 2008                 [Page 7] 
    392392  
     
    465465       +---------------+---------------+---------------+---------------+ 
    466466     Total 20 bytes 
     467 
     468   incr/decr response body: 
     469 
     470     Byte/     0       |       1       |       2       |       3       | 
     471        /              |               |               |               | 
     472       |0 1 2 3 4 5 6 7|0 1 2 3 4 5 6 7|0 1 2 3 4 5 6 7|0 1 2 3 4 5 6 7| 
     473       +---------------+---------------+---------------+---------------+ 
     474      0| 64-bit unsigned response.                                     | 
     475       |                                                               | 
     476       +---------------+---------------+---------------+---------------+ 
     477     Total 8 bytes 
    467478 
    468479   These commands will either add or remove the specified amount to the 
     
    490501 
    491502 
    492  
    493  
    494  
    495  
    496  
    497  
    498  
    499  
    500  
    501  
    502  
    503503Aaron Stone               Expires June 16, 2008                 [Page 9] 
    504504