Changeset 705
- Timestamp:
- 02/18/08 20:35:14 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/binary/server/doc/binary-protocol-plan-v2.txt
r687 r705 286 286 0x0A No-op 287 287 0x0B Version 288 0x0C GetR289 0x0D SetR290 288 291 289 3.4. Data Types … … 330 328 network roundtrips!) as n pipelined requests, the first n-1 being 331 329 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 2007338 339 340 330 a response, and you know when the server's done. you can also do the 341 331 naive thing and send n pipelined gets, but then you could potentially 332 333 334 335 Aaron Stone Expires June 16, 2008 [Page 6] 336 337 Internet-Draft Memcache Binary Protocol December 2007 338 339 342 340 get back a lot of "NOT_FOUND!" error code packets. alternatively, you 343 341 can send 'n' getqs, followed by an 'echo' or 'noop' command. … … 389 387 390 388 389 390 391 391 Aaron Stone Expires June 16, 2008 [Page 7] 392 392 … … 465 465 +---------------+---------------+---------------+---------------+ 466 466 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 467 478 468 479 These commands will either add or remove the specified amount to the … … 490 501 491 502 492 493 494 495 496 497 498 499 500 501 502 503 503 Aaron Stone Expires June 16, 2008 [Page 9] 504 504
