Тёмный

Microservices interview question and answers | Architecture design and Best practices 

CodeSpace
Подписаться 20 тыс.
Просмотров 443 тыс.
50% 1

This Microservices Interview Questions and Answers video will help you to prepare for the Microservices Interviews.
Below are the topics cover in this micro-services interview question and answers tutorial:
1) Basic Microservices Interview Questions
2) Microservices Architecture Interview Questions
3) Migration of monolithic application to microservices
4) Communication between micro-services
5) Continuous Deployment Interview Questions
6) Technologies used in Microservices
7) Microservices best practices
8) Drawbacks of microservices
----------------------------------------
⚙️Gears used⚙️
DJI Osmo Mobile 3 Handheld Smartphone Gimbal (Grey) : amzn.to/3bzeIZo
Boya BYM1 Omnidirectional Lavalier Condenser Microphone with 20ft Audio Cable (Black) : amzn.to/2DCUm4U
Canon EOS 200D II 24.1MP Digital SLR Camera + EF-S 18-55mm f4 is STM Lens (Black) : amzn.to/3buyx3T
Samsung Galaxy S20 (Cosmic Gray, 8GB RAM, 128GB Storage) with No Cost EMI/Additional Exchange Offers : amzn.to/3bssa12
Benro T880EX Digital Tripod Kit : amzn.to/3bzGzsb
Dell Inspiron 7570 15.6-inch UHD 4K with Touch Laptop--Intel Core i7 8th Gen || 16 GB || 512 GB SSD || Windows 10 Home with Office || 4 GB NVIDIA || Platinum Silver : amzn.to/3lVD9EU
Logitech MK345 Wireless Combo - Full-Sized Keyboard with Palm Rest and Comfortable Right-Handed Mouse : amzn.to/3bD13Aw
------------------------------------------------
Follow me on:
►RU-vid : bit.ly/2W1X7zz
►Facebook : / e.codespace
►LinkedIn : / gourabpaul
►Twitter : / gourab_p
-----------------------------------------------
#Microservices #MicroservicesInterviewQuestions

Наука

Опубликовано:

 

