From fe9b1580c844a1e365d078c3656551ca011e2827 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 10 Aug 2022 04:27:27 +0000 Subject: [PATCH] disable less used chains for now --- README.md | 2 +- TODO.md | 2 +- docker-compose.prod.yml | 48 ++++++++++++++++++++--------------------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 29e094ee..8e5e8ea6 100644 --- a/README.md +++ b/README.md @@ -109,4 +109,4 @@ Note: Testing with `getLatestBlockByNumber.lua` is not great because the latest Run ethspam for a more realistic load test: - docker run --rm --name spam shazow/ethspam --rpc http://$LOCAL_IP:8544 | versus --concurrency=100 --stop-after=10000 http://$LOCAL_IP:8544; docker stop spam + LOCAL_IP=10.11.12.16 docker run --rm --name spam shazow/ethspam --rpc http://$LOCAL_IP:8544 | versus --concurrency=1 --stop-after=1 http://$LOCAL_IP:8544/u/someuserkey; docker stop spam diff --git a/TODO.md b/TODO.md index 7297a6ae..84ed8c68 100644 --- a/TODO.md +++ b/TODO.md @@ -64,7 +64,7 @@ - [x] refactor result type on active handlers to use a cleaner success/error so we can use the try operator - [x] give users different rate limits looked up from the database - [x] Add a "weight" key to the servers. Sort on that after block. keep most requests local -- [ ] cache db query results for user data. db is a big bottleneck right now +- [x] cache db query results for user data. db is a big bottleneck right now - [ ] allow blocking public requests - [ ] use siwe messages and signatures for sign up and login - [ ] basic request method stats diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 1026073b..735e143d 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -33,14 +33,14 @@ services: ports: - 7500:8544 - avalanche-c: - extends: - file: docker-compose.common.yml - service: base - volumes: - - ./config/production-avalanche-c.toml:/config.toml - ports: - - 7501:8544 + # avalanche-c: + # extends: + # file: docker-compose.common.yml + # service: base + # volumes: + # - ./config/production-avalanche-c.toml:/config.toml + # ports: + # - 7501:8544 bsc: extends: @@ -69,23 +69,23 @@ services: ports: - 7504:8544 - gnosis: - extends: - file: docker-compose.common.yml - service: base - volumes: - - ./config/production-gnosis.toml:/config.toml - ports: - - 7505:8544 + # gnosis: + # extends: + # file: docker-compose.common.yml + # service: base + # volumes: + # - ./config/production-gnosis.toml:/config.toml + # ports: + # - 7505:8544 - goerli: - extends: - file: docker-compose.common.yml - service: base - volumes: - - ./config/production-goerli.toml:/config.toml - ports: - - 7506:8544 + # goerli: + # extends: + # file: docker-compose.common.yml + # service: base + # volumes: + # - ./config/production-goerli.toml:/config.toml + # ports: + # - 7506:8544 optimism: extends: