可以替代弹性搜索+组合使用DynamoDB?
我是DynamoDB的新手,我正在寻找建议 /建议。在用例中,我们有一个分页的API,我们必须搜索索引属性的多个值。由于DynamoDB仅允许在单个查询中搜索一个值以获取索引属性,因此应进行批次调用。但是,由于它需要分页(批次调用会使分页变得复杂),因此,当前,所需的ID是从elasticsearch获取这些多个值的(以分页的方式)的,之后,根据从DynamoDB中获取了完整的文档,从Elasticsearch。这是正确的方法还是有更好的选择?
I am new to DynamoDB and I am looking for suggestions / recommendations. There's a use case where we have a paginated API and we have to search for multiple values of an indexed attribute. Since DynamoDB allows only one value to be searched for an indexed attribute in a single query, a batch call should be done. However, since it requires pagination (batch call would make the pagination complicated), therefore currently, the required IDs are fetched from ElasticSearch for those multiple values (in a paginated way) after which the complete documents are fetched from DynamoDB based on IDs obtained from ElasticSearch. Is this the correct approach or is there any better alternative?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论