繁体   English   中英

为什么 Python GCP 测试结果慢

[英]Why Python is slow in GCP testing results

我正在阅读 GCP 的一篇文章,它显示 Python 是最慢的。

https://cloud.google.com/blog/products/data-analytics/testing-cloud-pubsub-clients-to-maximize-streaming-performance

这种行为是否有任何理由。 或者这在所有用例中都很常见。

我认为您在上一部分分享的文章中对此进行了部分解释。

"There are language limitations on pursuing a shared memory threading model, so you should scale purely horizontally to more machines if that is feasible in order to reach maximum throughput while using Python or Node.js. It can be hard to get single client instances to scale beyond一个核心。”

但是,这种性能仅适用于使用 Pub/Sub 时。 我认为语言的性能在其他任务中有所延迟。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM