Functional Interface is interface which contain single abstract method - (SAM)
Functional Interface is used to invoke or call lambda expression
Functional Interface is type of Lambda expression
You can take any no of defualt or static method in functional interface, restriction only applicable for abstract method
Ex : Below are the examples
Runnable (Interface) - contains only - run() method
Callable (Interface) - contains only - call() method
Comparable - contains only - compareTo() mehtod
Program1 : Invoking Lambda expression by using Functional Interface
Program 2 - WAP add two number wihtout lambda expression and with lambda expression
Program 3 - Multithreading Example wihtout & WithLambda Expression
We will discuss about Microservice different challenges while building microservices
We will start problem no 1 : Bound context, 2. Configuration Management, 3. Dynamic Scale UP and Dynamic scale Down, 4. Visibility, 5. Pack of Cards
Ullam qui culpa officiis quo accusamus et numquam. Non dolor exercitationem expedita et rerum. In corporis delectus et magnam rerum. Et maxime natus sed aut temporibus dolor qui.
what do I mean earlier we have seen in Instead of building one big monolithic applicaiton, we have built 5 small microserices 10 or 20 or 1000 , how do you Identify the boundry of each microservices
How do you Identify what to do each of microservices
How would you decide what you should do each of microservices you should not do
For New Application its much more difficult , probably you don't have business knowledge to stablish right boundry between these microsercices
Deciding boundary of microservices is evaluation process , Its something get you right at first time which you need to play around it.
Try and fallow domain driven design, try to find right boundary for microservices based on knowledge with that in point of time.
As Important thing to keep, as keep gaining knowledge you should keep back knowledge to microservices into deciding what is right boundaries for these microservice
Challenge is configuration management lets look in details.