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 41.2.0 to 44.0.0 for some services (fixed in v45.0.0) #306

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

Comments

@ZiyaoQiao
Copy link
Member

ZiyaoQiao commented Jul 8, 2021

In versions v41.2.0 to v44.0.0, you may encounter performance regressions when using the SDK with some OCI services. This performance regression has been fixed in versions 45.0.0 and later.

The regression surfaces itself as a 3 seconds 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 Email Delivery, Health Checks, NoSQL Database Cloud, Registry, Generic Artifacts, and Web Application Acceleration and Security services as well. 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 service.

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

  • Recommended: Disable support for the SDK's Expect 100-Continue feature by setting environment variable export OCI_GOSDK_USING_EXPECT_HEADER=FALSE
  • Or, use SDK version v41.1.0 or earlier
  • Or, use the SDK's raw request signer to make requests to OCI services for any requests where you are experiencing performance degradation. An example of how to use the raw request signer is here Raw Request Signer Example

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

@ZiyaoQiao ZiyaoQiao pinned this issue Jul 8, 2021
@pelliu pelliu added the SDK Issue pertains to the SDK itself and not specific to any service label Jul 9, 2021
@ZiyaoQiao
Copy link
Member Author

ZiyaoQiao commented Jul 20, 2021

In version v45.0.0 and later, the performance regression has been fixed.

@jodoglevy jodoglevy changed the title Performance regression in the Go SDK Performance regression in versions 41.2.0 to 44.0.0 for some services (fixed in v45.0.0) Jul 21, 2021
@ZiyaoQiao ZiyaoQiao unpinned this issue Mar 14, 2022
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