CodeForAfrica / CodeForAfrica/HealthTools.API

Use RabbitMQ for query processing

未关闭
#34 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted
主要语言
Python
星标
19
派生
20
PR 合并指标
30 天内没有已合并 PR

描述

When a service we are depending on such as Elasticsearch fails, we will lose the queries (particularly via SMS that are costly) and will be unable to respond to the user.

Using RabbitMQ will allow storing the message in a queue and track the job until it is finished successfully on a number of retries or manually if intervention is needed.

贡献指南

打开贡献指南

调研方向

该 issue 没有指明文件、测试或入口点。首先跟踪查询处理流程以及依赖 Elasticsearch 的 service,然后确定消息可以在哪里持久化和跟踪。完成的标准是:失败的查询会被保留、重试,并且能够被识别,直到成功完成或需要人工干预。

由索引模型根据 Issue 内容生成。

评估

技术栈
elasticsearch, python, rabbitmq
领域
api, backend, distributed-systems
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。