Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Significant latency increases when using betterproto 2.0.0b7 compared to 2.0.0b6

Đang mở
#629 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
20/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
grpc, python
Lĩnh vực
api, backend

Hướng nghiên cứu

Tái hiện sự khác biệt về độ trễ trong dự án envoy_data_plane được liên kết, bằng cách so sánh betterproto 2.0.0b6 và 2.0.0b7 trên Python 3.12.4. Profile đường dẫn request bị ảnh hưởng và xác định regression; được xem là hoàn tất khi có một giải thích tập trung và bản sửa regression kèm theo test hoặc benchmark cho thấy độ trễ đã trở về baseline.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

investigation needed
Summary

Latency increases when using the newest version 2.0.0b7

Reproduction Steps

This happened in a library we were using: https://github.com/cetanu/envoy_data_plane When we upgraded to betterproto 2.0.0b7 we saw a significant spike in the latency of our project. When we pinned the version to 2.0.0b6, the latency returned to normal. Do you have any ideas what might cause this issue?

Expected Results

No latency changes

Actual Results

Latency spiked causing increased timeouts within our project

System Information

protoc --version; python --version; pip show betterproto
/bin/sh: 1: protoc: not found
Python 3.12.4
Name: betterproto
Version: 2.0.0b6
Summary: A better Protobuf / gRPC generator & library
Home-page: https://github.com/danielgtaylor/python-betterproto
Author: Daniel G. Taylor
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.12/site-packages
Requires: grpclib, python-dateutil
Required-by: envoy_data_plane

Checklist
  • I have searched the issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have verified this issue occurs on the latest prelease of betterproto which can be installed using pip install -U --pre betterproto, if possible.
Ngôn ngữ chính
Python
Star
1.8k
Fork
235
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của danielgtaylor/python-betterproto

Tất cả issue của danielgtaylor/python-betterproto

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.