01
Stage 1. User Access & Authentication
Process
The user accesses the Cloud-Native Microservices Application and provides authentication details to log in.
Tools
FastAPI
PostgreSQL
Implementation
The authentication service validates the user's credentials and retrieves the required user information from PostgreSQL.
02
Stage 2. API Request
Process
After authentication, the user performs an operation such as viewing information, submitting a request, or updating application data.
Tools
FastAPI
Implementation
The API receives the user request, validates the request parameters, and forwards it to the appropriate microservice.
03
Stage 3. Microservice Processing
Process
The required microservice processes the user's request and performs the required application operation.
Tools
FastAPI
Docker
Implementation
The microservice executes the required business logic and communicates with other microservices when additional processing is required.
04
Stage 4. Data Access & Processing
Process
The microservice reads or updates the required application data.
Tools
PostgreSQL
Implementation
The service retrieves, creates, or updates application records in PostgreSQL and returns the processed information to the requesting service.
05
Stage 5. Service Response
Process
The processed result is returned to the user.
Tools
FastAPI
Python
Implementation
The microservice sends the processed response through the API layer, and the application displays the result to the user.
06
Stage 6. Application Logging
Process
Application activities and service events are recorded while the application is running.
Tools
Docker
Implementation
Each microservice generates logs containing request information, service activity, errors, timestamps, and processing status.
07
Stage 7. Application Monitoring
Process
The operations team monitors application health and service performance.
Tools
Prometheus
Grafana
Implementation
Application and service metrics are collected by Prometheus and displayed through Grafana dashboards to identify errors, high response times, and service issues.