Building a CQL driver

Theo Hultberg | Chief Architect, Burt

#CASSANDRAEU

CASSANDRASUMMITEU
Theo Hultberg
Chief Architect at

#CASSANDRAEU

@ICONARA
#CASSANDRAEU

@ICONARA
I LIKE RUBY
AND I LIKE
CASSANDRA
#CASSANDRAEU

@ICONARA
start_native_transport: true

#CASSANDRAEU

@ICONARA
JUST
OPEN A
SOCKET
#CASSANDRAEU

@ICONARA
01
00
56
05

00
01
45
33

#CASSANDRAEU

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

@ICONARA
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
0000 0001

01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 ...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
02
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

82 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01 00 2a 01 00 00 00 16
00 01 00 0b C Q L _
V E R S I O N 00
05 33 2e 30 2e 30
81 00 2a 02 00 00 00 00

#CASSANDRAEU

@ICO...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
01 00 2a 01 00 00 00 16
00 01 00 0b 43 51 4c 5f
56 45 52 53 49 4f 4e 00
05 3 . 0 . 0
81 00 2a 02 00 00 00 00

#CASSANDRAEU...
01
00
56
05

00
01
45
33

2a
00
52
2e

01
0b
53
30

00
43
49
2e

00 00 16
51 4c 5f
4f 4e 00
30

81 00 2a 02 00 00 00 00

#...
STARTUP
READY

#CASSANDRAEU

@ICONARA
{“CQL_VERSION”: “3.0.1”}

READY

#CASSANDRAEU

@ICONARA
OPTIONS
SUPPORTED
STARTUP
READY

#CASSANDRAEU

@ICONARA
OPTIONS
{“CQL_VERSION”: [“3.0.0”, ...]}

STARTUP
READY

#CASSANDRAEU

@ICONARA
OPTIONS
SUPPORTED
STARTUP
AUTHENTICATE
CREDENTIALS
READY

#CASSANDRAEU

@ICONARA
QUERY
RESULT

#CASSANDRAEU

@ICONARA
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
74
1e...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
74
1e...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
74
1e...
01 00 00 07 00 00 00 19 00 00 00 13
C T
*
F R O M
U S
04
81
00
00
6d
61
04
74
1e
75
6e
c4

00
00
05
65
73
70
65
ee
65
65
7...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
74
1e...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
74
1e...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
74
1e...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
m
a
04
74
1e
7...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
74
1e...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
t
1e
...
01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45
43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00
04
81
00
00
6d
61
04
74
1e...
QUERY
ERROR

#CASSANDRAEU

@ICONARA
PREPARE
RESULT
EXECUTE
RESULT
EXECUTE
#CASSANDRAEU

RESULT

@ICONARA
01
43
48
20

00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45
54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57
45 52 45 20 75 73 6...
01
43
48
20

00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45
54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57
45 52 45 20 75 73 6...
01 00 03 09 00 00 00 2a 00 00 00 26
C T
*
F R O M
u s
H E R E
u s e r _ n a
?
81
7f
00
63
6e

00
1e
01
65
61

03
7a
00
00
...
01
43
48
20

00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45
54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57
45 52 45 20 75 73 6...
01
43
48
20

00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45
54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57
45 52 45 20 75 73 6...
01
43
48
20

00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45
54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57
45 52 45 20 75 73 6...
01
43
48
20

00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45
54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57
45 52 45 20 75 73 6...
01
43
48
20

00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45
54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57
45 52 45 20 75 73 6...
STREAM 06
STREAM 07
STREAM 08
STREAM 09
STREAM 0a
STREAM 0b
STREAM 0c
STREAM 0d
STREAM 0e
STREAM 0f
STREAM 10
#CASSANDRAEU...
STREAM ff

#CASSANDRAEU

EVENT

@ICONARA
THE HARD PART
IS NOT THE
PROTOCOL
#CASSANDRAEU

@ICONARA
THE DISTRIBUTED
SYSTEM INCLUDES
THE CLIENT
#CASSANDRAEU

@ICONARA
×
×
#CASSANDRAEU

@ICONARA
I GET BUG
REPORTS
#CASSANDRAEU

