api3dao / airnode

Airnode monorepo
https://docs.api3.org/
MIT License
165 stars 72 forks source link

Increase OEV gateway memory #1928

Closed Siegrift closed 10 months ago

Siegrift commented 10 months ago

We've been discussing plans to increase the OEV gateway memory to reuse the OEV gateway implementation in https://github.com/api3dao/oev-auctioneer/issues/6. I've done some experiments and the cold start varies depending on the gateway memory. This is because the lambda gets CPU proportionally to the memory (and higher memory means higher CPU which decreases the work at cold start).

I am opening a PR which changes the GW memory to 2048 (not configurable).

Siegrift commented 10 months ago

I was waiting for our discussion in Slack to end, which I think did and I think this is good to go.