You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/03/22 19:13:20 UTC

[GitHub] [netbeans] lbruun commented on pull request #2826: [NETBEANS-5478]: DownloadBinaries task: 5 secs connect time is not enough

lbruun commented on pull request #2826:
URL: https://github.com/apache/netbeans/pull/2826#issuecomment-804326243


   > I'm mildly surprised, that in the current cloud world a connect time of 5s is not enough,
   
   Me too. However Cloud PaaS platforms (I suspect that GitHub Actions use some Azure PaaS wodoo) are known to use _serverless_ as part of their infra, for example an outbound FW may be based on Azure Functions and thus have a cold start penalty. Now, to make matters worse, this infra may be shared between ephemeral environments, so one run may experience the problem while another doesn't. It will seem random. Just speculation, though. 
   
   For me the problem has escalated over the past 1-2 months, before that it was a very, very rare occurrence. So something may have change on the GitHub side. There are quite a few people reporting something similar in the GitHub issue tracker. 
   
   It is also worth mentioning why the existing NetBeans GitHub Actions jobs do not - to my knowledge - experience a problem in this respect: they use the GitHub Actions **cache** component. As long as this cache has been build successfully once, no downloads will be attempted by the Ant script (the `DownloadBinaries` task will see the artifact is already there on disk). The cache will be re-used forever, it is used at least every 7 days and will therefore never fall victim to GitHub's delete strategy. There's no problem per-se that the build jobs use this cache, as long as external artifact versions are immutable. But pray we do not have to re-build it.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists