Skip to content
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

fix(repo): Solving publisher slowness #352

Merged
merged 52 commits into from
Dec 16, 2024
Merged

fix(repo): Solving publisher slowness #352

merged 52 commits into from
Dec 16, 2024

Conversation

pedronauck
Copy link
Collaborator

@pedronauck pedronauck commented Dec 11, 2024

Warning

THIS PR IS A TEMPORARILY SOLUTION, IT WILL NOT BE MERGED ON MAIN FOR NOW

@pedronauck pedronauck self-assigned this Dec 11, 2024
@pedronauck pedronauck force-pushed the cluster-test branch 2 times, most recently from fec32ec to 2344881 Compare December 11, 2024 14:17
@pedronauck pedronauck changed the title feat(repo): Splitting publisher into two services fix(repo): Solving publisher slowness Dec 11, 2024
@pedronauck pedronauck marked this pull request as ready for review December 11, 2024 20:19
@pedronauck pedronauck closed this Dec 11, 2024
@pedronauck pedronauck reopened this Dec 11, 2024
@pedronauck pedronauck marked this pull request as draft December 11, 2024 20:20
@pedronauck pedronauck merged commit 86db991 into main Dec 16, 2024
15 checks passed
@pedronauck pedronauck deleted the cluster-test branch December 16, 2024 20:48
pedronauck added a commit that referenced this pull request Dec 23, 2024
* fix(repo): Solving publisher slowness (#352)

* feat(repo): add sv-emitter package

* build(repo): adjust run-publisher

* feat(repo): first version of consumer

* feat(repo): add the rest of payloads

* refactor(repo): reuse executors

* fix(repo): tests

* build(repo): configure devops to emitter/consumer

* build(repo): update chart version

* fix(repo): consumer cli argument

* build(repo): docker action

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): chart

* fix(repo): general stuff

* build(repo): docker action

* ci(repo): fix

* fix(repo): chain config

* fix(repo): docker images

* feat(repo): improve docker build

* refactor(repo): a lot of improvements

* fix(repo): fix helm chart nats config

* feat(repo): worked using mirror

* fix(repo): adjust nats cluster config

* build(repo): adjust github action

* build(repo): update chart version

* build(repo): fix docker images

* build(repo): lint warnings

* ci(repo): adjust docker action

* build(repo): fix docker file

* fix(repo): stream creation

* build(repo): fix tls for nats

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* fix(repo): use sts instead of deployment for consumer

* fix(repo): fix chart

* fix(repo): remove initcontainer

* fix(repo): update chart

* fix(repo): fix resources on consumer

* fix(repo): bump chart

* fix(repo): bump chart

* fix(repo): bump chart

* build(repo): fix makefile

* build(repo): add publisher into one single Dockerfile

* ci(repo): fix docker publish action

* build(repo): fix build docker

* ci(repo): fix docker action

* ci(repo): fix tests

* ci(repo): fix ci.yaml

* build(repo): adjust fuel dependencies features

* build(repo): Add DNS/TLS configuration for Nats (#357)

* build(repo): Add DNS/TLS configuration for Nats

* build(repo): bump chart version

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix secretName on nats client websocket config

* build(repo): Update NATS dependency on chart (#358)

* build(repo): Update NATS dependency on chart

* build(repo): Bump chart version

* refactor(repo): remove FuelNetwork from nats

* refactor(repo): remove unused benches

* refactor(repo): general improvements

* fix(repo): general fixes

* build(repo): adjust chart for new architecture

* build(repo): adjust chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): docker image

* build(repo): bump chart

* build(repo): fix emitter Dockerimage

* build(repo): adjust workflow dispatch for docker

* build(repo): docker action

* build(repo): fix publisher config

* build(repo): bump chart

* build(repo): general fixes and adjustments

* build(repo): bump chart

* fix(repo): s3 client workaround

* refactor(repo): rename crates to be consistent

* build(repo): bump chart

* build(repo): some adjusts

* fix(consumer): remove max_messages

* refactor(repo): change s3 path

* build(repo): bump chart

* refactor(repo): perf improvements

* refactor(webserver): send decoded payload direct on websocket
0xterminator added a commit that referenced this pull request Dec 23, 2024
* feat(publisher): Extend NATS publishing by storing payloads in S3 (#348)

* feat(publisher): Publish streams to S3

* feat(publisher): add Localstack for testing s3 locally

* feat(publisher): Ignore localstack data

* feat(publisher): Fix build errors from integrating S3Client

* feat(publisher): Ensure published objects can be streamed

Also update tests

* feat(publisher): Consistently hash static payload for s3 path

* feat(publisher): Use testnet or mainnet buckets based on the env

* feat(publisher): Distinct env vars for S3

* fix(publisher): Remove unused cli arg (#353)

* fix(publisher): Remove trailing hyphen in bucket name (#354)

* fix(publisher): Don't defer error logging (#355)

* build(repo): Update Cargo.lock

* feat(repo): Added ws streamer service (#345)

* feat(repo): Added draft ws version

* feat(repo): Fixes after AJs merge

* feat(repo): Added docker-compose script for creating S3 bucket

* fix(repo): Added better deserialization

* fix(publisher): re-allow ctrl c shutdown publisher process

* refactor(repo): Disallow nested Cargo.lock

* refactor(publisher): Include default S3 bucket for local development

* feat(repo): Improved serializations

* feat(repo): Removed binary for ws-streamer

* feat(repo): Pass any wildcard to stream filtering

* feat(repo): Added deliver policy to ws pattern for historical data

* feat(repo): Switched to tokio-tungestenite

* feat(repo): Small change to websocket subscriptions

---------

Co-authored-by: AJ <jurshsmith@gmail.com>

* feat(repo): Added webserver service and added docker build step

* fix(repo): use cli instead of config.toml

* fix(ws): remove duplicated nats clients

* fix(ws): use nats_url instead of FuelNetwork

* feat(repo): Removed unused args by infra for ws streamer

* feat: Adjusts to release S3 + WebServer (#361)

* fix(repo): Solving publisher slowness (#352)

* feat(repo): add sv-emitter package

* build(repo): adjust run-publisher

* feat(repo): first version of consumer

* feat(repo): add the rest of payloads

* refactor(repo): reuse executors

* fix(repo): tests

* build(repo): configure devops to emitter/consumer

* build(repo): update chart version

* fix(repo): consumer cli argument

* build(repo): docker action

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): chart

* fix(repo): general stuff

* build(repo): docker action

* ci(repo): fix

* fix(repo): chain config

* fix(repo): docker images

* feat(repo): improve docker build

* refactor(repo): a lot of improvements

* fix(repo): fix helm chart nats config

* feat(repo): worked using mirror

* fix(repo): adjust nats cluster config

* build(repo): adjust github action

* build(repo): update chart version

* build(repo): fix docker images

* build(repo): lint warnings

* ci(repo): adjust docker action

* build(repo): fix docker file

* fix(repo): stream creation

* build(repo): fix tls for nats

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* fix(repo): use sts instead of deployment for consumer

* fix(repo): fix chart

* fix(repo): remove initcontainer

* fix(repo): update chart

* fix(repo): fix resources on consumer

* fix(repo): bump chart

* fix(repo): bump chart

* fix(repo): bump chart

* build(repo): fix makefile

* build(repo): add publisher into one single Dockerfile

* ci(repo): fix docker publish action

* build(repo): fix build docker

* ci(repo): fix docker action

* ci(repo): fix tests

* ci(repo): fix ci.yaml

* build(repo): adjust fuel dependencies features

* build(repo): Add DNS/TLS configuration for Nats (#357)

* build(repo): Add DNS/TLS configuration for Nats

* build(repo): bump chart version

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix secretName on nats client websocket config

* build(repo): Update NATS dependency on chart (#358)

* build(repo): Update NATS dependency on chart

* build(repo): Bump chart version

* refactor(repo): remove FuelNetwork from nats

* refactor(repo): remove unused benches

* refactor(repo): general improvements

* fix(repo): general fixes

* build(repo): adjust chart for new architecture

* build(repo): adjust chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): docker image

* build(repo): bump chart

* build(repo): fix emitter Dockerimage

* build(repo): adjust workflow dispatch for docker

* build(repo): docker action

* build(repo): fix publisher config

* build(repo): bump chart

* build(repo): general fixes and adjustments

* build(repo): bump chart

* fix(repo): s3 client workaround

* refactor(repo): rename crates to be consistent

* build(repo): bump chart

* build(repo): some adjusts

* fix(consumer): remove max_messages

* refactor(repo): change s3 path

* build(repo): bump chart

* refactor(repo): perf improvements

* refactor(webserver): send decoded payload direct on websocket

* feat(repo): integrate rust sdk with websockets

* build(repo): fix tests

* docs(repo): adjust main readme

---------

Co-authored-by: AJ <34186192+Jurshsmith@users.noreply.github.com>
Co-authored-by: Pedro Nauck <pedronauck@gmail.com>
Co-authored-by: AJ <jurshsmith@gmail.com>
pedronauck added a commit that referenced this pull request Dec 23, 2024
* feat(publisher): Extend NATS publishing by storing payloads in S3
(#348)

* feat(publisher): Publish streams to S3

* feat(publisher): add Localstack for testing s3 locally

* feat(publisher): Ignore localstack data

* feat(publisher): Fix build errors from integrating S3Client

* feat(publisher): Ensure published objects can be streamed

Also update tests

* feat(publisher): Consistently hash static payload for s3 path

* feat(publisher): Use testnet or mainnet buckets based on the env

* feat(publisher): Distinct env vars for S3

* fix(publisher): Remove unused cli arg (#353)

* fix(publisher): Remove trailing hyphen in bucket name (#354)

* fix(publisher): Don't defer error logging (#355)

* build(repo): Update Cargo.lock

* feat(repo): Added ws streamer service (#345)

* feat(repo): Added draft ws version

* feat(repo): Fixes after AJs merge

* feat(repo): Added docker-compose script for creating S3 bucket

* fix(repo): Added better deserialization

* fix(publisher): re-allow ctrl c shutdown publisher process

* refactor(repo): Disallow nested Cargo.lock

* refactor(publisher): Include default S3 bucket for local development

* feat(repo): Improved serializations

* feat(repo): Removed binary for ws-streamer

* feat(repo): Pass any wildcard to stream filtering

* feat(repo): Added deliver policy to ws pattern for historical data

* feat(repo): Switched to tokio-tungestenite

* feat(repo): Small change to websocket subscriptions

---------

Co-authored-by: AJ <jurshsmith@gmail.com>

* feat(repo): Added webserver service and added docker build step

* fix(repo): use cli instead of config.toml

* fix(ws): remove duplicated nats clients

* fix(ws): use nats_url instead of FuelNetwork

* feat(repo): Removed unused args by infra for ws streamer

* feat: Adjusts to release S3 + WebServer (#361)

* fix(repo): Solving publisher slowness (#352)

* feat(repo): add sv-emitter package

* build(repo): adjust run-publisher

* feat(repo): first version of consumer

* feat(repo): add the rest of payloads

* refactor(repo): reuse executors

* fix(repo): tests

* build(repo): configure devops to emitter/consumer

* build(repo): update chart version

* fix(repo): consumer cli argument

* build(repo): docker action

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): fix consumer chart

* build(repo): chart

* fix(repo): general stuff

* build(repo): docker action

* ci(repo): fix

* fix(repo): chain config

* fix(repo): docker images

* feat(repo): improve docker build

* refactor(repo): a lot of improvements

* fix(repo): fix helm chart nats config

* feat(repo): worked using mirror

* fix(repo): adjust nats cluster config

* build(repo): adjust github action

* build(repo): update chart version

* build(repo): fix docker images

* build(repo): lint warnings

* ci(repo): adjust docker action

* build(repo): fix docker file

* fix(repo): stream creation

* build(repo): fix tls for nats

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* fix(repo): use sts instead of deployment for consumer

* fix(repo): fix chart

* fix(repo): remove initcontainer

* fix(repo): update chart

* fix(repo): fix resources on consumer

* fix(repo): bump chart

* fix(repo): bump chart

* fix(repo): bump chart

* build(repo): fix makefile

* build(repo): add publisher into one single Dockerfile

* ci(repo): fix docker publish action

* build(repo): fix build docker

* ci(repo): fix docker action

* ci(repo): fix tests

* ci(repo): fix ci.yaml

* build(repo): adjust fuel dependencies features

* build(repo): Add DNS/TLS configuration for Nats (#357)

* build(repo): Add DNS/TLS configuration for Nats

* build(repo): bump chart version

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix secretName on nats client websocket config

* build(repo): Update NATS dependency on chart (#358)

* build(repo): Update NATS dependency on chart

* build(repo): Bump chart version

* refactor(repo): remove FuelNetwork from nats

* refactor(repo): remove unused benches

* refactor(repo): general improvements

* fix(repo): general fixes

* build(repo): adjust chart for new architecture

* build(repo): adjust chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): fix chart

* build(repo): docker image

* build(repo): bump chart

* build(repo): fix emitter Dockerimage

* build(repo): adjust workflow dispatch for docker

* build(repo): docker action

* build(repo): fix publisher config

* build(repo): bump chart

* build(repo): general fixes and adjustments

* build(repo): bump chart

* fix(repo): s3 client workaround

* refactor(repo): rename crates to be consistent

* build(repo): bump chart

* build(repo): some adjusts

* fix(consumer): remove max_messages

* refactor(repo): change s3 path

* build(repo): bump chart

* refactor(repo): perf improvements

* refactor(webserver): send decoded payload direct on websocket

* feat(repo): integrate rust sdk with websockets

* build(repo): fix tests

* docs(repo): adjust main readme

---------

Co-authored-by: AJ <34186192+Jurshsmith@users.noreply.github.com>
Co-authored-by: Pedro Nauck <pedronauck@gmail.com>
Co-authored-by: AJ <jurshsmith@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant