DostEducation / whatsapp-webhook-analytics

Handling and processing of Incoming webhook request configured at Glific.
GNU Affero General Public License v3.0
0 stars 0 forks source link

[POC] Application scaffolding #3

Closed Satendra-SR closed 2 weeks ago

Satendra-SR commented 1 year ago

Is your feature request related to a problem? Please describe.

Pre-requisite Info

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Acceptance Criteria

Documentation

Sachinbisht27 commented 1 month ago

We are exploring some new frameworks on Python for the Glific webhook handling/processing service.

Here's a summary of the overall understanding for now on FastAPI :

  1. Performance and Scalability: FastAPI's asynchronous support and performance optimizations make it highly suitable for handling multiple concurrent requests efficiently. This translates to better scalability and responsiveness, crucial for our microservices architecture and cloud environment.

  2. Type Safety and Validation: FastAPI's use of Python type hints for automatic data validation and serialization enhances type safety and reduces the risk of runtime errors, improving the overall reliability of our codebase.

  3. Built-in Features: FastAPI comes with a rich set of built-in features such as dependency injection, request validation, background tasks, and WebSocket integration. These features streamline development and maintenance efforts, leading to faster delivery of robust APIs.

  4. Community Support and Ecosystem: While FastAPI is relatively newer compared to Flask, it has been gaining rapid adoption and has a growing community contributing to its ecosystem. This ensures continued support, updates, and a wide range of resources for our development needs.

Action Items:

Sachinbisht27 commented 2 weeks ago

Closing as completed.