Upgrade to Pro — share decks privately, control downloads, hide ads and more …

YAPC::Fukuoka lunch session

YAPC::Fukuoka lunch session

YAPC::Fukuoka ランチスポンサーセッション
2017-07-01

Harukasan

July 01, 2017
Tweet

More Decks by Harukasan

Other Decks in Technology

Transcript

  1. ͨͱ͑͹ngx_small_lightΛ࢖͏ server { listen 8000; server_name localhost; small_light on; small_light_pattern_define

    square dw=400,dh=400,da=l,q=95,e=imagemagick,jpeghint=y; # http://localhost:8000/small_light(p=square)/input.jpg location ~ small_light[^/]*/(.+)$ { set $file $1; rewrite ^ /$file; } }
  2. LVS
 LB / DSR nginx
 HTTP front server ഑৴Ϋϥελ ؅ཧαʔό

    GRPC HTTP API Traffic Server
 HTTP front server Golang
 Thumbnailing server Golang
 Fetching server Golang
 Master server Scala
 Console / API
  3. cgo package main // // int fortytwo() // { //

    return 42; // } // import "C" import "fmt" func main() { fmt.Println(int(C.fortytwo())) // Output: 42 } ίϝϯτ෦ʹCͷίʔυΛهड़