21.Which UML diagrams you usually use for design ?Use Case Diagram, Component Diagram for High level Design and Class Diagram , Sequence Diagram for low level design. 22.How do you coordinate and communicate with the team developers ?We as a team of developers , testers , analyst , lead and architect sit close to each other. Most of the time I would just jump to their seat and talk to them ( if required ). We have daily stand up where we discuss things that needs team attention. 23.What kind of software architecture your organization follow ?We have multi tier architecture with multiple layers , We have series of web servers and applications in application tier, infrastructure libraries at middle tier and Database servers at the lower tier. We are using Oracle as Database, ESB ( Enterprise service Bus ) for asynchronous communication and Rest Web Services. 24.Difference between Proxy and Adapter Deisgn Patterns ?Adapter object has a different input than the real subject whereas Proxy object has the same input as the real subject. Proxy object is such that it should be placed as it is in place of the real subject. 25.Difference between Adapter and Facade ?The Difference between these patterns in only the intent. Adapter is used because the objects in current form cannot communicate where as in Facade , though the objects can communicate , A Facade object is placed between the client and subject to simplify the interface. 26.Difference between Builder and Composite ?Builder is a creational Design Pattern whereas Composite is a structural design pattern. Composite creates Parent - Child relations between your objects while Builder is used to create group of objects of predefined types. 27.Difference between Factory and Strategy Design Pattern ?Factory is a creational design pattern whereas Strategy is behavioral design pattern. Factory revolves around the creation of object at runtime whereas Strategy or Policy revolves around the decision at runtime. 28.Shall we use abstract classes or Interfaces in Policy / Strategy Design Pattern ?Strategy deals only with decision making at runtime so Interfaces should be used. You can check more: www.javatechnologycenter.com and click on java design pattern 29.What Do You Mean By High Availability?Having better service capacity with high availability and low latency is mission critical for almost
all businesses. 30.What Is Scalability?Scalability is the ability of a system, network, or process to handle a growing amount of load by
adding more resources. The adding of resource can be done in two ways
Any of the approaches can be used for scaling up/out a application, however the cost of adding resources (per user) may change as the volume increases. If we add resources to the system It should increase the ability of application to take more load in a proportional manner of added resources. An ideal application should be able to serve high level of load in less resources. However, in practical, linearly scalable system may be the best option achievable. Poorly designed applications may have really high cost on scaling up/out since it will require more resources/user as the load increases. 31.What Is A Cluster?A cluster is group of computer machines that can individually run a software. Clusters are
typically utilized to achieve high availability for a server software.
32.Why Do You Need Clustering?Clustering is needed for achieving high availability for a server software. The main purpose of
clustering is to achieve 100% availability or a zero down time in service. 33.What Is Middle Tier Clustering?Middle tier clustering is just a cluster that is used for service the middle tier in a application.
This is popular since many clients may be using middle tier and a lot of heavy load may also be
served by middle tier that requires it be to highly available. 34.What Is Load Balancing?Load balancing is simple technique for distributing workloads across multiple machines or
clusters.
1. Round robin 2. Session affinity or sticky session 3. IP Address affinity 35.What Is Sticky Session (session Affinity) Load Balancing? What Do You Mean By 'session Affinity'?Sticky session or a session affinity technique another popular load balancing technique that requires a user session to be always served by a allocated machine. 36.Why Sticky Session?In a load balanced server application where user information is stored in session it will be required to keep the session data available to all machines. This can be avoided by always serving a particular user session request from one machine. 37.How It Is Done?The machine is associated with a session as soon as the session is created. All the requests in a
particular session are always redirected to the associated machine. This ensures the user data is
only at one machine and load is also shared. 38.What Are The Issues With Sticky Session?There are few issues that you may face with this approach
39.What Is IP Address Affinity Technique For Load Balancing?IP address affinity is another popular way to do load balancing. In this approach, the client IP
address is associated with a server node. All requests from a client IP address are served by one
server node. 40.What Is Fail Over?Fail over means switching to another machine when one of the machine fails.
Fail over is a important technique in achieving high availability. Typically a load balancer is
configured to fail over to another machine when the main machie fails. |