Flow-control might not be an ideal solution, since the ultimate problem is not
the server being incapable of supporting the network traffic, but rather,
extensive use of database engine exhausts system resources.
wptan 說得沒錯, 以 Teleport 抓取本站內容,影響最鉅的,是急速消耗後端資料庫的資源
如果本站的內容大多都是靜態的資料,那相信不管大家怎麼抓取,都不太會有問題
但重點是本站的資料 99% 都是各位討論的內容,存於本超級討論區,是動態產生的
在本站硬體設備不夠好的前提下,是禁不起 Teleport 的「摧殘」的!
A would-be solution might be reducing the max process limit of httpd
(edit httpd.conf) to a suitable value such that even if all httpd processes
are busy querying the database, the system will still be functioning.
Of course, this will only safeguard the proper functioning of the server,
all subsequent requests from other users might have difficulties connecting
to server.
唉,只要不有人用 Teleport 抓取,一切都沒事...也不用設什麼限制
但就是有人這麼講不聽...