Page MenuHomePhabricator

Test benthos webrequest_live with only one host
Closed, ResolvedPublic

Description

It occurred to me we should test benthos@webrequest_live with only one centrallog processing events, especially in light of the recent CPU/threads bump we might not have enough redundancy as it is

Event Timeline

Mentioned in SAL (#wikimedia-operations) [2023-09-20T08:36:57Z] <godog> stop benthos@webrequest_live.service on centrallog1002 to test redudancy/capacity - T346871

Mentioned in SAL (#wikimedia-operations) [2023-09-20T08:47:09Z] <godog> temp bump threads to 15 for benthos@webrequest_live on centrallog2002 - T346871

Mentioned in SAL (#wikimedia-operations) [2023-09-20T08:59:59Z] <godog> restore benthos@webrequest_live running on both centrallog hosts - T346871

fgiunchedi claimed this task.

Test was successful in the sense that we can keep processing the webrequest firehose from codfw (centrallog2002). Even though by taking a performance hit in terms of messages processed, of course also network bandwidth takes a significant hit, jumping ~ +25MB/s. I believe that in the unlikely event of one centrallog host being unavailable for multiple hours we can still get a reasonable webrequest sampled stream. If even that doesn't work for some reason, it is easy to spin up benthos on different hosts since it is all stateless and trivially horizontally scalable