The way you tell the concept is awesomely great ,understood each n every concept without any kind of difficulty. In the order to understand the concept is extremely satisfying by your subscribers.thank you so much
Question at time line 13:20 If there are three microservices A,B,C and A is Calling B and B is Calling C A--> B-->C what will happen if C fails? According to me if C fails then there is no use of implementing circuit breaker pattern at C (As C Fails and Question is What will happen if C fails?) one must implement the Circuit breaker pattern at B which is calling C and if C is down for some reason Then B should have Fallback method to provide alternate response I hope this make sense Pl. correct if it is incorrect Thanks !
@Manish : MicroService is an architecture. In java, you can use spring boot to develop it. So, you can use Mockito or TestNG for junit test. If you are testing api endpoints, request and response in REST, you can use Swagger, RestAssured. If you are doing automation for web based UI, you can use Protractor.
Hi . In one of my interviews I was asked "what are the different types of component scan" ? Could you please let me know. The interviewer asked this same question twice.. I am really not sure
@Sri Sushma Which company asked you this ? It is one of rare questions asked in spring boot or spring interview. The interviewer's perspective might be whether you know about different types of filter in component scanning. Let understand like this : 1. When we use @SpringBootApplication -> it provides us @ComponentScan. 2. By default, ComponentScan will auto-scan all classes annotated with stereotype annotation in root package and its sub-package. 3. Inside @ComponentScan, we can pass filter like includeFilters = @ComponentScan.Filter ("filter_type", "filter_value") to scan classes matching with given filter. 4. Common available filters are : i) FilterType.ANNOTATION ii) FilterType.ASPECTJ iii) FilterType.REGEX
@@ByteProgrammingVedantHarish I know this part. But is the question framed even correct for this answer ? I honestly feel it's not a right question to ask. The question was asked by a famous portlet development company
@@sushma6314 In general, Questions frame should be to the point. I partially agree with you here. This question is from a product based company, i am assuming! Let's understand this through an example : Question : How to optimize your spring boot api? As an interviewer, depending on your "project experience", "total experience" , "role for which interview", and finally " project requirement". I would be looking for below points : 1. unchanged content or constant value : Make static 2. Use of final. 3. Minimal object creation. 4. Minimal code duplication If you look at above points, these are coming from java itself. Nothing from Spring boot. So, what to look in spring boot ? 1. Graceful start up of spring boot because you might be using default autoconfiguration. (Another way of asking the question, you got from interviewer. ) 2. More than required db calls. 3. Unnecessary dependency imports 4. Use of CrudRepository or JpaRepository for your use case. You can think of any other point also. Hope this view point helps you for your future interviews.
@RaviKumar : Yes. Microservice is an architecture. You can develop microservice with any technology and any web-service. With Rest and spring boot, you can easily develop microservice.
@Ravikumar why dubbing is hard in monolithic even there is only one application, In case o f micro-service, how will you debug other micro service which hold other team, and how will you get that micro-service logs, and how will you debug other service which written in dot net and your service in java, when if you don't have log access of that micro-service ,
The way you tell the concept is awesomely great ,understood each n every concept without any kind of difficulty. In the order to understand the concept is extremely satisfying by your subscribers.thank you so much
increase playback speed to 1.5
Your videos are ‘One stop shop’ for interview questions :) perfect 👍
Agree..100%
Great video. Covers all topics which will be expected in interviews for experienced folks. Thankyou 👍
Nice video .Great Job. Please share more video
Very useful video 👍👍 thank you
Good explaination along with the answers..
very useful questions on microservices. Thanks
Very good explanation and easy to clear interview
Question at time line 13:20 If there are three microservices A,B,C and A is Calling B and B is Calling C
A--> B-->C what will happen if C fails?
According to me
if C fails then there is no use of implementing circuit breaker pattern at C (As C Fails and Question is What will happen if C fails?) one must implement the Circuit breaker pattern at B which is calling C and if C is down for some reason
Then B should have Fallback method to provide alternate response
I hope this make sense Pl. correct if it is incorrect
Thanks !
No.. ur wrong.. if hit the call for c micro service.. no response from c what will be the response.. u should implement fall back method for c
one suggestion try with 1.25x speed
I ran it with 2x still it was slow for me
very good effort.Thanks
Very good video, exactly what I wanted. But please increase speaking speed as we have to watch in 1.5x :)
Sure! Noted! New video i am trying to do. Stay tuned!
on 2X too its like I am listing on normal mode 😂
Very Nice Explanation. Great !!
Plz add realtime examples .it is useful to clear the interview
Bro super explained, can you provide interview questions on azure development
tip : watch it at 1.5 speed : ) Great Video btw, thanks!
Thanks for feedback. It will be re uploaded soon.
You are doing very good thing , keep it up 👌👍
Very nice
why you did not even bring kubernates as an option for the last 3-4 questions.
Good video, just add some realtime examples so that it will be more easy to understand
For MS communication dont we use Feign Client also ? U mentioned only rest template n webclient
Good compilation and most of the expected question covered. Great effort.
I like the style, "Moving to Next question" :) , awesome explanation
Glad you liked it!
Thanks bro...easy to understand.
hello please upload video on spring mvc ,DI,IOC,JSP,SERVLET,JDBC,
Pls make more questions
Excellent explanation 👌👌👍..Please provide pdf document link or github link from where we can download as document
@Prince Pdf is not yet there. But point noted. Stay tuned!
What is different between eureka and api gateway?
very nice. please can you share slide or pdf of these points. difficult to cut and copy paste from video
I got a question that in production how you configure your external file in boot which is not in your class path
@componentScan!
How we do unit test and integration test microservice from developer and tester perspective. Also End to End testing microservice?
@Manish : MicroService is an architecture. In java, you can use spring boot to develop it. So, you can use Mockito or TestNG for junit test. If you are testing api endpoints, request and response in REST, you can use Swagger, RestAssured. If you are doing automation for web based UI, you can use Protractor.
@@ByteProgrammingVedantHarish Is there any tool like "CYPRESS" also ?
Can you please share the slides of the videos
Hi . In one of my interviews I was asked "what are the different types of component scan" ? Could you please let me know. The interviewer asked this same question twice.. I am really not sure
@Sri Sushma Which company asked you this ? It is one of rare questions asked in spring boot or spring interview. The interviewer's perspective might be whether you know about different types of filter in component scanning.
Let understand like this :
1. When we use @SpringBootApplication -> it provides us @ComponentScan.
2. By default, ComponentScan will auto-scan all classes annotated with stereotype
annotation in root package and its sub-package.
3. Inside @ComponentScan, we can pass filter like includeFilters =
@ComponentScan.Filter ("filter_type", "filter_value") to scan classes matching with given filter.
4. Common available filters are :
i) FilterType.ANNOTATION
ii) FilterType.ASPECTJ
iii) FilterType.REGEX
@@ByteProgrammingVedantHarish I know this part. But is the question framed even correct for this answer ? I honestly feel it's not a right question to ask. The question was asked by a famous portlet development company
@@sushma6314
In general, Questions frame should be to the point. I partially agree with you here. This question is from a product based company, i am assuming!
Let's understand this through an example :
Question : How to optimize your spring boot api?
As an interviewer, depending on your "project experience", "total experience" , "role for which interview", and finally " project requirement". I would be looking for below points :
1. unchanged content or constant value : Make static
2. Use of final.
3. Minimal object creation.
4. Minimal code duplication
If you look at above points, these are coming from java itself. Nothing from Spring boot.
So, what to look in spring boot ?
1. Graceful start up of spring boot because you might be using default autoconfiguration. (Another way of asking the question, you got from interviewer. )
2. More than required db calls.
3. Unnecessary dependency imports
4. Use of CrudRepository or JpaRepository for your use case.
You can think of any other point also.
Hope this view point helps you for your future interviews.
Great, thanks !
Bro please reply me immediately urgent that I've one question without Rest API can we devlop the Microservice
@RaviKumar : Yes. Microservice is an architecture. You can develop microservice with any technology and any web-service. With Rest and spring boot, you can easily develop microservice.
@@ByteProgrammingVedantHarish can we dev microservices with only spring without spring boot?
@@Ravikumar-gj6qw In view, ideally you should not. Main crux of an api being microservice is "standalone, production ready".
@@ByteProgrammingVedantHarish I didn't get you bro
Too much ads... disgusting 🤢 Nice content.
speed 1.25 does the job
here's my perspective on why you may NOT want micro services - th-cam.com/video/LZPsyX0J9DM/w-d-xo.html
At time 3:25 No in case of monolithic app debugging is very hard bro wrong explanation check once
@Ravikumar Any specific scenario you faced?
@Ravikumar why dubbing is hard in monolithic even there is only one application, In case o f micro-service, how will you debug other micro service which hold other team, and how will you get that micro-service logs, and how will you debug other service which written in dot net and your service in java, when if you don't have log access of that micro-service ,
got really headache with your slow motion.