Skip to content

Commit

Permalink
add steps for kafka library
Browse files Browse the repository at this point in the history
  • Loading branch information
BlinkyStitt committed Mar 3, 2023
1 parent 36e4183 commit 5695c1b
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -12,9 +12,10 @@ Each server has different limits to configure. The `soft_limit` is the number of

## Quick development

1. Run `docker-compose up -d` to start the database and caches. See `docker-compose.yml` for details.
2. Copy `./config/example.toml` to `./config/development.toml` and change settings to match your setup.
3. Run `cargo` commands:
1. `brew install librdkafka` or `sudo apt-get install librdkafka-dev`
2. Run `docker-compose up -d` to start the database and caches. See `docker-compose.yml` for details.
3. Copy `./config/example.toml` to `./config/development.toml` and change settings to match your setup.
4. Run `cargo` commands:

```
$ cargo run --release -- --help
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -381,6 +381,7 @@ These are not yet ordered. There might be duplicates. We might not actually need
- [ ] all anyhow::Results need to be replaced with FrontendErrorResponse.
- [ ] rename FrontendErrorResponse to Web3ProxyError
- [ ] almost all the anyhows should be Web3ProxyError::BadRequest
- as is, these errors are seen as 500 errors and so haproxy keeps retrying them
- change premium concurrency limit to be against ip+rpckey
- then sites like curve.fi don't have to worry about their user count
- it does mean we will have a harder time capacity planning from the number of keys

0 comments on commit 5695c1b

Please sign in to comment.