You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# Project - SimActivation
2
2
This project is a cloud native application. Backend is built using spring boot . This project implements feature such as circuit breaker pattern for fault tolerance , client side load balancing, Eureka service registry and service discovery.
3
3
4
+
#TECH USED
5
+
4
6
5
7
## Feign Client
6
8
The Feign client automatically integrates with Load balancing APIs and Circuit Breaker APIs to provide load balancing and fallback mechanism.
@@ -13,15 +15,15 @@ Few drawbacks with RestTemplate are :
13
15
14
16
The header details of a request from Zuul (Gateway API) are not forwarded to the other microservices using RestTemplate
15
17
16
-
# Eureka Service Discovery
18
+
##Eureka Service Discovery
17
19
A service registers itself with a central server called the Service Registry. Now, once it registers itself with the Service Registry, two things happen:
18
20
19
21
1) Its details like name, port, host, etc. are stored in the Service Registry
20
22
2) A list of other registered services become available to it
21
23
22
24
23
25
24
-
# Circuit Breaker
26
+
##Circuit Breaker
25
27
Hystrix allows you to mention any alternate piece of code that you wish to run if a service is down. Obviously you don’t get the same result as you wish you had. But, providing some form of data instead of an error is better.
26
28
27
29
Thus Hystrix allows you to degrade gracefully. The user continues to have access to the application, but some of the features will be unavailable temporarily. Compared to FailFast this is the FailSilent pattern.
@@ -32,7 +34,7 @@ Fallback executes when:
32
34
2) A timeout occurs
33
35
3) Circuit opens
34
36
35
-
# Zuul Gateway
37
+
##Zuul Gateway
36
38
The API gateway performs complex tasks including:
37
39
38
40
1) Intelligent routing: When a request comes from the client, it intelligently routes it to the appropriate services
@@ -42,7 +44,7 @@ The API gateway performs complex tasks including:
42
44
5) Security
43
45
6) Load balancing
44
46
45
-
# Client Side LoadBalancing(Netflix Ribbon)
47
+
##Client Side LoadBalancing(Netflix Ribbon)
46
48
Two types of load balacing are:-
47
49
48
50
1) Server side Load balancing: Customer would simply send the request to the load balancer and it is the responsibility of the load balancer to decide to whom it should forward the request.
0 commit comments