microservice architecture

Download Microservice Architecture

Post on 10-Feb-2017

1.902 views

Category:

Engineering

3 download

Embed Size (px)

TRANSCRIPT

  • Microservice Architecture

  • _

    1. MSA

    2.

    3.

  • 1.MSA:

  • MSA?

    Monolitic MSA: Micro Service Architecture

  • MSA?vs

    API

  • ?

    mesh-upJWT

    RestfulAPI GatewayserverSpring-boot

    docker

    Proxy

    SOADevOps

    DDD

  • ?

    http://www.javajigi.net/pages/viewpage.action?pageId=138346501http://blog.java2game.com/213

    or or

    .

    ,

  • MSA?-1.

    ,

    SW

  • MSA?-1.

    ,

    SW

  • ,

    ,

    ex:-

    ex:,,

    ex:Netflix,,,X

  • DivideandConquer

  • ForProgrammer

  • ,

    SW

    MSA?-2

  • (Agile)

  • (Agile)cross-functional

    - Amazon

    UX

    DBA

  • _(ConwayLaw)-Conway,MelvinE.(April1968)

    organizations which design systems ... are constrained to produce designs which are copies of the communication structures of these organizations

  • 2.MSA:

  • MonolithicArchitecture

    :nginx

    Example

    http://www.slideshare.net/andrewdohyunjung/msa-43702981

  • Microservicearchitecture

    :nginx

    Example

    http://www.slideshare.net/andrewdohyunjung/msa-43702981

  • MSA

    Infrastructure Automation

    On-demand VirtualizationContinuous DeliveryDomain Driven Design

    Polyglot Programming

    Reusability Self-Government TeamAgile Development

    Elastic, Scalable, Resilience

    :http://www.slideshare.net/saltynut/building-micro-service-architecture

    http://theartofscalability.com

  • ScaleCube(Scalability)

    :ScalableWebArchitecture,Processes,andOrganizationsfortheModernEnterprise-TheArtofScalability

    http://theartofscalability.com

  • MicroService?

    and Focused on Doing One Thing Well

    Autonomous

    All communication between the services themselves are via network calls (API)

    https://www.safaribooksonline.com/library/view/building-microservices/9781491950340/ch01.html

    1.

    2.

    3.

    4. API

    Small,

  • SOA?SOA(ServiceOrientedArchitecture)

    - ,

    - 1990 , 2000

    - 2010 OPEN API

    - ()

    - (API)

    - (ESB) *

  • MSA2012ThoughWorksJamesLewisJava,TheUnixway

    20143JamesLewisMartinFowlerMicroservices

    Google Trend Report 2015. 9

    100

  • MSASOA.+

    :MSA/

    http://www.slideshare.net/andrewdohyunjung/msa-43702981

  • API Gateway Server

    Service Orchestration Server

    Service Server 1 Service Server 2 Service Server 3 Service Server 4

  • API Gateway Server

  • ScaleCube

    :TheArtofScalability

    xScale

    yScale

    zScale

    X + Y Scale

    X + Z Scale

    http://theartofscalability.com

  • MSA

    1. _

    2. _

    3. _

    DevOps

  • MSA

    NO, YES

    Polyglot Persistence

    4. Endpoint Pipeline_

    5. _

    6. _

  • MSA

    ,

    7. _

    8. _

    9. _

  • Architecture Diagram

    Netflix Twitter Hailo

  • MSA,?microservicesarenofreelunchorsilverbullet

    ?

    Gartner Hype Cycle

    http://www.gartner.com/technology/research/methodologies/hype-cycle.jsp

    Gatner Hype Cycle

  • 3.

    PPT

  • 20143JamesLewis,MartinFowlerMicroservices

    http://martinfowler.com/articles/microservices.html:

    : http://channy.creation.net/articles/microservices-by-james_lewes-martin_fowler#.VhPvGLxtNGN

    20152OreillyBuildingMicroservice

    https://www.safaribooksonline.com/library/view/building-microservices/9781491950340/ch01.html

    preview:

    ChrisRichardson

    http://microservices.io

    2015QConNewyorkMicroservice

    https://qconnewyork.com/system/files/keynotes-slides/QCon%20Abstraction%20and%20Federation%20-%20From%20Micro%20Chips%20to%20Microservices.pdf

  • : http://www.slideshare.net/andrewdohyunjung/msa-43702981

    :

    :http://bcho.tistory.com/948

    http://search.naver.com/search.naver?where=nexearch&query=+++&sm=top_sug.pre&fbm=0&acr=1&acq=+&qdt=0&ie=utf8

    :http://www.slideshare.net/Byungwook/micro-service-architecture-52233912

    : https://youtu.be/yaKWoACq-8A

  • :http://www.slideshare.net/saltynut/building-micro-service-architecture

    MSA

    http://wiki-camp.appspot.com/%5B%5D___%28Microservices_Architecture%29

    http://wiki-camp.appspot.com/%5B%5D__(Scale_Cube)

    http://channy.creation.net/blog/1051#.VgiGIrRtOgS

    http://wiki-camp.appspot.com/MicroService_______

    MSA

    http://alistair.cockburn.us/Hexagonal+architecture

    https://www.nginx.com/blog/introduction-to-microservices/

    https://blog.docker.com/2014/12/dockercon-europe-keynote-state-of-the-art-in-microservices-by-adrian-cockcroft-battery-ventures/