24 май 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 613   
@infomahboobali
@infomahboobali 3 года назад
Micro Services Interview Questions 01. so tell me what do you understand by microservices? Ans: microservice basically decoupling of entire application into small small services. like if I take an example of Amazon or Uber or like you can say any application. so like take example of Amazon okay so in Amazon we'll have like many partners like seller then we will have buyers and at the end we'll have like persons from Amazon who will be managing all the applications or like we'll be seeing the transactions and every other details so we will mention it as an admin so this is an entire application say suppose it is written in Java so what happen is like if I need to change something like in buyer I need to change a small like I want to give an offer of 5% so what I need to do I need to write the code and deploy the entire application so instead of this we can use microservice based architecture where the seller will be a single application buyer will be another application and the admin would be another application so here what happen is like if the admin is down or like if the server is down the entire Amazon website is down so but in this case if admin is down people can use the buyer option or like if the seller is down seller will not be able to add any further items to his store but the buyer can able to check out from his cart and or you can add anything from other sellers or which are already in the stores and if suppose I want to change something in seller and want to deploy, so will just go and deploy this application and the seller what happened is like it may be written in Java it may be written in .net it may be written in node.js so you. 02. so you said that it is a decoupled architecture so coming to that can you explain what are the major differences between service-oriented architecture or monolithic application and a micro service? Ans: so what happen is like as I already told that in service-oriented architecture or monolithic application is the entire application so the application monolithic application is the whole block of application service layer or SOA service-oriented architecture is like we define small small module but inside the same application only so we make it modular wise like we take the part of if you take the example of Java we created packages we create interface for particularly for DAO a particularly for seller particularly for customer and particularly for admin and in micro service what we have is like we'll have more granular level of breakdowns like in seller also we can have different types of sellers like from us we can have the part for us only which will be running on any servers on us or we can have clients of any other applications who will be interacting with or auth layer for particularly sellers and auth layer for particularly admin 2 different applications we can have so all these are completely segregated and talked to each other in like over an HTTP and not throw the application himself so if I draw an example like monolithic SOA and if I take the example of micro service I can say like microservice and there can be N number of microservices okay now I will give you 03. two scenarios first design a simple micro service architecture application and the second scenario is migrate the existing monolithic application to microservices and what will be your means approach or whatever your thought process to break down those into small small micro services like you took example of Amazon right so you can just show how Amazon can or if you are owner of Amazon that particulars software so how you would have broken it into small small micro services so how I design a micro service is like if it is a new application Ans: as you already told since it is a new application so I'll just take the requirements so I will ask like who are the users what are the existing schema how the relationships are mapped like like what are the dependencies like I can have like buyers and sellers so both are actually correlated we can't segregate it out completely so the database, how will manage the databases and all so if I take example of buyer and seller only so buyer will have its own name ID and like items so we have three tables and seller will have like cart details and items brought so these means different tables so this item and this item is related so it is like it can't be like I have brought here like a pan and the buyer doesn't sell a pen or any of the buyers doesn't sell any pen so it it is related so how it interact is like I will call this and suppose he brought already one item or added it so it it will get deleted from here and it will be added here so this is how but these things are completely independent these and these are completely independent so we can keep it out and build two microservices micro-service one and microservices yeah this is how means generally we define micro-services for if I am going for a new application and say it is database and this is database and how we will break a micro surface actually this is a long term process it doesn't work so quickly or so nicely so what we can do is like in monolithic application there we need to change the existing application also side by side and there are micro services so suppose we have buyer-seller and we want to take this out and make it as a micro service so what we can do is like instead of buyer calling this we need to have like a mechanism to call an API so admin will also be there residing and API for admin also and it will point to this micro service so we'll build this micro service we'll take this part this is business logic from here and put it here and once it is done then we'll just point it out instead of calling this we will now call this and instead of calling this we will now call this so this is how we break down so we need to take care of similarly the table structure I mean the schema and we need to means slowly and gradually we need to take these and map so it's like a long term process 04. while breaking those micro services what so it's like a long term process so while breaking the micro services what are the advantages you have and what are the drawbacks while using all this micro service based architecture Ans: so the main advantages of micro service is like earlier I told that we will deploy okay so how will define is like a we have buyer then we have seller and we have admin so like Independently we can deploy independently we can make the code change so it's fault tolerant like if it goes down it will be up it will be up then what else one more thing is like we can expand it like we can scale it so like independently we can have entire admin then admin and we can have a load balancer to navigate the traffic and one more thing is like as its mainly practiced by Netflix so like an individual contributor or an individual developer will take like the requirement then he will deploy he will make the code changes then he will deploy it in like cloud or any server independently so he takes a complete responsibility smaller tasks and more thing and one more thing is like it can be written in Java it can be written in node.js so there is no like dependence on any particular technology so anyone can use any technology this is the main criteria so the main problem is like we can have multiple layers of authentication like micro service one is talking to micro service to micro service 3 then it is talking to individually they are talking with each other then micro service 4 the micro service 5 and suppose like so first of all we need to have individual deployment strategy for each one and suppose if something goes failed here so we need to find out we need to find the root cause or why it got failed so we need to debug all the stages here and why it got failed you need to check and on the top of that we need to have multiple layers of authentications, so for micro service 3 it may able to access few of the applications or few of the API so this one will give like auth this one may have authorization type 2 so here we need to implement multiple types of authorization means like for each one individual applications we need to give multiple layers of authentication or authorizations 05. so you have hierarchical of micro services like micro service one and micro service 2 is talking to micro service 3 suppose which is an auth layer and the micro service 3 is talking to some other micro services like 4 and 5 respectively so if something goes wrong like in micro service layer third or layer 4 something went wrong so how you will know that that micro Service is failing and you need to debug that micro service application logs? Ans: so to answer your question suppose I have multiple layers of micro services so what we can do is like we can traffic all the logs to Splunk or Kibana or we can say elasticsearch and for each request we can generate a correlation ID so this correlation ID would be passed through each of the headers and it will be logged in the Splunk or like elasticsearch and like suppose if anything goes wrong with this request we can later take out that request and see okay how we can process it from the backend so that's how and if something suppose this server went down so we can have a health check to look for all the servers and suppose this went down the health check will return to the Kibana or email notification like that we can have
@infomahboobali
@infomahboobali 3 года назад
guys i have converted his all questions and answer into script using google lens so please remember me in your prayers
@codespace
@codespace 3 года назад
Thank you for your effort. Keep up the good work
@mohdaasif6745
@mohdaasif6745 3 года назад
Good job 👍👍 thanks
@neetugupta7731
@neetugupta7731 3 года назад
@@infomahboobali thank you 😊
@rajnishjha5817
@rajnishjha5817 3 года назад
@@infomahboobali Sure bro :)
@devolee8302
@devolee8302 4 года назад
The diagrams are really helpful to see the overall concepts quickly.. thank you!
@codespace
@codespace 4 года назад
Welcome. My pleasure
@winuxworx
@winuxworx 4 года назад
Its funny that so many "Egoistic experts" are so triggered when a particular technology is not explained completely. Remember that this is not a tutorial about Microservice. Its just demonstrating a typical technical interview and how one can answer particular questions.
@codespace
@codespace 4 года назад
Thanks for your support.
@saiyashwanth1991
@saiyashwanth1991 3 года назад
My first video on microservices before an year, now I am software engineer at product based company working full time on designing and implementing microservices everyday. TBH I gave same answer in FAANG interviews too they were impressed too
@codespace
@codespace 3 года назад
Glad to know that it helped you to secure a job 😁✌️
@kisan-majdoorkalyansamiti7390
@kisan-majdoorkalyansamiti7390 3 года назад
99% companies are confused . Have you heart about SCA ?
@sakibulislamkhan5410
@sakibulislamkhan5410 2 года назад
Hi yeshwanth, Can you please share the link of that video ?
@eshwareshwar8876
@eshwareshwar8876 4 года назад
I really appreciate your efforts, It was so good. Small confusion u took the same example for both SOA and MicroServices. Well said, MicroServices uses smallest possible independent Unit which can be easily modified and deployed. In your example - SOA Buyer module can be further be converted in to Customer-MS1, AddressAndDeliveryAddress-MS2 CommunicationDetails-Normal&ForOrderTracking-MS3 - Here Buyer module can be further divided in to smaller units - Tomorrow if delivery related any extra requirements comes then in that case AddressAndDeliveryAddress-MS2 will get effected and Customer-MS1 will be untouched. I am not sure my example suits in this case or not - I am just adding one more example for better understanding purpose. Disadvantages of MicroServices not covered- When it will be difficult to manage How many maximum number of MS can an product can have, if huge number what are possible challanges, What kind of mechanisms will help to fix dependent issues when you have more and more microServices you have. Which sectors are not suitable MicroServices are not suitable for Finance sectors and few other where hudge number of business rules which are interrelated and huge data modifications and data depedndencies. It is easy pick for CDN, videostream, social media networking related where data is not frequently changing and hence you can bring up more smaller units effortlessly and which becomes easy maintenance and also easy scaling for required ones
@codespace
@codespace 4 года назад
Noted
@syedmuhammadzaeemhasankazm7740
@syedmuhammadzaeemhasankazm7740 4 года назад
Thanks alot man, your method of explaining via creating diagrams on the go is amazing!
@codespace
@codespace 4 года назад
Welcome. My pleasure. Stay safe
@deveshkumar4356
@deveshkumar4356 4 года назад
this is awsome way of helping people out there looking to crack Job interviews. Thanks a lot ! !
@codespace
@codespace 4 года назад
Welcome. My pleasure
@bathulanagendra4621
@bathulanagendra4621 5 лет назад
Nice attempt .video was simply good.great work .
@codespace
@codespace 4 года назад
Thank you
@soniamiglani8720
@soniamiglani8720 4 года назад
I really appreciate your efforts. Thanks!!
@codespace
@codespace 4 года назад
Welcome. My pleasure
@radetejashri3
@radetejashri3 4 года назад
Very helpful for quick interview prep. Thank you
@codespace
@codespace 4 года назад
Welcome. My pleasure
@AndhraKitchenFoods
@AndhraKitchenFoods 3 года назад
This is really awesome interview discussion, which helps many who are looking to change jobs. Thank you so much for posing excellent video.
@codespace
@codespace 3 года назад
Glad it was helpful!
@gajjalapuusha02
@gajjalapuusha02 4 года назад
Very Good Attempt. This video provides brief explanation of all the details for the Micro-service Architecture and Details. It would be helpful if you can make more videos on Spring, Hibernate, Databases, Restful like technologies too for Experienced levels. All the best. Thank you.
@codespace
@codespace 4 года назад
Noted. Java interview questions coming soon. Stay tuned
@notyourright
@notyourright 4 года назад
great presentation ,questions and content delivery!
@codespace
@codespace 4 года назад
Welcome. My pleasure
@juleshallrocks
@juleshallrocks 4 года назад
I really liked it. Thanks for the video. Interviews are always hard!
@codespace
@codespace 4 года назад
My pleasure
@sarfarznawaz
@sarfarznawaz 4 года назад
I got my solution just in 4min of this video, thanks for clean demo.
@codespace
@codespace 4 года назад
Welcome
@jigarsolanki6534
@jigarsolanki6534 3 года назад
Really appreciated this video and your dedication. Thank you very much.
@codespace
@codespace 3 года назад
My pleasure 😊
@DeepakKumar-wh7bv
@DeepakKumar-wh7bv 4 года назад
All I can say is " Thanks a lot " . Keep helping us .
@codespace
@codespace 4 года назад
Welcome. My pleasure
@hi-gq9rn
@hi-gq9rn 4 года назад
@CodeSpace In your video you demonstrated that one microservice directly using another microservice. That approach is still monolithic my friend. Microservice calling APIs of another microservice is not how microservices communicate. You didn't mention about service discovery/registry anywhere in the video which is one of the critical piece. Also there is no mention of fault tolerance, that is how to recover when an error occurs
@codespace
@codespace 4 года назад
This is one of the approach. There are other approaches using queues.
@ankitkumarsingh9815
@ankitkumarsingh9815 4 года назад
thanks a lot! we need such high quality content.
@codespace
@codespace 4 года назад
Welcome. My pleasure
@mohammedishaque4458
@mohammedishaque4458 4 года назад
Great Bro. Liked it. Understood clear picture as I had many broked pieces about it. You helped me give more clarity in different way. Super.
@codespace
@codespace 4 года назад
Welcome
@priyakdey7891
@priyakdey7891 4 года назад
Nice attempt and good work :) Just a word - At around 15 mins of speaking of best practices while developing a product in microservice pattern, you said we can separate out DB for each service. Actually that is the main point of microservice. Not only buisness functionalty is separate so is the data. In case two microserviecs share the same DS, it is more of a SOA pattern. So always each microservice, if they talk to a db should and will have their own DS and we can have MQ to sync data in case it is required and difff transaction mechanism/pattern to manage transaction across DB. Martin Fowlers first words are each service is not only decoupled at its own business concern but should not share data from a common datascource, data should be passed along each microservice through an Endpoint. Good luck . :)
@codespace
@codespace 4 года назад
Yes that whats microservices should be designed. Decoupled.
@knightrider9509
@knightrider9509 4 года назад
@@codespace Dude, What do you mean by Decoupled? So if you have 100 microservices you recommend 100 databases? HOW will you keep the data in sync across these DB? Don't take 1 service 1 DB too seriously, it can only be done for very few services that are totally independent and unique from rest of the application. For rest of the microservices you do not have the option to have independent DB and need to share DB or else you will have to forma new company to manage your databases!
@codespace
@codespace 4 года назад
Ravindra Kumar 🙏
@flavioroncat
@flavioroncat 4 года назад
This is excellent preparation material for an interview! Congratulations on the video. Thanks!
@codespace
@codespace 4 года назад
Welcome
@karthikeyanchidambaram6560
@karthikeyanchidambaram6560 4 года назад
Very elaborate and detailed answer to the higher level questions that can be expected. As commented it would be nice to add other videos for topics at Java and related technologies at the programming level. As for the video casting the same person in both roles was good too.
@codespace
@codespace 4 года назад
Java interview questions are coming soon. Stay tuned
@sonusrivastava8470
@sonusrivastava8470 10 месяцев назад
Great video and very good explanations, thank you!
@nageshrandive5906
@nageshrandive5906 4 года назад
Sir u r specilly born to motivate people and free from their difficulties and stress...U r inspirational and awesome..
@codespace
@codespace 4 года назад
My pleasure
@dumindar
@dumindar 4 года назад
Nice job. Thank you! keep making more.
@codespace
@codespace 4 года назад
Welcome. My pleaure
@akashverma7881
@akashverma7881 4 года назад
Would appreciate if you could tell what tool are you using to draw on laptop? The amazon link to buy the same would be great.
@codespace
@codespace 4 года назад
Wacom www.amazon.in/Wacom-DTH-1152-1-inch-Interactive-Display/dp/B079S9R7M3/ref=sr_1_5?keywords=Dth+1152&qid=1574448451&sr=8-5
@anilkumaranandan2225
@anilkumaranandan2225 4 года назад
You are awesome . This one video is enough to understand MicroService
@codespace
@codespace 4 года назад
Welcome. My pleasure
@AshokKumar-je6fe
@AshokKumar-je6fe 4 года назад
very good, nicely answering all of the questions.
@codespace
@codespace 4 года назад
Thank you
@kiranshah177
@kiranshah177 4 года назад
Great ! It takes a lot of efforts to make such kind of video :)
@codespace
@codespace 4 года назад
Welcome. My pleasure
@kirankumarsunku
@kirankumarsunku 2 года назад
bro spring boot rest template is comes under the micro service or not?
@ajfilms4382
@ajfilms4382 2 года назад
Great Job 👍 and well explained. Thank you so much for this video.
@codespace
@codespace 2 года назад
My pleasure 😊
@yousufbaig821
@yousufbaig821 3 года назад
Awesome. Thanks a lot. Great video!
@codespace
@codespace 3 года назад
My pleasure
@ravindra9523
@ravindra9523 4 года назад
Excellent explanation. Thank you.
@codespace
@codespace 4 года назад
Welcome
@maheshm3273
@maheshm3273 2 года назад
u and your twin brother doing a great job . Thank you :)
@bhanu0047
@bhanu0047 3 года назад
Hey, nice video!! What was the gear you used for white board writing ?? Wacom?
@codespace
@codespace 3 года назад
Yes. Wacom dth 1152
@sarikaagrawal56
@sarikaagrawal56 4 года назад
Very easy to understand even if person does not have any background On Microservices. Thanks you for sharing it.
@codespace
@codespace 4 года назад
Welcome. My pleasure
@ramkethireddy9445
@ramkethireddy9445 4 года назад
really appreciate your video content,i have one question all the micro services have to be using a separate Database instance or can be one database?
@codespace
@codespace 4 года назад
Separate
@AlessandroForcuti
@AlessandroForcuti 3 года назад
What I listen here for SOA is principle of modular programming that SOA shares, but what is SOA and what differ from Micrsoservices ? SOA is architecture that has separated e indipendent services and decribes what protocols to use for to comunicate each others, this common comunication is the ESB and it is its weakness. The aspect of separate and indipendent services brings SOA closer to microservices but the fundamental difference is that in microservices architecture there is no ESB and therefore the microservice is free to use the most appropriate comunication protocol for the situation.
@codespace
@codespace 3 года назад
🙂
@salmansrabon9799
@salmansrabon9799 4 года назад
It's an undoubtedly awesome video. You the Indians are really joss engineers.
@codespace
@codespace 4 года назад
🙏
@momithachoubey786
@momithachoubey786 3 года назад
woah dude.... its been just one mint of the vid and i decided to subscribe and applaud... u really did tremendous work over there.... i m totally new to microservices but ur this vid helped me a lot.....
@codespace
@codespace 3 года назад
My pleasure 😊
@rakesh20077044
@rakesh20077044 4 года назад
Explanation with examples is fantastic
@codespace
@codespace 4 года назад
Thank you
@mohammedsardar3779
@mohammedsardar3779 4 года назад
What a creatures. Nice articulation. Keep growing. All the best.
@codespace
@codespace 4 года назад
Thank you
@nadeerahashankuruppu5962
@nadeerahashankuruppu5962 3 года назад
Thank you for the simple explanation
@Oyekool
@Oyekool 3 года назад
My pleasure 😊
@div7012
@div7012 4 года назад
Well explained and really helpful to understand concepts...
@codespace
@codespace 4 года назад
Welcome. My pleasure
@saadhassan8893
@saadhassan8893 4 года назад
Thanks for the video. Appreciate!! One question I was having here is when you say it is stateless then how authentication will be handle from second time( say for instance you are using redis or any cache mechanism for storing sessions) then how same user will be authenticated. Appreciated if you can please elaborate.
@codespace
@codespace 4 года назад
All http requests are stateless. We need to determine by using userid and jwt token
@Makeupwith_lilac
@Makeupwith_lilac 3 года назад
@@codespace adding to point cookies will be utilized for handling sessions. also in return response JWT token would be placed in response header and every request time it will get checked.
@MrRam0036
@MrRam0036 3 года назад
Total cinema in 20 min ... Awesome.. liked the explanations....
@codespace
@codespace 3 года назад
My pleasure 😊
@earthcitizen7156
@earthcitizen7156 3 года назад
hi plz explain the architecture more and connectivity with http and https mode. which mechanisms of authentication and authorization will be used in here. awaiting more on these microservices regarding interview eapecially.
@mounirelbertouli9990
@mounirelbertouli9990 Год назад
Very helpfull , thanks dude
@devendraprasad1984
@devendraprasad1984 3 года назад
very nice and easy way to tell on MS
@FYPNLP
@FYPNLP 4 года назад
This is fantastic. Really useful to my SDET interviews
@codespace
@codespace 4 года назад
Welcome
@yuewu3888
@yuewu3888 4 года назад
Big Thank You!
@codespace
@codespace 4 года назад
Welcome
@vinaypratap8706
@vinaypratap8706 3 года назад
This way is really great🔥 Thanks buddy👍
@codespace
@codespace 3 года назад
My pleasure 😊
@kiranmapakshi9289
@kiranmapakshi9289 4 года назад
I want some clarification on Stateless microservice. So what I understand from your explanation is that, when buyer call the API for adding into the cart, it goes to one instance of MS1, so when the buyer want to delete it from the cart, (question starts here) will it go to session and find which instance is having the item and delete it from the particular instance? or how it will do? Please let me know. By the way I found all the information what I'm searching for. Thanks a lot :) :)
@codespace
@codespace 4 года назад
It may or may not land on the same instance. So using jwt token and userid ms need to determine the user and perform the action
@damonsalvatore6379
@damonsalvatore6379 3 года назад
Thanks for this video. Its really good. Pls keep making such videos.
@codespace
@codespace 3 года назад
My pleasure
@umasankarsivasubramanian607
@umasankarsivasubramanian607 4 года назад
Nice and Simple. Can you explain how the different versions of same ms available to more than one client. Also when should we go for API gateway?. Finally how the CDN gets updated for every deployment?.
@codespace
@codespace 4 года назад
I hope you are able to resolve it. If not let me know your query in details. Sorry for delayed response
@parthprajapati1590
@parthprajapati1590 4 года назад
Great content..... Could you please make video upon the communication between microservice using different messaging technology available in market like rabbitMQ , kafka.. Etc. With the scenarios in which they should be opted.
@codespace
@codespace 4 года назад
Noted
@nagarajanerode
@nagarajanerode 4 года назад
Good Presentation you have given a overall picture of Micro services
@codespace
@codespace 4 года назад
Thank you :)
@Rahul-tn4mo
@Rahul-tn4mo Год назад
Amazing ❣️Thanks for this video 🙏 Please bring us more videos like this❤
@codespace
@codespace Год назад
Sure
@sandeepgabhale
@sandeepgabhale 4 года назад
Very good and informative video session. Keep up the good work.
@codespace
@codespace 4 года назад
Thank you
@jorgepinto9369
@jorgepinto9369 4 года назад
Great tutorial!
@codespace
@codespace 4 года назад
Thanks
@RajatGuptaOnline
@RajatGuptaOnline 5 лет назад
AweSOME!!
@codespace
@codespace 4 года назад
Thank you
@tejach4567
@tejach4567 4 года назад
Simply Awesome.
@codespace
@codespace 4 года назад
Thank you
@jaga9275
@jaga9275 4 года назад
great work brother..request you to create similar video on micro services, more technically question answer for eg:- write a code snippet for how security is implemented in micro-service projects
@codespace
@codespace 4 года назад
Noted
@amanib589
@amanib589 3 года назад
I need this answer..please share the answer
@beastwillevolve307
@beastwillevolve307 3 года назад
Wonderful Explaination.
@codespace
@codespace 3 года назад
My pleasure 😊
@SantoshPandey-mu5dk
@SantoshPandey-mu5dk 5 лет назад
Very nice Guarab....If possible please create a series of simplified tutorials focused only on Microservices.
@codespace
@codespace 5 лет назад
Noted.
@skvmemories
@skvmemories 4 года назад
Good job.... :) MS can be used for re-usability also.
@codespace
@codespace 4 года назад
Yes. Its called load balancing
@krishnan3
@krishnan3 4 года назад
really good and useful thanks for you valuable time for us
@codespace
@codespace 4 года назад
Welcome. My pleasure
@ranadeepghosh
@ranadeepghosh 3 года назад
Nice video, please also add information about asynchronous modes of communication(e.g. a message broker) between microservices as it is a very widely used pattern.
@codespace
@codespace 3 года назад
Noted
@jhansiuramala8988
@jhansiuramala8988 5 лет назад
very different thought...u done good job..
@codespace
@codespace 4 года назад
Thank you
@dineshjoshi520
@dineshjoshi520 3 года назад
Awesome work guys. Very interesting answers. Thanks aalot
@codespace
@codespace 3 года назад
Glad you enjoyed it!
@smilequeensujata6347
@smilequeensujata6347 3 года назад
thanks its very helpfull to everybody,could you please share and explain the details how to configured jpa with microservices application with small example
@1988kalaivani
@1988kalaivani 3 года назад
Awesome Bro. Good and clear explanation
@codespace
@codespace 3 года назад
My pleasure 😊
@kuttikrishnankodoth1463
@kuttikrishnankodoth1463 4 года назад
How about couple of MS interacting with same DB, is that a good idea to have mirror DB .. if its a mirror DB how to sync the data at real time if its a relational DB
@codespace
@codespace 4 года назад
1: You maintain a state/flag (say 1 for storing user name, 2 if MS2 return true) in MS1-DB1 and if MS2 (saves mobile and address of a user) fail it will return error code 5XX then either you delete the record from DB1 or keep the flag to 1 and can process from the point where error has occured 2: It will always be stateless and validated using various approach like JWT, openId, oauth 3: Monolithic application has 1 huge database. But best practice for MS is to build with individual DBs but not limited to
@sumitpatil7084
@sumitpatil7084 Год назад
Amazing Contents bro very easy explanation and also Good Thought process of Communicate Microservices Architecture Thanks For Help ❤
@codespace
@codespace Год назад
You are most welcome
@santhoshv4747
@santhoshv4747 4 года назад
Really very well explained.. good help for guys like me. Could you please do similarly on Spring Boot and Angular
@codespace
@codespace 4 года назад
Noted
@Lucky-uz3je
@Lucky-uz3je 4 года назад
Man...you are amazing. 😊
@codespace
@codespace 4 года назад
Thanks. My pleasure
@swathik5692
@swathik5692 4 года назад
Thanks for your videos
@codespace
@codespace 4 года назад
My pleasure
@shahk26
@shahk26 4 года назад
Very good explanation. Need to add more information for transaction scope and db separation. How to divide a db to support micro services.. How to maintain a table which is common for multiple apps. for example, An Employee can create a sales order so Employee app and Sales app shares common table called employee.. How to maintain that? If a sales order is created (sales app) but during the credit card charge (accounting app), it is failed so how to rollback sales order? These are the some of the real life questions
@parshu21
@parshu21 4 года назад
Yup, the Q&A in this video are pretty basic. (Don't take it in the wrong way it is still good :) But if we delve in more depth of it there are lot of things (like mentioned by Kaushal above) that will be asked from any experienced developer.
@arpanmukherjee4625
@arpanmukherjee4625 4 года назад
Yes data integrity is not guaranteed all by default. So that's always a challenge, many people solve it in different ways. Also for microservices, if I have to deploy multiple instances and load balance between them, do each instance talk to a single DB or multiple?
@codespace
@codespace 4 года назад
1: You maintain a state/flag (say 1 for storing user name, 2 if MS2 return true) in MS1-DB1 and if MS2 (saves mobile and address of a user) fail it will return error code 5XX then either you delete the record from DB1 or keep the flag to 1 and can process from the point where error has occured 2: It will always be stateless and validated using various approach like JWT, openId, oauth 3: Monolithic application has 1 huge database. But best practice for MS is to build with individual DBs but not limited to
@codespace
@codespace 4 года назад
@arpan- Under LB/auto scaling group- all instances have same code base so they connect to same DB
@sumatipanchal7717
@sumatipanchal7717 Год назад
its really nice and easy to understand how to explain in proper way ..
@codespace
@codespace Год назад
Thanks for liking
@KamranKhanmba
@KamranKhanmba 4 года назад
can you make interview on full stack development ? Angular , Java with AWS . Spring Framework , devops , AWS Solution Artech
@codespace
@codespace 4 года назад
Noted. Keep and eye on the channel. Stay tuned
@bestdate9541
@bestdate9541 4 года назад
Really Good one , Thanks for this video
@codespace
@codespace 4 года назад
Welcome. My pleasure
@agraa
@agraa 4 года назад
I am not very expert in the microservices or anything, but just observed one things fir your first question.. taking example for changing code for giving 5% discount is little wrong in the first place. this 5% should be associated with the product somewhere and store at some configurable place. might be FS or DB. if you means to say whole about discount feature, then you explanation is right.
@codespace
@codespace 4 года назад
The real intention is to put forward how microservices and distributed system works. Logically you are correct
@muhammadfiaz9279
@muhammadfiaz9279 4 года назад
Can you please brief on how to perform manual and automated testing [A/B Testing] in micro-services..
@codespace
@codespace 4 года назад
Automation testing can be done through apis. And for manual testing you need to rely on postman but its not suggested
@NupurKoul
@NupurKoul 3 года назад
If one Microservice is dependent on other like a chain and result will show on 4th microservices ,what happen if one microservices is getting down ,will other 3 microservice will work or not.Please advice
@sanjeevjha6579
@sanjeevjha6579 3 года назад
Thanks for such a great video.
@codespace
@codespace 3 года назад
Glad you enjoyed it! Also support us by subscribing to my other channel Oyekool- ru-vid.com
@sireeshaiytha4810
@sireeshaiytha4810 3 года назад
Hi great work .it helps a lot.Can u plz provide a what exactly load balancing and provide some interview questions on Amazon neptune and S3 bucket ..thanks in advance
@codespace
@codespace 3 года назад
Sure. Keep an eye 👁
@deepshikhasharma4136
@deepshikhasharma4136 2 месяца назад
Do you have any video on DSA ?
@AndeCaleb
@AndeCaleb 3 года назад
thanks for this video... really appreciate..
@codespace
@codespace 3 года назад
My pleasure 😊
@techuserutil5549
@techuserutil5549 4 года назад
eye opener
@codespace
@codespace 4 года назад
Thank you
@earthcitizen7156
@earthcitizen7156 3 года назад
HI ur video is substantial to general talk in interview regarding microservices. can u plz make an (elaborated) video (if needed) explaining tje authentication process in each microservices along eith load balancer + cache mechanism to hold the above to smoothly interact with other microservices seemlessly. a powerpoint slides if u can support. thanq.
@codespace
@codespace 3 года назад
Noted
@vinotech4776
@vinotech4776 2 года назад
Well Explained.
@codespace
@codespace 2 года назад
My pleasure 😊
@raghuvardhansaripalli9636
@raghuvardhansaripalli9636 3 года назад
Greate video. thank you so much.
@codespace
@codespace 3 года назад
Welcome. My pleasure
@NikhilSharma-zh9fw
@NikhilSharma-zh9fw 4 года назад
Make a video to manage sessions by taking the example of radis-cache and take atleast 2 microservice to explain the scenario.
@codespace
@codespace 4 года назад
Noted. Keep an eye. Stay tuned
@sanjayg2686
@sanjayg2686 3 года назад
Great one, Thanks a lot; Kindly make similar video for Data Architect please.
@codespace
@codespace 3 года назад
Noted 😊
@rameshnallajarla5697
@rameshnallajarla5697 2 года назад
nice explanation. very useful.
@codespace
@codespace 2 года назад
Glad it was helpful!
@kalaivananrajendran5214
@kalaivananrajendran5214 3 года назад
Hi please post question and answers on Spring cloud configuration for microservices and naming server, load balancing, logging mechanism and authentication in depth
@SandeepSharma-wx9pu
@SandeepSharma-wx9pu 3 года назад
Such a magnificent way to elucidate the things...Perfect Do you have a .Net Core Interview question and answers | Architecture design videos/ articles, if so could you please share the details? Thanks so much for this significant tutorial.
@codespace
@codespace 3 года назад
Thanks 😌
@avikg007123
@avikg007123 2 года назад
Yes it is helpful. Please make videos for .net core, kubernetes etc.
Далее
КТО ЭТО БЫЛ?
25:31
Просмотров 1 млн
The Man Who Solved the World’s Hardest Math Problem
11:14
Microservices Interview Questions
12:12
Просмотров 24 тыс.
What are Microservices?
9:06
Просмотров 130 тыс.
Улучшил свои Apple Watch!
0:25
Просмотров 45 тыс.