Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

作者你好,我来提一个需求:是否可以考虑使用aiobotocore来做比boto3更好的异步调用 #51

Open
GxWwT opened this issue Sep 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@GxWwT
Copy link

GxWwT commented Sep 13, 2024

其实我Bedrock Knowledge Base在使用aiobotocore;大模型用的是boto3。
我没有仔细研究过aiobotocore,看看作者有没有更深的理解。

aiobotocore与boto3的主要区别如下:
异步vs同步
aiobotocore: 异步库,基于asyncio
boto3: 同步库
使用场景
aiobotocore: 适用于异步编程,可以更好地处理I/O密集型任务
boto3: 适用于同步编程,更简单直观
性能
aiobotocore: 在处理多个并发请求时通常性能更好
boto3: 单线程下性能可能较低
API兼容性
aiobotocore: 与boto3 API大体兼容,但有一些差异
boto3: AWS官方推荐的Python SDK
维护与更新
aiobotocore: 社区维护,更新可能略滞后于boto3
boto3: 由AWS官方维护,更新更频繁

@GxWwT GxWwT added the enhancement New feature or request label Sep 13, 2024
@QingyeSC
Copy link

支持!很需要这个

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants