Conversation
463be27 to
c49c8f2
Compare
c49c8f2 to
1c0cdda
Compare
9d39fa0 to
eba161e
Compare
bdb3ef6 to
e165661
Compare
src/IO/WriteBufferFromS3.cpp
Outdated
There was a problem hiding this comment.
Those threads will not be accounted for the query, like here #14150 (comment)
e165661 to
b724bab
Compare
c5dc0b4 to
84604f8
Compare
|
@Akazz can you advise what's wrong with linker which doesn't know where's |
|
Note that For a bigger picture I guess we'll have to look at how such thread management is done elsewhere in the code. |
|
Due to some dependencies in the code it looks like it is better to simply ignore extra thread usage for the s3 writes (and fix this separately) @Akazz what do you think? |
src/IO/WriteBufferFromS3.h
Outdated
There was a problem hiding this comment.
No need for this include, forward-declaration should suffice here
There was a problem hiding this comment.
Unfortunately it is more complicated than it seems.
84604f8 to
8d4d278
Compare
8d4d278 to
08cca3e
Compare
08cca3e to
f71cec4
Compare
|
Why this pr stucked, we need it now :) @excitoon @azat @Akazz @alexey-milovidov |
2b8a490 to
ccdb476
Compare
|
@Akazz can you please advise how to resolve dependency loop when I need to access thread pools from IO? |
0e3217a to
5348c74
Compare
324b748 to
edba12f
Compare
edba12f to
deab390
Compare
deab390 to
baf4bc5
Compare
src/IO/WriteBufferFromS3.cpp
Outdated
There was a problem hiding this comment.
Is client_ptr really threadsafe?
src/IO/WriteBufferFromS3.h
Outdated
There was a problem hiding this comment.
You don't really need this interface.
There was a problem hiding this comment.
It was needed to resolve dependency cycle, in 7531e55703c1b1b88de69ec9cf1f3c50e701d49c .
I can't show you significant performance boost because it is about 2-3% and experiment would require a constant TCP retransmission rate in order to reliably prove it. I shall add retries to |
baf4bc5 to
64d7577
Compare
|
Turned out S3 client makes retries automatically, even without 64d7577875c61993e82c01c43a83ac96dd2ba724 . |
|
I have no idea why I don't get good performance boost, possibly there is some bottleneck before |
|
Also, I would check it in Yandex.Cloud :) |
|
Also we talked a bit with @KochetovNicolai, and decided this feature is better to be implemented through Processors (e.g parallelized with pipeline). So, you can create multiple sources or whatever. |
|
@nikitamikhaylov Are you sure you were not talking about partitioned writes? Actually they fit processors in much more natural way. |
|
@nikitamikhaylov This PR is accomplishable through processors as well. |
|
@excitoon Let's revive this PR. |
|
Okay!
…On Mon, Oct 25, 2021, 10:02 AM alexey-milovidov ***@***.***> wrote:
@excitoon <https://github.com/excitoon> Let's revive this PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16503 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGSB5GEMR6JOBHKMLQF6DUIT6HXANCNFSM4TDKFGVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
9615d40 to
21fdfa5
Compare
|
I was asked to rewrite multi-threaded code on processors here. |
21fdfa5 to
996423e
Compare
d9eb6ee to
5dbb07e
Compare
|
@excitoon Please resolve conflicts. |
|
Continued in #33291. |

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Parallel S3 multipart writes.