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

Paykeの技術基盤チームの取り組み

Arakaki Yuji
February 02, 2019

 Paykeの技術基盤チームの取り組み

2019年2月2日に行われた「沖縄・宜野湾エンジニア勉強会 #6 in ギークハウス沖縄」にて発表してきました。

Paykeという沖縄のスタートアップの技術基盤チームが2018年10月から2019年1月までのおよそ4ヶ月間に行った活動をいくつか紹介しています。

Arakaki Yuji

February 02, 2019
Tweet

More Decks by Arakaki Yuji

Other Decks in Technology

Transcript

  1. Payke



    Payke


    UG@arakaji

    View full-size slide



  2. • Payke




    View full-size slide

  3. Payke
    • &'

    • ) *!
    (
    #
    • &%"3$

    View full-size slide


  4. • AndroidiOSCordova#

    .
    • )64! 021,
    • 9 "&
    • $/+5'301*%
    • 1-'3113(

    View full-size slide


  5. • %-+!

    • $/
    ' &.
    * "
    • #700(,)

    View full-size slide


  6. • &
    • (.)0 -2
    !)0
    /+ ,#
    • !!& )0
    ,#
    • %1"$*11200'

    View full-size slide

  7. Payke
    • t[u
    • as@q,4
    • A28+%.?bGp@q!S
    • kLKj
    • OJ@q,4
    • Payke
    DMClhxw>NIZN
    ^HIZ!Bm
    Payke
    DMClmnW\vVQ!IZlRT Cy X=;e!
    `Y
    • :oKj
    • IZEr,4
    • '1*/5#9IZi
    N fgFi'1*!U$9)0",4!*&7!
    3-(69
    • :oKj

    View full-size slide

  8. Payke
    • R@S
    • DQ)P!
    • * "(E.O)P9
    • J32I
    • 61)P!
    • Payke-4,KHV
    U'50?%F61)P'5
    B/0?+L

    Payke-4,KLM<AT;70?K8:,W =&$G
    C>

    • #N2I
    • -2+=#
    • !$' -29 )6' 5349 )6<0*
    /78,9!1' #&

    "%'
    • (;.:

    View full-size slide


  9. • "!&#
    %'
    • &(


    • $

    View full-size slide


  10. • 5?C !B4.>?

    A:
    • #' '@=
    • $(")%+#*&$,67
    #

    • !B4 0,"&E
    9D-
    • 1;CF8
    H2

    View full-size slide





  11. • CI / CD

    View full-size slide



  12. • "
    • #!20-3/,*.5$
    • )(+'16%4+'&


    View full-size slide


  13. • 4CAzureA !%,5<2'(.3
    1EApp(1EDB(1E %
    #-
    • >:+/LJ?"*1$&FI8D
    97
    @KD6=!03).B9H;

    GK

    View full-size slide



  14. MySQL
    App
    BLOB Storage
    ()
    Load Balancer
    Elasticsearch

    View full-size slide



  15. Elasticsearch Cluster
    Worker
    Azure Database for MySQL
    Azure Cache for Redis
    Blob Storage
    App
    App
    App
    Application
    Gateway

    View full-size slide

  16. DBAzure Database for MySQL
    • VM1+8
    MySQL%! #
    Azure Database for MySQL(-
    • =4).
    0:&
    '*;
    • /9"$Geo27"$
    #!,
    53 6<

    View full-size slide

  17. Worker
    • PHP075'.9"#
    -*
    Scheduler(6,+2$1)3

    RailsSidekiq
    • Web!0%/&4 Worker!

    8:

    View full-size slide

  18. ApplicationGateway


    • Azure Load Balancer L4 !
    • Application Gateway L7 !
    • SSL%'Gateway+(
    • URL*1$0
    • /-1,"&2

    ).#$0

    View full-size slide

  19. Azure Cache for Redis
    • /81<$&&1<.4 )-
    "#


    • '4"# % ;5
    926+3
    0,
    • "#Redis (7 :*Redis Azure!
    >=

    View full-size slide

  20. App

    3

    • !"

    View full-size slide

  21. Elasticsearch
    • <=BdA`3%WD -.*62/+
    &59L_"^N $18K;TL_C
    +
    &5979&9(]JIHb
    • 1)0K[ "3RGM'7+,?
    • Elasticseach348":\ cXaS"
    '7+,?c@Z" Q (!#O
    VEU )
    • >YPXFK

    View full-size slide




  22. • Payke8A8>A+#8!&*9
    • .2DB" 6$%',- )
    )
    B:
    • @=DB(7?4C13E7?0;
    " .

    View full-size slide




  23. • IC=@HFDB19).LDBB,
    • 3<:G0J+/*N:G%$# 8
    (

    &"SQL-K!D? 'E5

    6
    • :G7HFBAM 'E ;
    >42

    View full-size slide




  24. • Payke #"


    • !Firebase%$

    View full-size slide




  25. • (N3
    DCF&!JI
    • 68
    /9 4,;7$#"%DC-
    5)0@*A
    • Firebase?<=EB=,K=2
    • $#"%DC5)0@
    LEB&! H'
    M
    A+1DC5)[email protected] :>

    View full-size slide



  26. • /.ID'/. % *)
    • /.0-$3
    "
    *)DB(/.ID!ID2 4,
    • /.!0-&+#1

    View full-size slide


  27. • Cordova 16 RO"29-JSM,(
    MK
    ELCHA
    • PY\[J<"29-JS8"4M
    UZ
    • AndroidiOS."+!015$"9FT."+!0
    MK
    X@
    • ;W]N^ #'&%/GQ
    • Azure Queue Storage3/"7,(IB/*)
    Queue Storage,(G=

    • SD #'&V:>?

    View full-size slide



  28. • :4/)2',07>:4!*%

    • Firebase!Topic5$" #
    Topic3861. (;
    • >:4!-+=@9ATopic&


    View full-size slide



  29. • *)$,TopicFU !)%LM1
    • N2-KP
    • TopicFU"NGA >9@8

    • FirebaseAPI#SR )('7T<+&@ ;
    Topic#FU C@.
    • Q2I0H?
    !)('
    • 643DB>9:=E:>9"!#O5/
    J

    View full-size slide



  30. • PaykeAzure $#"!%7)
    (%7'Azure;:8<
    • $=5;:9*3,40

    • )/+
    • ;:-61.&2

    View full-size slide



  31. • &2(_]PCV=KZ
    • Y^IM
    • \WAB(4,$DU
    • H5/;$(E#71'-DU& )+!<
    • Azure Cache For RedisWorker&0Redis`
    • :<#<%#7,'8.*T.*>R?XQ
    • >R?"3'9<L_]3:<G@
    • S.*56;L]aNWorker&0Redis
    `
    JO[F

    View full-size slide



  32. Elasticsearch Cluster
    Worker and Redis
    Azure Database for MySQL
    Blob Storage
    App
    App
    Application
    Gateway

    View full-size slide



  33. • :5/O!'3.0B$ PGTS
    %F=EJ8 &"UVMTS

    H9D16VM

    • 10:00 ~ 22:00*7@2 + >7@2R)
    • QN10:00AM4M
    • 22:00AMK?
    • Azure Automation#(AM,

    View full-size slide



  34. • FuelPHPPHP
    • ;8 CI / CD " %/
    • )3#<&2 .5
    • -0 *6+7'(.:
    4(*$,1!
    9)

    View full-size slide