You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The moderator google cloud function checked signatures for each event to moderate. These are expensive CPU bound operations and @mplorentzdiscovered that we were incurring in high costs, I assume the signatures were the cause. For the moment I disabled the verification but this is not ideal. One alternative to consider is to host an instance in Google Cloud Engine and there host a Rust server that just does the Schnorr signature work needed. We could test with some feature flag and see if gives better results
The text was updated successfully, but these errors were encountered:
setch-l
changed the title
High CPU usage issues with signature verification
[Cleanstr] [tech debt] High CPU usage issues with signature verification
Dec 11, 2023
The moderator google cloud function checked signatures for each event to moderate. These are expensive CPU bound operations and @mplorentz discovered that we were incurring in high costs, I assume the signatures were the cause. For the moment I disabled the verification but this is not ideal. One alternative to consider is to host an instance in Google Cloud Engine and there host a Rust server that just does the Schnorr signature work needed. We could test with some feature flag and see if gives better results
The text was updated successfully, but these errors were encountered: