Slide 1

Slide 1 text

Hexi @yosuke_furukawa

Slide 2

Slide 2 text

Hexsticker as a Service

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

JavaScript users love hexagonal stickers !!

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

+4FSTEFpOF4UJDLFST4UBOEBSE

Slide 7

Slide 7 text

Hexi internal

Slide 8

Slide 8 text

Hexi internal • Nginx (SPDY/3.1) • ngx_small_light • io.js only 1 process • AWS RDS • AWS S3

Slide 9

Slide 9 text

performance

Slide 10

Slide 10 text

h2load $ h2load -n1000 -c100 -m100 -pspdy/3.1 https://hexi.pics/ finished in 4.44s, 225 req/s, 2.02MB/s requests: 1000 total, 1000 started, 1000 done, 1000 succeeded, 0 failed, 0 errored status codes: 1000 2xx, 0 3xx, 0 4xx, 0 5xx traffic: 9393534 bytes total, 437250 bytes headers, 9013000 bytes data min max mean sd +/- sd time for request: 973.15ms 3.74s 2.47s 737.45ms 63.90%

Slide 11

Slide 11 text

https without SPDY

Slide 12

Slide 12 text

https without SPDY TFDPOET

Slide 13

Slide 13 text

https with SPDY

Slide 14

Slide 14 text

https with SPDY TFDPOETTFDPOET

Slide 15

Slide 15 text

SPDY pros • No concat JS/CSS • No CSS sprite • No domain sharding

Slide 16

Slide 16 text

SPDY pros • No concat JS/CSS • No CSS sprite • No domain sharding CFUUFSF⒎FDUXJUINJOJNVNF⒎PSU

Slide 17

Slide 17 text

SPDY cons • ELB does not support (?) • SPDY is dead long live HTTP2

Slide 18

Slide 18 text

DEMO

Slide 19

Slide 19 text

future

Slide 20

Slide 20 text

Hexi future • http2 (nghttp2 or h2o) 
 (new!) • io.js only 1 process • AWS RDS • AWS S3 • AWS Lambda (new!)

Slide 21

Slide 21 text

http2 sticker is now available

Slide 22

Slide 22 text

https://hexi.pics/items/a8f92e622f85374e41dde6c5d5505750