You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "korlov42 (via GitHub)" <gi...@apache.org> on 2023/11/20 14:25:03 UTC
[PR] Sql. Avoid using blocking api in sql threads [ignite-3]
korlov42 opened a new pull request, #2854:
URL: https://github.com/apache/ignite-3/pull/2854
This patch con
---------
Thank you for submitting the pull request.
To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:
### The Review Checklist
- [ ] **Formal criteria:** TC status, codestyle, mandatory documentation. Also make sure to complete the following:
\- There is a single JIRA ticket related to the pull request.
\- The web-link to the pull request is attached to the JIRA ticket.
\- The JIRA ticket has the Patch Available state.
\- The description of the JIRA ticket explains WHAT was made, WHY and HOW.
\- The pull request title is treated as the final commit message. The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
- [ ] **Design:** new code conforms with the design principles of the components it is added to.
- [ ] **Patch quality:** patch cannot be split into smaller pieces, its size must be reasonable.
- [ ] **Code quality:** code is clean and readable, necessary developer documentation is added if needed.
- [ ] **Tests code quality:** test set covers positive/negative scenarios, happy/edge cases. Tests are effective in terms of execution time and resources.
### Notes
- [Apache Ignite Coding Guidelines](https://cwiki.apache.org/confluence/display/IGNITE/Java+Code+Style+Guide)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-20887 Sql. Avoid using blocking api in sql threads [ignite-3]
Posted by "xtern (via GitHub)" <gi...@apache.org>.
xtern commented on PR #2854:
URL: https://github.com/apache/ignite-3/pull/2854#issuecomment-1822523417
It would be nice to see the benchmark results before/after the patch in PR description.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-20887 Sql. Avoid using blocking api in sql threads [ignite-3]
Posted by "korlov42 (via GitHub)" <gi...@apache.org>.
korlov42 commented on PR #2854:
URL: https://github.com/apache/ignite-3/pull/2854#issuecomment-1822676598
I run benchmark with `partitionCount=1`, `clusterSize=1`, `fsync=false`, and here are numbers:
Before
| Benchmark | Mode | Cnt | Score | Error | Units |
|---------------------------|-------|-----|-------|--------|--------|
| InsertBenchmark.sqlInsert | avgt | 60 | 0.552 | ± 0.014 | ms/op |
After
| Benchmark | Mode | Cnt | Score | Error | Units |
|---------------------------|-------|-----|-------|--------|--------|
| InsertBenchmark.sqlInsert | avgt | 60 | 0.527 | ± 0.008 | ms/op |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-20887 Sql. Avoid using blocking api in sql threads [ignite-3]
Posted by "zstan (via GitHub)" <gi...@apache.org>.
zstan commented on PR #2854:
URL: https://github.com/apache/ignite-3/pull/2854#issuecomment-1822945917
my measurements, seems become faster :
ignite-20887
InsertBenchmark.sqlInsert 1 false 1 avgt 10 0.567 ± 0.162 ms/op
InsertBenchmark.sqlInsert 1 true 1 avgt 10 3.385 ± 1.591 ms/op
main
Benchmark (clusterSize) (fsync) (partitionCount) Mode Cnt Score Error Units
InsertBenchmark.sqlInsert 1 false 1 avgt 10 0.883 ± 0.090 ms/op
InsertBenchmark.sqlInsert 1 true 1 avgt 10 3.273 ± 1.588 ms/op
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-20887 Sql. Avoid using blocking api in sql threads [ignite-3]
Posted by "korlov42 (via GitHub)" <gi...@apache.org>.
korlov42 merged PR #2854:
URL: https://github.com/apache/ignite-3/pull/2854
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org