-
Notifications
You must be signed in to change notification settings - Fork 66
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
[Azure websubhub] Analyze performace test results for content-publishing #4508
Comments
Analyzed the performance test results for the given parameters mentioned in the "Round 2 - After correlation log fix" sheet. The settings used were as follows:
For the concurrency configurations of 1, 20, and 50, there were no instances of HTTP 502 or HTTP 503 responses. However, a few (less than 10) request timeouts were observed. These timeouts could be attributed to the low timeout value (300ms) set in the Asgardeo publisher client. To resolve these timeouts, it is recommended to update the timeout configuration in the Asgardeo publisher client to the previously agreed value of 5 seconds. On the other hand, when using the concurrency configurations of 100 and 200, a significant number of HTTP 502 and HTTP 503 responses were observed, along with a quite a few request timeouts. The occurrence of these HTTP 502 and HTTP 503 responses can be attributed to the resource limitations in the |
Asgardeo team has conducted round-3 performance tests [1] with the suggested changes. In the mean-time relevant resource limits were updated in the
[1] - https://docs.google.com/spreadsheets/d/1DV2-bXqFff-UPR76sS3pLpEeohRVtAdPlmpwpEJ1EbA/edit?usp=sharing |
Conducted a load-test on the Ballerina Azure service bus connector using following sample-code: import ballerinax/asb;
import ballerina/os;
import ballerina/http;
final string CONNECTION_STRING = os:getEnv("CONNECTION_STRING");
configurable string TOPIC_NAME = ?;
service / on new http:Listener(9090) {
private final asb:MessageSender producer;
function init() returns error? {
self.producer = check new ({
entityType: asb:TOPIC,
topicOrQueueName: TOPIC_NAME,
connectionString: CONNECTION_STRING
});
}
resource function post test(@http:Payload json payload) returns http:Ok|error? {
check self.producer->send({
body: payload.toJsonString().toBytes(),
contentType: asb:JSON
});
return {};
}
} Resource constraints:
For the load-test we configured a request-timeout of 5 seconds (which is the current configuration for Asgardeo publisher). Following are the results:
As per the results there is <1% error rate for all the concurrency settings and all the failed-requests are due to the time-outs. |
Description:
Asgardeo perf test results can be hound here [1]
[1] - https://docs.google.com/spreadsheets/d/1DV2-bXqFff-UPR76sS3pLpEeohRVtAdPlmpwpEJ1EbA/edit?usp=sharing
The text was updated successfully, but these errors were encountered: