[ 
https://issues.apache.org/jira/browse/BEAM-13181?focusedWorklogId=677135&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-677135
 ]

ASF GitHub Bot logged work on BEAM-13181:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Nov/21 18:24
            Start Date: 05/Nov/21 18:24
    Worklog Time Spent: 10m 
      Work Description: msbukal commented on pull request #15873:
URL: https://github.com/apache/beam/pull/15873#issuecomment-962118962


   I ran some performance tests with an import of 68 million resources.
   
   With sharding, aka before this PR:
   
   | Elapsed Time | # Import Operations | Resources Imported | Results |
   | ------------- | -------------------- | -------------------- | ------- |
   | 1h33 | 3 | 9,803,961 |  FAILED due to java.lang.IllegalStateException: Not 
all temporary files are present for importing |
   | 2h6 | 3 | 34,706,066 | FAILED due to java.lang.IllegalStateException: Not 
all temporary files are present for importing |
   | 2h37 | 16 | 67,480,522 | Finally got a successful run, only used 1 worker. 
|
   
   Without sharding, aka after this PR:
   
   | Elapsed Time | # Import Operations | Resources Imported | Results |
   | ------------- | -------------------- | -------------------- | ------- |
   | 1h30 | 12 | 67,480,522 | Scaled to ~6 workers. |
   | 2h17 | 4 | 67,480,522 | Force limited to 1 worker |
   
   Overall, without pre-sharding performed better on the two key points: Less 
operations triggered (good to avoid hitting quota), and less elapsed time.. 
additionally didn’t fail as constantly as with sharding which was more 
problematic than I expected.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 677135)
    Time Spent: 40m  (was: 0.5h)

> FhirIO import functionality does unnecessary sharding of import files
> ---------------------------------------------------------------------
>
>                 Key: BEAM-13181
>                 URL: https://issues.apache.org/jira/browse/BEAM-13181
>             Project: Beam
>          Issue Type: Task
>          Components: io-java-healthcare
>            Reporter: Pablo Estrada
>            Priority: P2
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to