Phrases 4
establishing test environments, monitoring 建立測試環境, 監控
Getting started with Docker can feel
overwhelming 不知所措; 痛苦萬分
One key strategy is
to make good use of monitoring. 其中一個關鍵策略就是善用監控
whenever we're faced with an issue, it's usually best to find a quick
workaround. So that those
affected can
get back to work as soon as possible 當我們面臨問題時,通常最好的方法就是找出快速的解決方案。以便受影響的人可以盡快恢復工作
Planning ahead will
prepare you for when you need additional resources, instead of having to scramble for them
at the last minute 提前規劃可讓您在需要額外資源時做好準備,而不是在最後一刻才爭奪資源
help you avoid
getting stuck on a lot of these
situations 幫助您避免陷入許多這樣的情況
Emergencies and
unexpected events will
arise—they always do 緊急情況和意外事件將會發生,而且總是會發生
give them
timely updates 向他們即時更新資訊
instead of g
etting interrupted in the
middle of a task 而不是在工作中途被打斷
It's important to communicate
upfront to the user 事先與使用者溝通很重要
give them an idea of when they can
expect their issue to be fixed so they can plan what to do next 讓他們知道(明白)問題何時可以解決,以便他們計劃下一步該怎麼做
make sure you tell the user that you're dealing with
a crisis and that you'll help with their
request once the crisis is resolved 請務必告訴使用者您正在處理危機,一旦危機解決,您會協助處理他們的請求
fixing the database is critical and affects the
whole company, so it
should take priority 應該優先處裡
a user calls you to
request access to a shared resource, but you're
in the middle of
dealing with an issue that's
causing the company's database
to be offline 一位使用者 Call 你要求存取共用資源, 但您正在處理導致公司資料庫離線的問題
you have to replace a keyboard but you
have no spares available 沒有可用備品
it's important to understand these
implicit expectations and let users know if
fixing the problem will
take longer than they expect 了解這些隱性的期望很重要,並讓使用者知道解決問題所需的時間是否比他們預期的長
When you're
dealing with an issue that's
affecting one or more users, 當您處理影響一個或多個使用者的問題時
select which task you're going to deal with depending on
urgency 根據緊急程度選擇要處理的任務
make a list of all of the tasks that need to
get done 列出所有需要完成的工作清單
you might need to write
your own script that
gets rid of them 刪除(除去)它們
it might be
easily fixed by
uninstalling applications that aren't used, or
cleaning up old data that isn't needed
anymore.
It's common for the
overall performance of the system
to decrease as the available disk space
gets smaller 當可用磁碟空間變小時,系統整體效能降低是很常見的現象
We saw how
reducing scope and
isolating problems can lead us to
the root cause of programs that are
running slowly or
crushing unexpectedly 縮小範圍和隔離問題
how to
identify what process or application is
taking up all your disk space 佔用
You
hadn't written the software and
didn't have access to the source code. 您沒有寫過軟體,也無法存取原始碼
you were an
IT professional who's
in charge of the
deployment and
maintenance of software in your company 您是一位 IT 專業人士,負責公司內軟體的部署與維護
raise an error; throw(threw) an error 出現錯誤
- another thing that could cause the open function to raise an error
- the interpreter threw one of these errors
- when you can't modify the program that's throwing errors
Logs on both servers
show an
increase in CPU and RAM usage. What may be
the most effective way to resolve this issue with
a complex set of servers? 兩台伺服器上的日誌都顯示 CPU 和 RAM 使用量增加。對於複雜的伺服器群,解決此問題的最有效方法是什麼?
The website is
hosted by two load balancing servers in the cloud
and are connected to an external SQL database. 網站由雲端中的兩台負載平衡伺服器託管,並連接到外部 SQL 資料庫
During
peak hours, users have reported issues connecting to a website. 在高(尖)峰時段,使用者報告在連線到某個網站時發生問題
we can
prepare if
something similar happens in the future 如果將來發生類似的事情,我們可以做好準備
Third-party service providers may
go down, an update may
not perform as expected, or a server may
experience a hacking attack 第三方服務供應商可能會當機、更新可能無法如預期般執行,或伺服器可能遭遇駭客攻擊