★ What are microservices?

Поділитися
Вставка
  • Опубліковано 7 сер 2015
  • In this video we'll go over what is a #microservice, why people are moving to microservices, and finally what you need to do to make an effective micro service.
    What is a microservice? 0:28
    Why use microservices? 2:08
    What makes a good microservice? 3:25

    Like the video? Don't forget to subscribe! ➜ www.deegeu.com/subscribe

    Keep up to date with the newsletter! ➜ www.deegeu.com/newsletter/
    Transcript: www.deegeu.com/what-are-micros...
    Concepts: microservices, software architecture
    Social Links: Don't hesitate to contact me if you have any further questions.
    WEBSITE : dj@deegeu.com
    TWITTER : / deege
    FACEBOOK: / deegeu.programming.tut...
    GOOGLE+ : google.com/+Deegeu-programming...
    About Me: www.deegeu.com/about
    Related Videos:
    Working with the WildFly Application Server
    • Working with the WildF...
    Media credits: All images are owned by DJ Spiess unless listed below
    Programming team pictures, backgrounds - www.pixabay.com

КОМЕНТАРІ • 166

  • @vasanthvijayabaskar5296
    @vasanthvijayabaskar5296 6 років тому +1

    After watching many videos, finally I'm leaving with the good understanding of microservices. Thank you. You are great.

  • @northhamptonshire
    @northhamptonshire 7 років тому +3

    Finally! The down-to-earth explanation. Thank you!

  • @SylOmope
    @SylOmope 7 років тому +1

    You rock dude!! thanks for demystifying this concept

  • @MikeZduniak
    @MikeZduniak 5 років тому

    Great video - you did a fantastic job on making it simple but also powerful/covering and explaining a lot.

  • @ujjawalmalik3558
    @ujjawalmalik3558 7 років тому

    Summarised and even explained better what I tried to study for over an hour in just about 6 minutes. Thanks a lot.

  • @sctm81
    @sctm81 7 років тому +1

    Great explanation. Saves a lot of time watching a video like this instead of reading the dry online articles!

  • @love4photos
    @love4photos 6 років тому +2

    Great video! Simple and to the point!

  • @RoshanThenuwara
    @RoshanThenuwara 4 роки тому

    One of the best explanations I've watched!! Great job!

  • @ChrisMcFlyDude
    @ChrisMcFlyDude 7 років тому +1

    I'm interviewing for a job where I know micro service architecture will take much of the focus. I have Googled a lot and read a handful of blogs - none of it made as much sense as your video. SO well explained and simple to understand. Thank you!

    • @deegeu
      @deegeu  7 років тому +1

      I'm glad it helped you! Good luck on your job interview!

  • @janvichitroda4689
    @janvichitroda4689 2 роки тому

    Amazing video! I understood what microservices are finally! :)

  • @sharadsharma2531
    @sharadsharma2531 8 років тому +2

    Can't thank you enough DJ. This is the best channel on Java technology. Your approach is precise short and content is just awesome. Surprised that views are way less than expected. Will surely recommend. Great work 👌🏻👌🏻👌🏻

    • @deegeu
      @deegeu  8 років тому

      Thanks! I like to pretend it's because the channel is new, but I think it's because I'm really poor at marketing. :)

  • @sivasailamlakshmanan2531
    @sivasailamlakshmanan2531 8 років тому

    Finally, it makes sense. Thanks for posting.

  • @wucodincat8764
    @wucodincat8764 8 років тому +3

    Thanks for the great video, and the subtitles are really helpful for non-native speakers of English like me.

  • @ThisIsZonk
    @ThisIsZonk 9 років тому +2

    Great video! I'm beginning a project that makes use of microservices. We're currently experimenting with Spring Cloud with great success!

    • @deegeu
      @deegeu  9 років тому

      TechZonk That's great. I think Spring is a bit ahead of everyone else on this, so that's a good choice. Good luck!

  • @Krazness
    @Krazness 7 років тому

    You're a Godsend. Keep up the great work.

  • @phoenixmission
    @phoenixmission 7 років тому +2

    Neatly explained !

  • @Glork_the_orc
    @Glork_the_orc 8 років тому +92

    5th video I've watched, this is the first one that made sense. Thank you

    • @deegeu
      @deegeu  8 років тому +6

      Glad it helped!

    • @nialllonergan7225
      @nialllonergan7225 7 років тому

      Agreed. The example 1 minute in done it for me.

    • @r7bhg
      @r7bhg 6 років тому

      Same here. The simplicity in explanation is staggering!

  • @yolcuyolundagerekli
    @yolcuyolundagerekli 7 років тому

    Well explained without unnecessary topics.

  • @suprotikdey1910
    @suprotikdey1910 4 роки тому

    Finally a good and easy explaination for microservices.

  • @sonali9696
    @sonali9696 5 років тому

    Amazing video and great ending! :)

  • @brianphillips5378
    @brianphillips5378 4 роки тому

    Thanks! - that was helpful...

  • @atulsinghal1279
    @atulsinghal1279 6 років тому

    Crisp & Clear...Well explained.

  • @JaVinci77
    @JaVinci77 7 років тому

    Very well explained, thanks a lot!! :)

  • @shahzad4455
    @shahzad4455 5 років тому

    First ever video I watched on #microservices and I must say you helped me

  • @ShaunHeneghan
    @ShaunHeneghan 7 років тому +1

    Great explanation!

  • @ctoutcon
    @ctoutcon 6 років тому

    Thanks a lot for this very clear and helpful explanation

  • @hermanny.kouassi6710
    @hermanny.kouassi6710 7 років тому +1

    Very good and short definition !

  • @rajmohanpanadiwal1894
    @rajmohanpanadiwal1894 6 років тому

    Excellent material and presentation (precise and concise)

  • @seanolson8246
    @seanolson8246 5 років тому

    Nice job!

  • @alr.4295
    @alr.4295 7 років тому +1

    Thanks very helpfull!

  • @fletcherthomas4265
    @fletcherthomas4265 6 років тому

    Really good, thanks.

  • @josepoma92
    @josepoma92 7 років тому +3

    Thanks for the excellent explanation, I now understand really are microservices, thank you very much Daniel!

  • @GeraX302
    @GeraX302 5 років тому

    amazing...the best explanation

  • @kakabelly57
    @kakabelly57 6 років тому

    Great job. Thanks.

  • @chriszhang3629
    @chriszhang3629 6 років тому +1

    Usually I would be too lazy to leave a comment but this video is exceptional!!!

  • @mohanishchaudhari2843
    @mohanishchaudhari2843 6 років тому

    That is simply awesome explanation

  • @MayankGupta303
    @MayankGupta303 6 років тому

    subtle .. Thank You !

  • @ahitoFrede
    @ahitoFrede Рік тому

    Well formulated, easy and quick explanation. Better than my teacher did it :)

  • @VeganCheeseburger
    @VeganCheeseburger 6 років тому

    Well-explained!

  • @herbertliu4022
    @herbertliu4022 6 років тому

    very nice and easy to understand explanations

  • @A5tr0101
    @A5tr0101 4 роки тому +1

    I think its important to know when to use micro services, sometimes a well structured monolith will do the trick, and they can still be scaled.

  • @mahmoudmehdi6290
    @mahmoudmehdi6290 8 років тому +8

    Nice explanation !

    • @deegeu
      @deegeu  8 років тому +2

      +mahmoud mahdi Thank you for watching!

  • @bepracticalbabygaa
    @bepracticalbabygaa 7 років тому +1

    U are too good !!

  • @yusufmohamedsalh8321
    @yusufmohamedsalh8321 7 років тому +1

    thank you.

  • @KirankumarAmbati95
    @KirankumarAmbati95 8 років тому +2

    Nice video.. Need more like this..

    • @deegeu
      @deegeu  8 років тому

      +Kirankumar Ambati Thank you! I'm hoping to have more on microservices architecture later this year!

  • @michaelpacheco7421
    @michaelpacheco7421 5 років тому

    Nice explanation

  • @vajahatalee
    @vajahatalee 5 років тому +2

    acually i saved this video for interview prepration , simple, clean and kind of official

  • @sandhyap2221
    @sandhyap2221 6 років тому

    Was searching for a video which can give me an idea about microservices. At last I got it..

  • @glansberg1673
    @glansberg1673 6 років тому +1

    Great video, thank you for everything.
    My professor can't teach me what you teached me in 5 minutes!

  • @arun1p7
    @arun1p7 8 років тому +2

    thanks :)

  • @DanielRamBeats
    @DanielRamBeats 8 років тому +3

    awesome explanation

    • @deegeu
      @deegeu  8 років тому

      +Daniel Ram Thank you!

  • @nromancarcamo
    @nromancarcamo 8 років тому +1

    Cool! nice explanation of this topic, thanks a lot!, now I can think how to divide some things in a project that I'm developing right now ;)

    • @deegeu
      @deegeu  8 років тому

      Glad it could help! I'll be creating more microservice videos soon, so keep watching!

    • @nromancarcamo
      @nromancarcamo 8 років тому

      +Deege U Great, there'll be to wait :)

  • @navinroy
    @navinroy 7 років тому

    awesome.... love from India

  • @utprem
    @utprem 6 років тому

    simple and good

  • @TheSlytooth
    @TheSlytooth 8 років тому +1

    Great video! now i understand micro-services thanks! Note: it could be worth naming some downsides to microservices as well just to get a whole overview

    • @deegeu
      @deegeu  8 років тому

      Not a bad idea for a video. Thanks!

  • @aartidoro
    @aartidoro 2 роки тому

    a very attractive project to invest

  • @someshchandra6672
    @someshchandra6672 7 років тому

    nice explanation

  • @wackyjoker7912
    @wackyjoker7912 5 років тому

    You made this so easy to understand like eating a pizza! Thank You!

  • @AbhishekSagar-kf8fy
    @AbhishekSagar-kf8fy 7 років тому

    hi Deege you make me happy after uploading such type of video please upload any MVC example in microservices environment , i am very oblized to you. because i am very new in this environment

    • @deegeu
      @deegeu  7 років тому

      Patterns are on the list of to-dos, so I'll get to MVC at some point. I'll find some way to work microservices into the mix. Thanks!

  • @alaeddinemenai1062
    @alaeddinemenai1062 5 років тому

    I spent two days to understand what are micro-services ? but no one can give me a short explanation to get scale.Perfect,it made a great sense,could you provide a new video how to structure nodejs app for micro-services ,please !

  • @mattmarkus4868
    @mattmarkus4868 5 років тому

    Interesting. I re-entered the software dev world 3-4 years ago and every app I've been apart of had either no layers (a monolith) or a structure such as: app.web; app.business; app.data (if I'm lucky). But the idea of small services for each feature is very intriguing.

  • @priyaahuja3479
    @priyaahuja3479 7 років тому

    Hi..Nice explanation ..can you upload another video on how to make micro services in Front end application.??

  • @AmberPollard
    @AmberPollard 6 років тому +3

    Great presentation! What seems to be the "elephant in room" is how delicious-looking those two pizzas are. Did none of yoos get a look at those??

  • @sooriyaneerukonda
    @sooriyaneerukonda 6 років тому

    thank u

  • @vaibhab08
    @vaibhab08 5 років тому

    Great one! Can you share the ppt version of it

  • @adrianb3507
    @adrianb3507 5 років тому +1

    Microservices: self contained process which contains a unique business capability.

  • @supermankelly
    @supermankelly 6 років тому

    This is how ive developed for 20 years as it was common sense, and now it is the "buzz". Bahaha. Im going back under my rock.

  • @researchandbuild1751
    @researchandbuild1751 6 років тому

    Microservice is just another word for "another layer" where we have to translate data, requiring a lot of serialization work. Just additional lag, slowness, inefficiencies. Microservices are going to bring computing to a halt in the next 20 years if we keep up with this insanity.
    Great video by the way

  • @20SecondsWithMCOfficial
    @20SecondsWithMCOfficial 9 років тому

    LOL - Heart palpitations to DBAs. :0) I could picture an actual person. Fantastic video and fantastic presentation! I worked on enterprise software - this concept makes so much sense.

    • @deegeu
      @deegeu  9 років тому

      20SecondsWithMC Yeah, I had a particular DBA in mind when I said that. :) I can hear the protests now!

    • @20SecondsWithMCOfficial
      @20SecondsWithMCOfficial 9 років тому

      LOL!

  • @dpassaacademicwriters9984
    @dpassaacademicwriters9984 6 років тому

    Thanks to U

  • @yeswanthnadella6871
    @yeswanthnadella6871 7 років тому +1

    Excellent video! Are there any disadvantages of using stateful microservices with messaging system (event sourcing)? I feel like that would be easier to scale as we would need to just add new nodes when we need to scale.

    • @deegeu
      @deegeu  7 років тому

      Depends on what you're meaning by stateful. If you're passing state in your events, then you should be ok because it's not the microservice that is maintaining state.

    • @yeswanthnadella6871
      @yeswanthnadella6871 7 років тому

      I'm talking about Actor system. Client just sends messages and the actor system maintains its state. Akka.net

  • @pkaramol
    @pkaramol 7 років тому +9

    I guess I HAVE been living under a rock... :)
    Jokes aside, one question: does the definition resemble a bit the SOA?

    • @deegeu
      @deegeu  7 років тому +3

      Very much so. Microservices were an evolution from SOA.

    • @123SriNat
      @123SriNat 4 роки тому

      Microservices are part of SOA

  • @manvirsingh13
    @manvirsingh13 7 років тому +1

    Nice video.. DJ, i am doing a poc reg micro-services testing using PACT, What should be the approach.
    any guidance would be helpful
    Thanks.

    • @deegeu
      @deegeu  7 років тому

      Sorry, I haven't used PACT so I can't offer any ideas on that.

  • @muhammedkhan9582
    @muhammedkhan9582 7 років тому +1

    Umm so if I have two RESTful API's which use different frameworks, to make a micro service would I need to have both these frameworks working on the same thing? for example if I have a database would both RESTful API have to work with that database in particular with the database being the only one?

    • @deegeu
      @deegeu  7 років тому

      Not necessarily. That's really up to how you want to design your system. I've seen microsystems where each connects to their own DB, and some that connect to a monolithic DB. The latter is more common, because companies are reluctant to divide their databases.

  • @atharwaadawdakar4144
    @atharwaadawdakar4144 5 років тому

    Hey if multiple service are using the same database for storage and retrieval, could it still be called a microservice ??

  • @aaroldaaroldson708
    @aaroldaaroldson708 6 років тому +1

    So the idea of microservices is: work even if other services are not working, am i right?

  • @petercheung63
    @petercheung63 7 років тому

    Great

  • @chihabahmed5207
    @chihabahmed5207 7 років тому

    Hi there, if i multiple services that they work independently ( will they still be called microservice)?

  • @kunafeh
    @kunafeh 7 років тому +1

    Thank you for wonderful explanation. Could have been better without that background music. ;)

  • @mohamedsaied5780
    @mohamedsaied5780 6 років тому

    good effort, but i would like to ask about the software development methodology that is recommended for microservice environment scrum, crystal....?

  • @mauriciomarianocarneiro
    @mauriciomarianocarneiro 5 років тому

    Just one question, don't the concept of federated databases goes against the idea of the microservice? Are you sure you suggest microservices use federated databases, not separated or independent databases?

  • @sureshkumar-wm6lh
    @sureshkumar-wm6lh 5 років тому

    Cool

  • @namewastaken360
    @namewastaken360 5 років тому +15

    But I eat a whole pizza by myself - better become a full stack developer

    • @thfreakinacage
      @thfreakinacage 5 років тому +1

      Depends on the size of the pizza and how hungry I am I could probably handle both so guess I'm working alone :P

  • @UntoldSecrets1
    @UntoldSecrets1 5 років тому

    I am trying to learn the idea of microservice, is it like that microservice architecture has to be deploy on docker containers? we can use Azure?
    An old monolithic huge application deployed to IIS, if revamped to microservice architecture we need to upgrade deployment to some cloud based technology also. like docker/kubernates/azure or we have to use AWS?
    we just cannot use IIS . right???? please accept my apology since its a beginner's question and either the information i have read/watch is very beginner or very advanced. also the video on microservice not comparing old architecture (N-tier or SOA) with microservice architecture (full from development to deployment) cannot be seen anywhere. people compare development but not deployment environments, also please let me know we can use any database for implementing microservices?

  • @Raj-do7zs
    @Raj-do7zs 7 років тому

    microserive have complexity problem how to overcome from this?

  • @aamirsaifi5522
    @aamirsaifi5522 4 роки тому

    how esb and microservices are related?

  • @rahulmathew8713
    @rahulmathew8713 5 років тому

    Fancy name for collection of webservices

  • @Rogueixpresents
    @Rogueixpresents 5 років тому

    I live under a rock, the rent is pretty expensive.. here in boston you want a small under a rock apartment? haha 2,394$ per month.

  • @houssemzaier
    @houssemzaier 8 років тому +1

    Why communication should be stateless between microservices ? And can you give us some real life example, thanks for help

    • @deegeu
      @deegeu  8 років тому +2

      Because if you have stateful microservices, your communication will be tied to one particular service instance. If something happens to that particular service (server goes down, etc), then your communication is lost. For example if you have a shopping basket service, your customer loads several items into a single instance and the server goes down, the user's effort is lost (bad user experience). Another reason might be if you have one instance running, it gets overloaded with too many requests, spinning up a new instance would not help you since all existing communication still has to happen with the stateful service. Making things stateless will help you scale.

    • @houssemzaier
      @houssemzaier 8 років тому

      What tools could I use to make a stateless communication between my instances, thanks for the help

    • @deegeu
      @deegeu  8 років тому +2

      You're going to communicate with your service most likely with some form of HTTP (JSON or XML), or messaging (JMS or AMQP). I'd lean heavily towards messaging for service to service communication, since you can send broadcast notifications to other listening instances without needing to know who is listening or how many are listening.

  • @vipinkoul9129
    @vipinkoul9129 8 років тому +2

    Nice explanation. Can you suggest a simple "Hello world" micro-service project?

    • @deegeu
      @deegeu  8 років тому +2

      I'm working on a simple microservice tutorial now, using Java (Dropwizard for now, maybe Wildfly Swarm later) and Docker. It will come out sometime in the next few weeks. If you're looking to start ahead, you might check out Dropwizard.

    • @vipinkoul9129
      @vipinkoul9129 8 років тому

      I am eagerly waiting for the video to come out. Thanks a ton!

    • @vipinkoul9129
      @vipinkoul9129 8 років тому

      Sir did you create any sample application using Microservices? I am waiting for updates from you :)

    • @vipinkoul9129
      @vipinkoul9129 6 років тому

      Pl let me know if you created the tutorial on how to create a microservices? I am eagerly waiting for this.

  • @JeffReeves
    @JeffReeves 5 років тому

    This is hands down the best quick explanation of microservices, complete with a defined example of its use with Amazon's website. Thank you for making this!

  • @KushalMestri
    @KushalMestri 6 років тому +1

    Could anyone explain what is "single business capability"?

    • @KDChenStudio
      @KDChenStudio 5 років тому

      It's not really an intricate terminology. Take a vehicle for an example, each one of the components that make your car move as a whole has their own single responsibility. Your Engine is a microservice - it only cares about burning fuels to produce raw power. Your gear box is another microservice - it translates the engine power into driving force of the wheels. If you send your car to service to have your faulty gear box replaced, they are not going to replace the engine altogether, because they are functionally independent from each other. It all thanks to the nature of single business capability.

  • @edgardoarriagada9467
    @edgardoarriagada9467 4 роки тому +1

    I can eat two pizzas alone
    But I'll still need a team :c

  • @The8merp
    @The8merp 4 роки тому

    Can someone define what messaging means in the context of Microservices?

  • @oualitsenramdane454
    @oualitsenramdane454 6 років тому

    I love the joke u made at the end of the video

  • @danielpendergast32
    @danielpendergast32 5 років тому

    The Jeff Bezos two pizza rule is meant to limit participants for company meetings. Don't hold meetings with more participants than two pizzas can feed. I am pulling this directly from "The Surprising Science of Meetings" by Steven G. Rogelberg.

  • @damejelyas
    @damejelyas 7 років тому

    2:50 does this mean i have to develop microservices alone

  • @kicn
    @kicn 4 роки тому

    made easy by U -)

  • @moistbrownypoints
    @moistbrownypoints 6 років тому

    0:35 now I have to watch 25 different videos to get a good overview....

  • @CJGilliam
    @CJGilliam 4 роки тому +1

    Hey, don't knock my rock. It is comfortable and roomy.