0% found this document useful (0 votes)
9 views3 pages

Monday Assignment

computer systems'

Uploaded by

BlessedMusariri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

Monday Assignment

computer systems'

Uploaded by

BlessedMusariri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1.

The key performance metrics to monitor for a web server hosting a high-traffic
website
i. CPU Usage – Measuring the percentage of CPU capacity being used
ii. Memory Usage: Tracks the amount of RAM being used. Insufficient memory
can lead to slow performance or crashes
iii. Response Time: The time it takes for the server to respond to a request. Lower
response times are better for user experience
iv. Network Throughput: Measures the amount of data being transferred over the
network. High throughput indicates good performance, but it can also signal
potential network congestion1

2. Identify the root cause of a sudden increase in CPU utilization on a database server

i. Check Running Processes - Using tools like Task Manager Helps to


ascertain which processes are consuming the most CPU.
ii. Analyse Database Queries - Use database-specific tools like MySQL and
SQL Server to analyse the performance of running queries. Look for long-
running or resource-intensive queries.
iii. Review Logs - Check the database and server logs for any errors or
warnings that might indicate issues.
iv. Check for Missing Indexes: Missing indexes can cause table scans, which
are CPU-intensive. Use the database’s indexing tools to identify and create
missing indexe

3. steps would you take to troubleshoot and resolve frequent network connection drops
between two remote office locations
i. Check Physical Connections - Ensure all cables, routers, and switches are
securely connected and not damaged
ii. Monitor Network Performance - Use network monitoring tools to track
performance and identify patterns or specific times when drops occur
iii. Test Network Speed and Latency - Use tools like ping tests and speed tests to
measure network speed and latency. High latency or low speeds can indicate
issues
iv. Update Firmware and Drivers - Ensure that all network devices have the latest
firmware and drivers installed1

4. Optimize the performance of a custom business application that is experiencing slow


response times and high memory usage

i. Identify the Bottleneck through :


Use of performance monitoring tools to analyse the application's performance
metrics, such as CPU usage, memory usage, disk I/O, and network activity.
Determine if the slow response times are due to high CPU utilization, memory
leaks, inefficient database queries, or other factors.
ii. Optimize Code:
Review the application's codebase to identify any inefficiencies, such as
redundant code, inefficient algorithms, or excessive memory usage.
Refactor the code to optimize performance, improve memory management,
and reduce resource consumption.

iii. Memory Management:


Identify and address memory leaks by analysing memory usage patterns and
fixing any code issues that lead to excessive memory consumption.
Implement memory management best practices, such as releasing unused
memory objects and optimizing data structures
iv. Performance Testing:
Conduct performance testing to measure the impact of optimizations and
ensure that the application's response times have improved.
Use load testing tools to simulate high user traffic and identify any
performance bottlenecks under heavy load.

5. Tools or methods would you use to monitor the storage utilization and disk I/O
performance of a file server serving a large number of users

I. Performance Monitoring Tools:


Utilize tools like Windows Performance Monitor or Linux system monitoring
tools (such as iostat, sar) to track disk I/O metrics, including read/write speeds,
IOPS (Input/output Operations Per Second), and disk latency.
Monitor storage utilization metrics, such as disk space usage, file system
capacity, and file growth trends.
II. Resource Monitoring Software:
Implement monitoring software like Nagios, Zabbix, or PRTG to track storage
utilization and disk I/O performance in real-time and set up alerts for any
threshold breaches.
III. Disk Usage Reports:
Generate disk usage reports regularly to identify trends and patterns in storage
utilization, such as rapidly growing folders or files consuming excessive disk
space.
IV. File Server Performance Analysis:
Analyse the performance of the file server using tools like Microsoft
Performance Monitor (Windows) or SAR (Linux) to identify bottlenecks, high
disk I/O operations, and potential performance issues.

You might also like