Bryan Stitt
fcc1843af0
put it back. duplication between cargo.toml isnt worth it
2023-05-30 21:37:58 -07:00
Bryan Stitt
2273637a07
move cli into a separate packge and clean up dependencies
2023-05-30 20:58:24 -07:00
Bryan Stitt
9621cfdccd
add quick cache wrapper for ttl expiration
2023-05-13 16:28:27 -07:00
Rory Trent
ec11e210ee
Peak ewma ( #63 )
...
* use peak-ewma instead of head for latency calculation
* Implement some suggested changes from PR
* move latency to new package in workspace root
* fix unit tests which now require peak_latency on Web3Rpc
* Switch to atomics for peak-ewma
This change is to avoid locking from tokio::sync::watch.
* add decay calculation to latency reads in peak-ewma
* Add some tests for peak-ewma
* Sensible latency defaults and not blocking on full
* Cleanup and a couple additional comments
2023-05-11 13:09:15 -07:00
Bryan Stitt
28ac542bc9
add simple rate-counter
2023-02-25 14:40:22 -08:00
Bryan Stitt
671105fe07
make a new profile for codegen-units = 1
2023-02-02 13:55:48 -08:00
Bryan Stitt
5628068888
codegen-units = 1
2023-01-26 19:24:06 -08:00
Bryan Stitt
c1e81089b1
sort dependencies
2023-01-23 21:50:59 -08:00
Bryan Stitt
5df3f9e28b
enable lto on release
2023-01-23 21:39:42 -08:00
Bryan Stitt
9ae2337d1d
thread fast rng
2022-11-12 06:11:58 +00:00
Bryan Stitt
a0056ca881
optional tracing-sentry
2022-10-24 21:07:29 +00:00
Bryan Stitt
12b6d01434
work in progress
2022-09-15 17:57:24 +00:00
Bryan Stitt
6e12edd555
use sized Caches
2022-09-05 05:53:58 +00:00
Bryan Stitt
e9000d1f61
drop redis-cell in favor of simpler query
2022-08-15 22:50:56 +00:00
Bryan Stitt
80a3c74120
cache db data in a map
2022-08-10 02:37:43 +00:00
Bryan Stitt
e295307afc
fix directory structure
2022-08-05 19:22:23 +00:00
Bryan Stitt
4cb65b0fa4
setup database and stub migrations
2022-07-26 04:55:07 +00:00
Bryan Stitt
3d158c7d69
we do want lib and main, but its not working. fix later
2022-07-25 18:53:11 +00:00
Bryan Stitt
fef1caa056
just do one app for now
2022-07-13 21:50:08 +00:00
Bryan Stitt
23a545177f
simple backend server
2022-07-11 19:16:18 +00:00
Bryan Stitt
5e14333e61
start adding redis-cell for rate limits
2022-05-21 20:40:22 +00:00
Bryan Stitt
0ef728df93
axum and compact logs
2022-05-20 05:27:18 +00:00
Bryan Stitt
7f8e444356
comments
2022-05-20 03:37:17 +00:00
Bryan Stitt
7c7b25d654
minimal app served its purpose
2022-05-20 02:01:02 +00:00
Bryan Stitt
5d1e0a6178
use local clone of ethers-rs
2022-05-20 00:53:57 +00:00
Bryan Stitt
36f2ca380b
add minimal code that only watches blocks to see if it locks up
2022-05-19 21:21:41 +00:00
Bryan Stitt
2970535bac
keep debug symbols on for now
2022-05-17 04:08:33 +00:00
Bryan Stitt
6ab2b3a533
in-flight request checks
2022-05-16 19:15:47 +00:00
Bryan Stitt
5fcd01065e
deadlock detection
2022-05-16 05:16:32 +00:00
Bryan Stitt
48b1b08e3d
one tier
2022-05-13 20:50:11 +00:00
Bryan Stitt
c884cf5bbb
make it maybe faster
2022-05-13 07:05:38 +00:00
Bryan Stitt
bc91bd1c6f
first pass at caching
...
i'm confused. i had it over 100k connections on friday, but now even when i go back to those commits, i can't get that high
2022-05-05 19:06:03 +00:00
Bryan Stitt
70ffa51c2f
upgrades
2022-05-04 06:06:34 +00:00
Bryan Stitt
5a9bcd5dc3
flume seems faster
2022-05-03 05:13:53 +00:00
Bryan Stitt
651494a278
toml config
2022-05-03 04:02:52 +00:00
Bryan Stitt
79507c92cb
arcswap again
2022-05-02 21:35:49 +00:00
Bryan Stitt
b47482298c
first pass at less sturcts
2022-05-02 20:32:55 +00:00
Bryan Stitt
e5e7d37f20
RawValues
2022-04-29 16:03:11 +00:00
Bryan Stitt
7510db4989
faster
2022-04-29 01:57:16 +00:00
Bryan Stitt
2fef0e6acb
no more dashmap. all atomics
2022-04-28 22:40:29 +00:00
Bryan Stitt
5c2e0dabc8
even better locking
2022-04-28 00:08:30 +00:00
Bryan Stitt
0b5d2ca1cf
track latest blocks
2022-04-27 04:36:11 +00:00
Bryan Stitt
a870dfa63a
derive more
2022-04-26 16:50:02 +00:00
Bryan Stitt
710cef5da3
use channels to return early
2022-04-26 06:54:24 +00:00
Bryan Stitt
969bb32495
start using ethers-rs
2022-04-25 19:42:51 +00:00
Bryan Stitt
7705991b4c
watch new heads
2022-04-25 19:14:10 +00:00
Bryan Stitt
f9be6a2ef1
parallel processing
2022-04-24 18:56:46 +00:00
Bryan Stitt
5a6467fa3f
large improvements
2022-04-24 07:26:00 +00:00
Bryan Stitt
f64432226a
add dockerfile with caches
2022-04-23 18:00:03 +00:00
Bryan Stitt
28a99fd6ea
initial commit
2022-03-04 19:46:57 -08:00