I wrote a Visual Basic .NET application in Visual Studio to parse MS Powerpoint and Word Files, transform slides to jpgs and to store the content in ElasticSearch. I want to ensure that when parsing a shared network drive that neither the server or my client dramatically slow down. How can I monitor the execution and adapt the processing accordingly? Any basic techniques to get me started?
1
There are 1 answers
Related Questions in .NET
- file download method in visual studio 2017
- Repository manager receives the wrong connection string in .net core
- MongoDb not connecting C#
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Why Scanning GSI on DynamoDb doesnt work as fast as expected when using CONTAINS?
- Are "blittable types" really unmanaged types for StructLayout Sequential
- Failed to fetch dynamically imported module on Blazor JS Interop
- Problem to upload several images per one request
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Stripe connect payout - throws exceptions
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Convert C# DateTime.Ticks to Bigquery DateTime Format
- Socket.io nodejs server .NET connection
- Producer Batching Service Bus Vs Kafka
Related Questions in PERFORMANCE
- Upsert huge amount of data by EFCore.BulkExtensions
- How can I resolve this error and work smoothly in deep learning?
- Efficiently processing many small elements of a collection concurrently in Java
- Theme Preloader for speed optimization in WordPress
- I need help to understand the time wich my simple ''hello world'' is taking to execute
- Non-blocking state update
- Do conditional checks cause bottlenecks in Javascript?
- Performance of sketch drastically decreases outside of the P5 Web Editor
- sample query for review for improvement on big query
- Is there an indexing strategy in Postgres which will operate effectively for JOINs with ORs
- Performance difference between two JavaScript code snippets for comparing arrays of strings
- C++ : Is there an objective universal way to compare the speed of iterative algorithms?
- How to configure api http request with load testing
- the difference in terms of performance two types of update in opensearch
- Sveltekit : really long to send the first page and intense CPU computation
Related Questions in ITERATION
- Setting the counter (j) for (inner for loop)
- How would I apply a rather complex summation formula like this in Excel?
- Going back to an earlier index in list iteration
- Iteratively output (print to screen) pyspark dataframes via .toPandas()
- Find all array keys which includes 'id' as prefix and rename them as just 'id'
- Why next(iter(train_dataloader)) takes long execution time in PyTorch
- Python: best way to iterate through lists and store which has max value for each index
- iterate through a csv file using numpy
- Can I add a logic constraint (<,>) to an ipfp argument? („mipfp“)
- Optimizing an array / matrix (assigning reviewers to proposals)
- Repeating an iterating function N times
- Python - Iterating through nested dictionaries to populate a list based on values - Encounter 'str' object has no attribute 'items'
- Tkinter: Listbox not populating from function call, populates from list
- In python, iteration over specific condition with dataframe row not working
- Java code recursive and iterative methods have different answers
Related Questions in NETWORK-DRIVE
- Exe file missing icons/images on Network Drive
- I want to save a file to a network hard drive from a Docker Compose, running on a Linux MiniPC
- SQL Server Agent Job doesn't work for shared drive
- Automatically connect to network drives after connecting to VPN
- VBA: Reduce time to check if network drive is available
- Neo4j Desktop installation error "App initialization error Error: EISDIR"
- Python watchdog module on a mapped network drive directory and subdirecotry events
- Upload file to mapped network drive from symfony application
- C# StreamWriter with using-block inside a while loop intermittently fails on slow network drive
- How to access network drive for dropping a file during automation run using Jenkins
- Getting semi-sporadic Access Denied using mapped network share over ssh managed jenkins agent
- PermissionError Access denied
- How to disable "Network" in Explorer via registry key?
- Ansible: mapping network drive issues
- Using PowerShell to Run a Script that installs some files from a mapped drive
Related Questions in AVAILABILITY
- calculating availability of node using SysUpTime.0 variable collcted in prometheus and exposing to grafana
- Decimal Places in Availability SLO's
- How to maintain swiftui code for different versions of iOS
- Unable to Create EKS Cluster in us-east-1e Due to Capacity Issue
- Does API availability work differently in switch versus if?
- Show a custom text on WooCommerce variable products when no variation is selected
- Error when trying to create a cluster Availability Test using ARM Template
- Azure - how to check availbility percentage of all apps in resource graph explorer?
- Docker: container exits, but it still looks like running
- Why does MultiSubnetFailover keep trying to connect to the inactive IP?
- How to pick WindowGroup or Window depending on the OS in SwiftUI?
- Is it possible to create custom availability for a period of time in a bookings service using graph api?
- Moodle availability condition plugin
- Azure Application Insights Monitor Availability Test Content Match unable to match multiple lines
- Scaling out MULTIPLE Redis backplanes with SignalR in a .NET framework environment
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
In my answer I assume that the load mainly consists of reading the PowerPoint and Word files. So enumerating directories, generating the JPGs and writing the result isn't an issue. If not, the approach can be extended.
A simple approach would be:
Figure out how much IO load you want to generate at most, e.g. at most 5 MB/s. This is your read rate you do not want to exceed.
Retrieve the time before you start processing a file.
Retrieve the file size.
After processing a file, take the time again and calculate the duration.
When processing a file, you'll probably going over your read rate. So after processing a file, calculate how long you have to wait to fall under the read rate again and then wait. The calculation is basically
Use matching units such as seconds for wait_time and duration, bytes for file_size and bytes per second for the read_rate.
If the wait_time is negative, skip the waiting.