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

Performance regression in versions 2.38.4 to 2.42.0 for some services (fixed in version 2.43.0) #367

Open
bhagwatvyas opened this issue Jul 8, 2021 · 1 comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service

Comments

@bhagwatvyas
Copy link
Member

bhagwatvyas commented Jul 8, 2021

In OCI Python SDK versions 2.38.4 to 2.42.0, you may encounter performance regressions when using the SDK with some OCI services. This issue has been fixed in version 2.43.0.

The regression surfaces itself as a 3-second increase in latency in SDK operations made to some OCI services. This issue has been confirmed to impact the OCI Streaming service, and likely impacts the following services:

  • Email Delivery
  • Health Checks
  • NoSQL Database Cloud
  • Registry
  • Generic Artifacts
  • Web Application Acceleration and Security

This list is not comprehensive – it is possible you may encounter the issue against other OCI services as well. The issue has been confirmed to NOT affect the OCI Object Storage and Functions services.

If you are experiencing this issue there are some workarounds you can do:

  • Recommended: Disable support for the OCI Python SDK's Expect: 100-Continue feature by adding the following environment variable OCI_PYSDK_USING_EXPECT_HEADER toFALSE. For example, in Bash, export OCI_PYSDK_USING_EXPECT_HEADER=FALSE
  • Or, use OCI Python SDK version 2.38.3 or earlier
  • Or, use the OCI Python SDK's raw request signer to make requests to OCI services for any requests where you are experiencing performance degradation. An example on how to use the raw request signer is here

If you have any questions, please feel free to comment on this GitHub issue and we will be happy to help.

@bhagwatvyas bhagwatvyas pinned this issue Jul 8, 2021
@jodoglevy jodoglevy added the SDK Issue pertains to the SDK itself and not specific to any service label Jul 12, 2021
@jodoglevy jodoglevy changed the title Performance regression in the Python SDK Performance regression in versions 2.38.4 to 2.42.0 for some services (fixed in version 2.43.0) Jul 21, 2021
@jodoglevy
Copy link
Member

This issue has been fixed in version 2.43.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service
Projects
None yet
Development

No branches or pull requests

2 participants