@ICONARA
Map: a [short] n indicating the size of the map,
followed by n entries. Each entry is composed
of two [short bytes] repres...
RUBY
PERFORMANCE
(WAIT FOR IT)
#CASSANDRAEU

@ICONARA
GO WRITE
YOUR OWN
DRIVERS
#CASSANDRAEU

@ICONARA
github.com/iconara/cql-rb

#CASSANDRAEU

@ICONARA
Building a CQL driver

Theo Hultberg | Chief Architect, Burt

#CASSANDRAEU

CASSANDRASUMMITEU
Upcoming SlideShare
Loading in …5
×

Building a CQL driver

2,247 views

Published on

Cassandra Summit Europe 2013

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,247
On SlideShare
0
From Embeds
0
Number of Embeds
1,895
Actions
Shares
0
Downloads
5
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Building a CQL driver

  1. 1. Building a CQL driver Theo Hultberg | Chief Architect, Burt #CASSANDRAEU CASSANDRASUMMITEU
  2. 2. Theo Hultberg Chief Architect at #CASSANDRAEU @ICONARA
  3. 3. #CASSANDRAEU @ICONARA
  4. 4. I LIKE RUBY AND I LIKE CASSANDRA #CASSANDRAEU @ICONARA
  5. 5. start_native_transport: true #CASSANDRAEU @ICONARA
  6. 6. JUST OPEN A SOCKET #CASSANDRAEU @ICONARA
  7. 7. 01 00 56 05 00 01 45 33 #CASSANDRAEU 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 @ICONARA
  8. 8. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  9. 9. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  10. 10. 0000 0001 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 1000 0001 #CASSANDRAEU @ICONARA
  11. 11. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  12. 12. 02 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 82 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  13. 13. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  14. 14. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  15. 15. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  16. 16. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  17. 17. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  18. 18. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  19. 19. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  20. 20. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  21. 21. 01 00 2a 01 00 00 00 16 00 01 00 0b C Q L _ V E R S I O N 00 05 33 2e 30 2e 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  22. 22. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  23. 23. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  24. 24. 01 00 2a 01 00 00 00 16 00 01 00 0b 43 51 4c 5f 56 45 52 53 49 4f 4e 00 05 3 . 0 . 0 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  25. 25. 01 00 56 05 00 01 45 33 2a 00 52 2e 01 0b 53 30 00 43 49 2e 00 00 16 51 4c 5f 4f 4e 00 30 81 00 2a 02 00 00 00 00 #CASSANDRAEU @ICONARA
  26. 26. STARTUP READY #CASSANDRAEU @ICONARA
  27. 27. {“CQL_VERSION”: “3.0.1”} READY #CASSANDRAEU @ICONARA
  28. 28. OPTIONS SUPPORTED STARTUP READY #CASSANDRAEU @ICONARA
  29. 29. OPTIONS {“CQL_VERSION”: [“3.0.0”, ...]} STARTUP READY #CASSANDRAEU @ICONARA
  30. 30. OPTIONS SUPPORTED STARTUP AUTHENTICATE CREDENTIALS READY #CASSANDRAEU @ICONARA
  31. 31. QUERY RESULT #CASSANDRAEU @ICONARA
  32. 32. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  33. 33. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  34. 34. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  35. 35. 01 00 00 07 00 00 00 19 00 00 00 13 C T * F R O M U S 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 S E E R 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 L E S 00 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  36. 36. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  37. 37. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  38. 38. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  39. 39. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 m a 04 74 1e 75 6e c4 00 00 05 e s 70 65 ee 65 65 7e 00 00 75 00 s 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d w 69 2e 93 00 00 44 00 00 65 00 o 6c 6e cb 00 00 35 00 0a 72 05 r 00 65 22 0d 00 32 00 6d 73 e d 00 74 bb 73 20 73 bf 79 00 m 00 00 00 8f 75 32 00 6b 09 a 03 0d 00 5a 65 7b 00 65 u i 00 70 00 cd 40 6f 00 79 s l 00 68 20 c3 69 07 02 73 e 00 00 69 5e 00 6e 43 00 70 r 0d 02 6c b6 00 74 58 00 61 _ 00 00 40 3b 00 65 11 00 63 n 08 00 69 bb 03 72 23 01 65 a p 00 6e e0 73 2e 9b @ICONARA
  40. 40. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  41. 41. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 t 1e u n c4 00 00 05 65 73 p e ee e e 7e 00 00 75 00 73 h r d0 00 t 15 #CASSANDRAEU 08 03 73 0d 77 i . 93 00 00 44 00 00 65 00 6f l n cb 00 00 35 00 0a 72 05 72 00 e 22 0d 00 32 00 6d 73 65 64 00 t bb s 20 73 bf 79 00 6d 00 00 00 8f u 32 00 6b 09 61 03 0e 00 5a e 7b 00 65 75 69 00 p 00 cd @ 6f 00 79 73 6c 00 h 20 c3 i 07 02 73 65 00 00 i 5e 00 n 43 00 70 72 0d 02 l b6 00 t 58 00 61 5f 00 00 @ 3b 00 e 11 00 63 6e 08 00 i bb 03 r 23 01 65 61 70 00 n e0 s . 9b @ICONARA
  42. 42. 01 00 00 07 00 00 00 19 00 00 00 13 53 45 4c 45 43 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 73 00 04 81 00 00 6d 61 04 74 1e 75 6e c4 00 00 05 65 73 70 65 ee 65 65 7e 00 00 75 00 73 68 72 d0 00 74 15 #CASSANDRAEU 08 03 73 0d 77 69 2e 93 00 00 44 00 00 65 00 6f 6c 6e cb 00 00 35 00 0a 72 05 72 00 65 22 0d 00 32 00 6d 73 65 64 00 74 bb 73 20 73 bf 79 00 6d 00 00 00 8f 75 32 00 6b 09 61 03 0d 00 5a 65 7b 00 65 75 69 00 70 00 cd 40 6f 00 79 73 6c 00 68 20 c3 69 07 02 73 65 00 00 69 5e 00 6e 43 00 70 72 0d 02 6c b6 00 74 58 00 61 5f 00 00 40 3b 00 65 11 00 63 6e 08 00 69 bb 03 72 23 01 65 61 70 00 6e e0 73 2e 9b @ICONARA
  43. 43. QUERY ERROR #CASSANDRAEU @ICONARA
  44. 44. PREPARE RESULT EXECUTE RESULT EXECUTE #CASSANDRAEU RESULT @ICONARA
  45. 45. 01 43 48 20 00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57 45 52 45 20 75 73 65 72 5f 6e 61 6d 65 20 3d 3f 81 7f 00 63 6e 00 1e 01 65 61 03 7a 00 00 6d #CASSANDRAEU 08 82 00 05 65 00 d2 00 75 00 00 3c 01 73 0d 00 4e 00 65 3e 8a 0a 72 00 f3 6d 73 00 35 79 00 00 51 6b 09 04 71 65 75 00 a5 79 73 10 2f 73 65 ca 00 70 72 48 00 61 5f @ICONARA
  46. 46. 01 43 48 20 00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57 45 52 45 20 75 73 65 72 5f 6e 61 6d 65 20 3d 3f 81 7f 00 63 6e 00 1e 01 65 61 03 7a 00 00 6d #CASSANDRAEU 08 82 00 05 65 00 d2 00 75 00 00 3c 01 73 0d 00 4e 00 65 3e 8a 0a 72 00 f3 6d 73 00 35 79 00 00 51 6b 09 04 71 65 75 00 a5 79 73 10 2f 73 65 ca 00 70 72 48 00 61 5f @ICONARA
  47. 47. 01 00 03 09 00 00 00 2a 00 00 00 26 C T * F R O M u s H E R E u s e r _ n a ? 81 7f 00 63 6e 00 1e 01 65 61 03 7a 00 00 6d #CASSANDRAEU 08 82 00 05 65 00 d2 00 75 00 00 3c 01 73 0d 00 4e 00 65 3e 8a 0a 72 00 f3 6d 73 00 35 79 00 00 51 6b 09 04 71 65 75 S e m E r e L E W = 00 a5 79 73 10 2f 73 65 ca 00 70 72 48 00 61 5f @ICONARA
  48. 48. 01 43 48 20 00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57 45 52 45 20 75 73 65 72 5f 6e 61 6d 65 20 3d 3f 81 7f 00 63 6e 00 1e 01 65 61 03 7a 00 00 6d #CASSANDRAEU 08 82 00 05 65 00 d2 00 75 00 00 3c 01 73 0d 00 4e 00 65 3e 8a 0a 72 00 f3 6d 73 00 35 79 00 00 51 6b 09 04 71 65 75 00 a5 79 73 10 2f 73 65 ca 00 70 72 48 00 61 5f @ICONARA
  49. 49. 01 43 48 20 00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57 45 52 45 20 75 73 65 72 5f 6e 61 6d 65 20 3d 3f 81 7f 00 63 6e 00 1e 01 65 61 03 7a 00 00 6d #CASSANDRAEU 08 82 00 05 65 00 d2 00 75 00 00 3c 01 73 0d 00 4e 00 65 3e 8a 0a 72 00 f3 6d 73 00 35 79 00 00 51 6b 09 04 71 65 75 00 a5 79 73 10 2f 73 65 ca 00 70 72 48 00 61 5f @ICONARA
  50. 50. 01 43 48 20 00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57 45 52 45 20 75 73 65 72 5f 6e 61 6d 65 20 3d 3f 81 7f 00 63 6e 00 1e 01 65 61 03 7a 00 00 6d #CASSANDRAEU 08 82 00 05 65 00 d2 00 75 00 00 3c 01 73 0d 00 4e 00 65 3e 8a 0a 72 00 f3 6d 73 00 35 79 00 00 51 6b 09 04 71 65 75 00 a5 79 73 10 2f 73 65 ca 00 70 72 48 00 61 5f @ICONARA
  51. 51. 01 43 48 20 00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57 45 52 45 20 75 73 65 72 5f 6e 61 6d 65 20 3d 3f 81 7f 00 63 n 00 1e 01 65 a 03 7a 00 00 m #CASSANDRAEU 08 82 00 05 e 00 d2 00 75 00 00 3c 01 73 0d 00 4e 00 65 3e 8a 0a 72 00 f3 6d 73 00 35 79 00 00 04 00 10 ca 48 51 71 a5 2f 00 00 6b 65 79 73 70 61 09 u s e r _ @ICONARA
  52. 52. 01 43 48 20 00 03 09 00 00 00 2a 00 00 00 26 53 45 4c 45 54 20 2a 20 46 52 4f 4d 20 75 73 65 72 20 57 45 52 45 20 75 73 65 72 5f 6e 61 6d 65 20 3d 3f 81 7f 00 63 6e 00 1e 01 65 61 03 7a 00 00 6d #CASSANDRAEU 08 82 00 05 65 00 d2 00 75 00 00 3c 01 73 0d 00 4e 00 65 3e 8a 0a 72 00 f3 6d 73 00 35 79 00 00 51 6b 09 04 71 65 75 00 a5 79 73 10 2f 73 65 ca 00 70 72 48 00 61 5f @ICONARA
  53. 53. STREAM 06 STREAM 07 STREAM 08 STREAM 09 STREAM 0a STREAM 0b STREAM 0c STREAM 0d STREAM 0e STREAM 0f STREAM 10 #CASSANDRAEU @ICONARA
  54. 54. STREAM ff #CASSANDRAEU EVENT @ICONARA
  55. 55. THE HARD PART IS NOT THE PROTOCOL #CASSANDRAEU @ICONARA
  56. 56. THE DISTRIBUTED SYSTEM INCLUDES THE CLIENT #CASSANDRAEU @ICONARA
  57. 57. × × #CASSANDRAEU @ICONARA
  58. 58. I GET BUG REPORTS #CASSANDRAEU @ICONARA
  59. 59. Map: a [short] n indicating the size of the map, followed by n entries. Each entry is composed of two [short bytes] representing the key and the value of the entry map. #CASSANDRAEU @ICONARA
  60. 60. RUBY PERFORMANCE (WAIT FOR IT) #CASSANDRAEU @ICONARA
  61. 61. GO WRITE YOUR OWN DRIVERS #CASSANDRAEU @ICONARA
  62. 62. github.com/iconara/cql-rb #CASSANDRAEU @ICONARA
  63. 63. Building a CQL driver Theo Hultberg | Chief Architect, Burt #CASSANDRAEU CASSANDRASUMMITEU

×