 Hello everyone, welcome to a channel. So in this video, I'll be sharing you one of the most important interview question explain about your project architecture. So this video specifically for those section of people who don't have hands-on experience in the real-time coding or development project but want to switch and are struggling to explain the project architecture because one of the most this as This serves as the most important question in selection because if you are not able to explain your project itself Then there are high chances of you getting rejected there So this video is not for the real-time coding experience candidates like the candidates who work on real-time development projects and who are able to explain their project architecture easily But this video is for those people who keep mailing us keep commenting under different videos to explain about the project project architecture So I'm taking one of my Project architecture and explain trying to explain how can we do this in a simpler way? So basically you can see any project can be divided into three sections UI Backend the DB side so Just say that our project like I've I take I used to work for an healthcare in the healthcare domain in the healthcare domain and This basically this architecture is of a provider enrollment. So for that Enrollment process we used to have a UI we have a back-end here and we used to validate some data We used to run some rules and we used to save That tables into the tables. So this was the basic architect So you can also say like if you are in support project you can take the same project and you can say How the UI is getting connected to back-end what all technologies you have used at the back-end Are you connecting to other servers? Are you using any cash if you are using what type of cash you're using? What is like a? DB that you are using or what is the thing that are like any framework you are using to connect to the DB So these all things you can explain So it coming to the UI side and the questions can raise like What is a UI framework that you are using and how you are validating a user? Whether he's authenticated whether the user is authenticated user or not So whenever remember if you are not confident enough to answer some Example when I conduct interviews many people won't be able to answer how LDAP works and this struggle instead of that And when they struggle that basically gives a negative impact. So instead of Struggling there just say one thing. See I always wanted to like you can answer like that I always wanted to work on the LDAP, but I never got a chance to work on the LDAP So I don't have exact idea on how it works But I know like our project is using LDAP for the authentication This this would be a decent answer because are you the interviewer thinks that you didn't get a chance So you at least know what LDAP does, but you don't know internally Same question applies for everywhere if you're not confident enough to explain about the cash Say the same thing. So by the chance by the time I joined the project the project was already set up So I was not completely aware like what? How the caching was configured to whether so you can say that as well. So again here this is debatable like What type of cashier you are using why that was used and you can say whether you are Back end is connected getting connected and getting information from any other services or not and if you are using symbol single Table like schema or multiple dbc are using you can explain that as well So this is a simple example You can draw this and you can explain each component easily So coming to the UI we can say we have used angular as a UI framework and we were using Browser cache a for caching purpose coming to the back end. We have used spring boot spring REST APS to expose our APS for caching We use jboss cache to connecting to other services We have used this templates and DB was our kill and we were using hibernate to connect to the DB and And a lap and we were using JWD to token So this was about my project and how I explain on I explain my project architecture So here are some counter questions that you will face. Oh Sorry, you can have one more Internal project like this we used to have like whenever the pressure I used to work on single kind of project It was a standalone project. We used to get one Kafka message Based on the Kafka message. We used to hit other services. We used to hit some DBs We used to face the data we used to enhance the data and we used to Again send back the data. So this was a small project So this is this would be helpful for like two years experience candidates or one year experience candidate they can say they have worked on some internal project of that company and This is how the architecture is again, you need to mention what all technologies you have used Yeah, so we you were using spring batch here. We were using Cache to be honest. I don't exactly remember now work what cache we used to we used to use there Maybe yes cache we were using and DB was Oracle and we were using eclipse link for DB and to hit the other services. We were using Rest template again So you can say this now there are some questions that you can Encounter like not all the at least one or two you will face for sure So why is your project designed in that way? So if you don't have real-time experience, what you can say you can simply say by the time I joined the project the project was already designed. So as I didn't get and it is a really what you can say Heavily we are heavily bonded with the work and I really didn't get the time to ask to anyone more like why we have Designed the project in that way or if you have the answer like why it is designed in that way you can answer Next question is what design patterns you followed and why so simple answer is Most of the like 90% of the projects will use singleton You can say singleton and to be on the safe side, you can say a factory design pattern Abstract factory design pattern. So these are the three simple design patterns this that most of the project uses What was the most complicated part of your project? So you can say anything that you Faced like as you if you don't have real-time experience, you can say like I was a back-end developer and All of a sudden the team has decided that everybody should work on both the sites Everybody should be a full-stack developer the client requirement. What is the full-stack developer as I was not aware of the ui technology? It was what I can say a challenging or complicated thing for me when I was trying to Trying to code on in UI you can say that how have you handled cash in your application? so We have used whatever Technology of use for caching you can say that how do you maintain session or user-related data? So we store some data or you can say some we store some key generated based on the user roles and logged in time and we store that and we use the tokens to validate that user How do you connect to be so? Connecting to DB there are a number of ways you can say we have used hibernate my bat is I bat is So there are a number of technologies You can say anything But be sure that you are well versed on that version because in the upcoming like when the we interview a process He'll definitely ask questions on the technologies that you are saying in this When you are answering these questions like why did you use hibernate? So when you say so some a reason that this is a reason we have used a hibernate and one bus Best thing I forgot to mention if at all you're stuck like if you are saying we have used hibernate And if the interviewer says why you have used hibernate always say a simple trick here So as we are serving though as I'm working for a service based company or I'm a junior in the project And we have a you can say a service side Architecture or we have a senior architecture who decides like what to use what technologies to be used So as you can say being in a service based company We have to follow our client So we have taken up the input from him and we followed and we he as he suggested to go with hibernate So we have gone with the hibernate. So you can say that So next set are who are the end users of your application So this you have to say because This shows how good you are on your project Like if you are not knowing who the end users of your project that doesn't give you good impression to be honest How do you validate a user is authorized to access a particular page or a function? So If we take most of my projects you have used JWT tokens. So I always go with that. So next question Why have you used XYZ technology only what benefit you were getting by using it if you are Like if you take an example of angler if you are able to say like why you have taken and what are the benefits that you are getting of Angler it is well well good But if you are not able to say that just say the same thing what I have said earlier We had a client architect and it was Decision from the client architect to use so-and-so technology This is the easiest way to escape from a question when you don't know the perfect answer Next question how easy is it for your project to add a new functionality? So This again is debatable like how well your project is designed and There are a few other things what How is he like if you are knowing in and out of your project then You go always like I will say it is very easy because we have followed all the coding standards That needs to be followed while developing your project. So We it is very easy for us to add any new functionalities and you can take any one of the example like we have added so-and-so like we were earlier using some what I can say some XYZ technology now we have replaced the that x-ray technology with some other thing within ample time We can say that next question. How would you handle a scenario when multiple services? Service calls are involved. So basically if you are saying that our application is interacting with some other applications So this question raises. So it is the easiest way it is to handle asynchronously and Let the user come back and take the response Where have you implemented multi-threading in your application? So if as my application was using that internal application was using multi-threading So if you tell you are saying that your application uses multi-threading, so that definitely this question will come up So when there are hundreds of users using your application, how will you handle it? So you can say some you can create any scenario where hundreds of users like if I if I can take Here the first message input suppose here the hundred Messages come comes and hundred messages are for different hundred customers. So I can create Thread pool here inside the batch and I can execute there. So in this way I use we have used multi-threading So that can be answered Do you participate in project design part? So this depends on your experience. So always say yes, but If you are a good saying if you are having a good experience say you are actively participate If you are having less experience you say you attend the Project design meetings as a shadow like you just sit with your seniors and you just listen and you provide your input to your senior Not directly on the call. So this will this is how you can handle. I hope this video might Help at least few in answering the question and that's it for this video Thank you for watching