web3-proxy/migration/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
..
lib.rs Quick cache (#70) 2023-05-13 11:13:02 -07:00
m20220101_000001_create_table.rs rename api_key to rpc_key 2022-10-27 00:12:42 +00:00
m20220921_181610_log_reverts.rs fix migration imports 2022-10-25 04:31:27 +00:00
m20220928_015108_concurrency_limits.rs more user endpoints 2022-10-25 21:11:19 +00:00
m20221007_213828_accounting.rs fix migration imports 2022-10-25 04:31:27 +00:00
m20221025_210326_add_chain_id_to_reverts.rs more user endpoints 2022-10-25 21:11:19 +00:00
m20221026_230819_rename_user_keys.rs rename api_key to rpc_key 2022-10-27 00:12:42 +00:00
m20221027_002407_user_tiers.rs wip. add user tiers 2022-10-31 20:51:50 +00:00
m20221031_211916_clean_up.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20221101_222349_archive_request.rs better stats aggregations 2022-11-02 23:14:16 +00:00
m20221108_200345_save_anon_stats.rs add_column_if_not_exists doesn't work in mysql 2022-11-14 06:31:35 +00:00
m20221211_124002_request_method_privacy.rs forgot to git add this 2022-12-11 20:50:07 -08:00
m20221213_134158_move_login_into_database.rs move pending logins to the database 2022-12-13 18:34:08 -08:00
m20230117_191358_admin_table.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230119_204135_better_free_tier.rs actually add the migration. derp 2023-01-19 21:29:33 -08:00
m20230125_204810_stats_v2.rs User Balance + Referral Logic (#44) 2023-05-12 09:45:15 -07:00
m20230130_124740_read_only_login_logic.rs lint 2023-03-01 11:23:59 -08:00
m20230130_165144_prepare_admin_imitation_pre_login.rs lint 2023-03-01 11:23:59 -08:00
m20230205_130035_create_balance.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230205_133755_create_referrals.rs User Balance + Referral Logic (#44) 2023-05-12 09:45:15 -07:00
m20230214_134254_increase_balance_transactions.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230215_152254_admin_trail.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230221_230953_track_spend.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230307_002623_migrate_rpc_accounting_to_rpc_accounting_v2.rs copy migrations from devel (#51) 2023-04-18 10:36:53 -07:00
m20230412_171916_modify_secondary_user_add_primary_user.rs User Balance + Referral Logic (#44) 2023-05-12 09:45:15 -07:00
m20230422_172555_premium_downgrade_logic.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230511_161214_remove_columns_statsv2_origin_and_method.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
m20230512_220213_allow_null_rpc_key_id_in_stats_v2.rs Bryan devel 2023-05-12 (#67) 2023-05-12 15:15:32 -07:00
main.rs add per-user rpc accounting 2022-10-10 04:15:49 +00:00