-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow horizontal scalability of lighthouse prover #4347
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 task
wanglonghong
requested review from
preethamr,
liu-zhipeng,
sanchaymittal and
rhlsthrm
as code owners
June 1, 2023 15:57
sanchaymittal
approved these changes
Jun 2, 2023
sanchaymittal
previously approved these changes
Jun 2, 2023
* ci: lambda subscriber * ci: lambda subscriber * chore: bump chain abstraction * fix: update tf config for sequncer cname * fix: sequencer http queue config update * fix: add auto scaling to seq publisher * fix: typo and seq health port config change * ci: prover --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com>
This reverts commit 8204f7a.
ops/modules/lambda/main.tf
Outdated
policy_arn = "arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole" | ||
} | ||
|
||
module "network" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this
ops/modules/lambda/main.tf
Outdated
cidr_block = var.cidr_block | ||
} | ||
|
||
module "sgs" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this
rhlsthrm
approved these changes
Jun 9, 2023
rhlsthrm
pushed a commit
that referenced
this pull request
Jun 9, 2023
* feat: install amqplib * build: fix block-scoped variable * feat: make pub/sub * feat: add cache * fix: cache and config * feat: mvp of mq consumer * feat: lambda subscriber (#4372) * ci: lambda subscriber * ci: lambda subscriber * chore: bump chain abstraction * fix: update tf config for sequncer cname * fix: sequencer http queue config update * fix: add auto scaling to seq publisher * fix: typo and seq health port config change * ci: prover --------- * chore: yarn * ci: fix tf and build docker * ci: always build lh * ci: try adding package * ci: secrets * ci: fix lh config * ci: fix mq * test: missing functions and branches * chore: Yarn lock * chore: eslint * ci: check the latest commit * fix: index * ci: ops * feat: create a queue and binding on publisher side * ci: bump memory * feat: get event from process.argv * fix: type * chore: logging arg1 and arg2 * chore: move logging location * chore: console * chore: optional * feat: decode base64 string * fix: pass event param * ci: change secret * fix: decode properly * ci: secret * ci: secret * ci: ops for lh prover * ci: remove lighthouse lambda subscriber * ci: var * feat: implement message cache * feat: update message cache per pair * feat: store processed messages * choe: print logs * chore: remove console * fix: use lighthouse directory * fix: disable lh prover caching temporarily * fix: update tf config for lh prover sub * fix: make auto scaling more responsive to load * fix: add lh redis config to main and staging tf * Revert "fix: disable lh prover caching temporarily" This reverts commit 8204f7a. * fix: update config to connect lambda to redis * lh prover in vpc * fix: lh prover lambda network config * fix: attach private subnets only * ci: fix * ci: ops --------- Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> Co-authored-by: Carlo Mazzaferro <carlo.mazzaferro@gmail.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com>
rhlsthrm
pushed a commit
that referenced
this pull request
Jun 10, 2023
* feat: allow horizontal scalability of lighthouse prover (#4347) * feat: install amqplib * build: fix block-scoped variable * feat: make pub/sub * feat: add cache * fix: cache and config * feat: mvp of mq consumer * feat: lambda subscriber (#4372) * ci: lambda subscriber * ci: lambda subscriber * chore: bump chain abstraction * fix: update tf config for sequncer cname * fix: sequencer http queue config update * fix: add auto scaling to seq publisher * fix: typo and seq health port config change * ci: prover --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> * chore: yarn * ci: fix tf and build docker * ci: always build lh * ci: try adding package * ci: secrets * ci: fix lh config * ci: fix mq * test: missing functions and branches * chore: Yarn lock * chore: eslint * ci: check the latest commit * fix: index * ci: ops * feat: create a queue and binding on publisher side * ci: bump memory * feat: get event from process.argv * fix: type * chore: logging arg1 and arg2 * chore: move logging location * chore: console * chore: optional * feat: decode base64 string * fix: pass event param * ci: change secret * fix: decode properly * ci: secret * ci: secret * ci: ops for lh prover * ci: remove lighthouse lambda subscriber * ci: var * feat: implement message cache * feat: update message cache per pair * feat: store processed messages * choe: print logs * chore: remove console * fix: use lighthouse directory * fix: disable lh prover caching temporarily * fix: update tf config for lh prover sub * fix: make auto scaling more responsive to load * fix: add lh redis config to main and staging tf * Revert "fix: disable lh prover caching temporarily" This reverts commit 8204f7a. * fix: update config to connect lambda to redis * lh prover in vpc * fix: lh prover lambda network config * fix: attach private subnets only * ci: fix * ci: ops --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: Carlo Mazzaferro <carlo.mazzaferro@gmail.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> * feat: batch size (#4458) --------- Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> Co-authored-by: Carlo Mazzaferro <carlo.mazzaferro@gmail.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com>
rhlsthrm
added a commit
that referenced
this pull request
Jun 12, 2023
* feat: allow horizontal scalability of lighthouse prover (#4347) * feat: install amqplib * build: fix block-scoped variable * feat: make pub/sub * feat: add cache * fix: cache and config * feat: mvp of mq consumer * feat: lambda subscriber (#4372) * ci: lambda subscriber * ci: lambda subscriber * chore: bump chain abstraction * fix: update tf config for sequncer cname * fix: sequencer http queue config update * fix: add auto scaling to seq publisher * fix: typo and seq health port config change * ci: prover --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> * chore: yarn * ci: fix tf and build docker * ci: always build lh * ci: try adding package * ci: secrets * ci: fix lh config * ci: fix mq * test: missing functions and branches * chore: Yarn lock * chore: eslint * ci: check the latest commit * fix: index * ci: ops * feat: create a queue and binding on publisher side * ci: bump memory * feat: get event from process.argv * fix: type * chore: logging arg1 and arg2 * chore: move logging location * chore: console * chore: optional * feat: decode base64 string * fix: pass event param * ci: change secret * fix: decode properly * ci: secret * ci: secret * ci: ops for lh prover * ci: remove lighthouse lambda subscriber * ci: var * feat: implement message cache * feat: update message cache per pair * feat: store processed messages * choe: print logs * chore: remove console * fix: use lighthouse directory * fix: disable lh prover caching temporarily * fix: update tf config for lh prover sub * fix: make auto scaling more responsive to load * fix: add lh redis config to main and staging tf * Revert "fix: disable lh prover caching temporarily" This reverts commit 8204f7a. * fix: update config to connect lambda to redis * lh prover in vpc * fix: lh prover lambda network config * fix: attach private subnets only * ci: fix * ci: ops --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: Carlo Mazzaferro <carlo.mazzaferro@gmail.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> * Alchemix assets added * feat: batch size (#4458) * ci: use latest image (#4454) * ci: use latest image * ci: move sdk server configs together * ci: add mainnet sdk server config * ci: correct config key --------- Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: Carlo Mazzaferro <carlo.mazzaferro@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> Co-authored-by: hesnicewithit <splitthedutch@gmail.com> Co-authored-by: Arjun Bhuptani <arjunbhuptani@gmail.com>
rhlsthrm
added a commit
that referenced
this pull request
Jun 12, 2023
* feat: allow horizontal scalability of lighthouse prover (#4347) * feat: install amqplib * build: fix block-scoped variable * feat: make pub/sub * feat: add cache * fix: cache and config * feat: mvp of mq consumer * feat: lambda subscriber (#4372) * ci: lambda subscriber * ci: lambda subscriber * chore: bump chain abstraction * fix: update tf config for sequncer cname * fix: sequencer http queue config update * fix: add auto scaling to seq publisher * fix: typo and seq health port config change * ci: prover --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> * chore: yarn * ci: fix tf and build docker * ci: always build lh * ci: try adding package * ci: secrets * ci: fix lh config * ci: fix mq * test: missing functions and branches * chore: Yarn lock * chore: eslint * ci: check the latest commit * fix: index * ci: ops * feat: create a queue and binding on publisher side * ci: bump memory * feat: get event from process.argv * fix: type * chore: logging arg1 and arg2 * chore: move logging location * chore: console * chore: optional * feat: decode base64 string * fix: pass event param * ci: change secret * fix: decode properly * ci: secret * ci: secret * ci: ops for lh prover * ci: remove lighthouse lambda subscriber * ci: var * feat: implement message cache * feat: update message cache per pair * feat: store processed messages * choe: print logs * chore: remove console * fix: use lighthouse directory * fix: disable lh prover caching temporarily * fix: update tf config for lh prover sub * fix: make auto scaling more responsive to load * fix: add lh redis config to main and staging tf * Revert "fix: disable lh prover caching temporarily" This reverts commit 8204f7a. * fix: update config to connect lambda to redis * lh prover in vpc * fix: lh prover lambda network config * fix: attach private subnets only * ci: fix * ci: ops --------- Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: Carlo Mazzaferro <carlo.mazzaferro@gmail.com> Co-authored-by: just-a-node <eye1717@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> * feat: batch size (#4458) * ci: use latest image (#4454) * ci: use latest image * ci: move sdk server configs together * ci: add mainnet sdk server config * ci: correct config key * fix: bedrock updates * feat: alchemix assets added --------- Co-authored-by: wanglonghong <wanglonghong4467@gmail.com> Co-authored-by: Rahul Sethuram <rahul.eth@icloud.com> Co-authored-by: Carlo Mazzaferro <carlo.mazzaferro@gmail.com> Co-authored-by: preethamr <preethamr@users.noreply.github.com> Co-authored-by: hesnicewithit <splitthedutch@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Type of change
High-level change(s) description - from the user's perspective
Related Issue(s)
Fixes
Related pull request(s)