Skip to content

Speed up Get_RemoteCheckSum #58

@chrrobi-sagard

Description

@chrrobi-sagard

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

When running Get-RemoteChecksum in the au_beforeupdate() function on a large file, the process takes a long time. In benchmarks undertaken by external pers, it is suggested that using NET's webclient vs Invoke-WebRequest is significantly faster for downloading. For example, for a 150mb file it takes minutes with Invoke_WebRequest vs seconds with the webclient.

Describe The Solution. Why is it needed?

I would suggest we replace the Invoke-WebRequest call with the .NET webclient call to significantly speed up downloads. This should speed up the checksumming process as part of au_beforeupdate(). This could also be added to other locations which download files if required.

Additional Context

No response

Related Issues

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions