Socket.IO 1.0

Socket.IO 1.0

486e20e16ef676a02ac0299d2f92b813?s=128

Guillermo Rauch

June 14, 2012
Tweet

Transcript

  1. 53.

    My name is John My name is John User A

    User B Thursday, June 14, 12
  2. 54.

    My name is John My name is John User A

    User B #1 #1 Thursday, June 14, 12
  3. 55.

    My name is John My name is John User A

    User B #1 #1 concurrently Thursday, June 14, 12
  4. 56.

    My name is John My name is John User A

    User B #1 #1 concurrently My name is John Hello Thursday, June 14, 12
  5. 57.

    My name is John My name is John User A

    User B #1 #1 concurrently My name is John Hello My name is John Doe Thursday, June 14, 12
  6. 58.

    My name is John My name is John User A

    User B #1 #1 concurrently My name is John Hello My name is John Doe 1. Go to position 0 and remove 10 characters Thursday, June 14, 12
  7. 59.

    My name is John My name is John User A

    User B #1 #1 concurrently My name is John Hello My name is John Doe 1. Go to position 0 and remove 10 characters 2. Add “Hello” at position 0 Thursday, June 14, 12
  8. 60.

    My name is John My name is John User A

    User B #1 #1 concurrently My name is John Doe { “rev”: 1, “ops“: [ { “type“: “delete”, “pos”: 0, “length”: 10 } , { “type“: “add”, “pos”: 0, “text”: “Hello” } ]} Thursday, June 14, 12
  9. 61.

    My name is John My name is John User A

    User B #1 #1 concurrently { “rev”: 1, “ops“: [ { “type“: “delete”, “pos”: 0, “length”: 10 } , { “type“: “add”, “pos”: 0, “text”: “Hello” } ]} { “rev”: 1, “ops“: [ { “type“: “add”, “text”: “ Doe”, “pos”: 15 } ]} Thursday, June 14, 12
  10. 63.

    1. Go to position 0 and remove 10 characters 2.

    Add “Hello” at position 0 3. Add “ Doe” at position 15 Thursday, June 14, 12
  11. 64.

    1. Go to position 0 and remove 10 characters 2.

    Add “Hello” at position 0 1. Add “ Doe” at position 15 || Thursday, June 14, 12
  12. 65.

    1. Go to position 0 and remove 10 characters 2.

    Add “Hello” at position 0 3. Add “ Doe” at position 10 Thursday, June 14, 12
  13. 66.

    1. Go to position 0 and remove 10 characters 2.

    Add “Hello” at position 0 3. Add “ Doe” at position (15 - 10 + 5) Thursday, June 14, 12
  14. 67.

    1. Go to position 0 and remove 10 characters 2.

    Add “Hello” at position 0 3. Add “ Doe” at position (15 - 10 + 5) 1 Thursday, June 14, 12
  15. 68.

    1. Go to position 0 and remove 10 characters 2.

    Add “Hello” at position 0 3. Add “ Doe” at position (15 - 10 + 5) 2 Thursday, June 14, 12
  16. 69.

    1. Go to position 0 and remove 10 characters 2.

    Add “Hello” at position 0 3. Add “ Doe” at position 10 Thursday, June 14, 12
  17. 98.

    “I love the 500 lines of embedded Flash websocket emulation

    code in the socket.io-client” said no one ever Thursday, June 14, 12