hngprojects / hng_boilerplate_csharp_web

https://api-csharp.boilerplate.hng.tech
Apache License 2.0
79 stars 42 forks source link

feat: Refactor email service to use Redis channels #349

Closed Ace2489 closed 3 weeks ago

Ace2489 commented 3 weeks ago

Description

This pull request integrates Redis into the infrastructure and enhances the email service by adding a message queue handler. The changes support the efficient processing of emails through a pub/sub pattern. Closes hng_boilerplate_nextjs#1486 hng_boilerplate_nextjs#1489 hng_boilerplate_nextjs#1492 hng_boilerplate_nextjs#1493 hng_boilerplate_nextjs#1495 hng_boilerplate_nextjs#1499 hng_boilerplate_nextjs#1501 hng_boilerplate_nextjs#1502

Changes proposed

What were you told to do?

Integrate Redis for message queue handling and update the email service to process messages asynchronously. This was done to reduce the overhead caused by trips to the database.

What did you do?

Check List (Check all the applicable boxes)

Screenshots/Videos

N/A