Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.64 KB

File metadata and controls

40 lines (24 loc) · 1.64 KB

Key Features

Microservice Architecture:

  • Two Main Microservices:
    • Quiz: Manages quiz operations (creation, modification, retrieval, etc.).
    • Question: Handles question-related actions (adding, editing, fetching, etc.).
  • Independent Deployment: Each microservice is individually deployable and scalable, promoting agility and resilience.
  • Interconnected Communication: Services interact seamlessly via Open Feign for robust message exchange.

Service Discovery and Registry:

  • Eureka Client and Server:
    • Microservices register themselves with a central Eureka server.
    • Clients locate other services dynamically, simplifying service discovery.
  • Flexible and Dynamic: Eureka ensures microservices can find each other even if their locations change.

API Gateway:

  • Spring Cloud Gateway:
    • Acts as a single entry point for client requests.
    • Routes requests to appropriate microservices based on paths or other criteria.
    • Enhanced Security: Implements security and access control mechanisms to protect your services.
  • Streamlined Client Interaction: Clients only need to interact with the gateway, simplifying communication and reducing complexity.

Overall Architecture

image

Eureka Server and Client Architecture

image

Api Gateway in action

image