web3-proxy/web3_proxy/src
Bryan Stitt 2080739865
Quick cache (#70)
* quick cache and allocate less

* improve /status cache

* prepare to cache raw transaction hashes so we dont dos our backends

* simple benchmark for /health and /status

* mut not needed with atomics

* DRY all the status pages

* use u64 instead of bytes for subscriptions

* fix setting earliest_retry_at and improve logs

* Revert "use kanal instead of flume or tokio channels (#68)"

This reverts commit 510612d343fc51338a8a4282dcc229b50097835b.

* fix automatic retries

* put relaxed back

* convert error message time to seconds

* assert instead of debug_assert while we debug

* ns instead of seconds

* disable peak_latency for now

* null is the default

* cargo fmt

* comments

* remove request caching for now

* log on exit

* unit weigher for now

* make cache smaller. we need a weigher for prod. just debugging

* oops. we need async

* add todo

* no need for to_string on a RawValue
2023-05-13 11:13:02 -07:00
..
app Quick cache (#70) 2023-05-13 11:13:02 -07:00
bin Quick cache (#70) 2023-05-13 11:13:02 -07:00
frontend Quick cache (#70) 2023-05-13 11:13:02 -07:00
rpcs Quick cache (#70) 2023-05-13 11:13:02 -07:00
stats Quick cache (#70) 2023-05-13 11:13:02 -07:00
admin_queries.rs Refactor FrontendErrorResponse into Web3ProxyError 2023-03-16 22:21:20 -07:00
block_number.rs Send transactions to protected and public rpcs (#57) 2023-04-24 11:00:12 -07:00
config.rs Quick cache (#70) 2023-05-13 11:13:02 -07:00
http_params.rs User Balance + Referral Logic (#44) 2023-05-12 09:45:15 -07:00
jsonrpc.rs Quick cache (#70) 2023-05-13 11:13:02 -07:00
lib.rs Quick cache (#70) 2023-05-13 11:13:02 -07:00
pagerduty.rs git status 2023-03-30 13:42:56 +01:00
peak_ewma.rs continue rebase 2023-02-19 21:36:54 +01:00
prometheus.rs stats v2 2023-03-04 20:48:49 +01:00
referral_code.rs User Balance + Referral Logic (#44) 2023-05-12 09:45:15 -07:00
response_cache.rs Quick cache (#70) 2023-05-13 11:13:02 -07:00
user_token.rs move pending logins to the database 2022-12-13 18:34:08 -08:00