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

Phoenix at Scale

Phoenix at Scale

Phoenix framework (Elixir) with Redis, at Scale. tokyo.ex#9 #tokyoex

さっちゃん

October 20, 2018
Tweet

More Decks by さっちゃん

Other Decks in Programming

Transcript

  1. 8IZ3FEJT  8FBMSFBEZLOPXBCPVU3FEJT 3FEJTIBTNBOVVTBCMFGFBUVSFT BMMJOPOFTFSWFS ,74 -JTU 4FU )BTI 4PSUFE4FU

    )ZQFS-PH-PH  (FPSBEJVT 1VC4VC 4USFBN -VB  4QFFEZ QIPFOJY@QVCTVC@SFEJTJTEFGBVMU
  2. $POOFDUJPOQPPMJOH 4FMFDU 4USJOHUP@FYJTUJOH@BUPN l.Z3FEJY\SBOEVOJGPSN O ^z  1JQFMJOF 3FEJYDPNNBOE .Z3FEJY

    <l(&5z LFZ>  8FNBEF3FEJT;IUUQTIFYQNQBDLBHFTSFEJT@[ .Z3FEJY .Z3FEJY 6TFS TFMFDUQJQFMJOF
  3. 4DBMFPVU3FEJT 4FMFDU 4USJOHUP@FYJTUJOH@BUPN l.Z3FEJY\FSMBOHQIBTI LFZ O ^z  1JQFMJOF 3FEJYDPNNBOE

    .Z3FEJY <l(&5z LFZ>  8FNBEF3FEJT;IUUQTIFYQNQBDLBHFTSFEJT@[ .Z3FEJY .Z3FEJY 6TFS TFMFDUQJQFMJOF
  4. %PO`U1VC4VC +VTUTFOE1IPFOJY4PDLFU#SPBEDBTU\^ 8IFO#SPBEDBTU\^JTTFOU $IBOOFMDBMMTIBOEMF@PVU !TQFDCSPBEDBTU "EESFTTU 4USJOHU NBQ BOZcOP@SFUVSO EFGCSPBEDBTU

    BEESFTT FWFOU NFTTBHF EP JG"EESFTTGPSDF@SFNPUF BEESFTT PSJT@OJM BEESFTTMPDBM@BEESFTT EP &OEQPJOUCSPBEDBTU BEESFTTSFNPUF@BEESFTT FWFOU NFTTBHF  FMTF TFOE BEESFTTMPDBM@BEESFTT #SPBEDBTU\ UPQJDBEESFTTS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