Commit Graph

68 Commits

Author SHA1 Message Date
Lev Kokotov
7b0ceefb96 Constants, comments, CI fixes, dead code clean-up (#21)
* constants

* server.rs docs

* client.rs comments

* dead code; comments

* comment

* query cancellation comments

* remove unnecessary cast

* move db setup up one step

* query cancellation test

* new line; good night
2022-02-15 22:45:45 -08:00
Lev Kokotov
05b4cccb97 More statistics (#20)
* cleaner stats

* remove shard selection there
2022-02-15 08:18:01 -08:00
Lev Kokotov
8e5e28a139 Some stats (#19) 2022-02-14 10:00:55 -08:00
Lev Kokotov
9c521f07c1 parse startup client parameters (#16) 2022-02-14 05:11:53 -08:00
Lev Kokotov
4aa9c3d3c7 Cleaner shutdown (#12)
* Cleaner shutdown

* mark as bad just in case although im pretty sure we dont need it

* server session duration

* test clean shutdown

* ah
2022-02-12 10:16:05 -08:00
Lev Kokotov
20ceb729a0 print session duration; connect to all servers when validating (#11) 2022-02-12 09:24:24 -08:00
Lev Kokotov
526b9eb666 Pass real server info to the client (#10) 2022-02-11 22:19:49 -08:00
Lev Kokotov
0d369ab90a add default server role; bug fix 2022-02-11 11:19:40 -08:00
Lev Kokotov
06575eae7b once_cell is way faster 2022-02-10 17:05:20 -08:00
Lev Kokotov
1798065b76 max_workers = 4 = so much faster 2022-02-10 13:48:56 -08:00
Lev Kokotov
495d6ce6c3 fmt 2022-02-10 10:38:06 -08:00
Lev Kokotov
883b6ee793 todo complete 2022-02-10 10:37:55 -08:00
Lev Kokotov
22c6f13dc7 removed atomic round-robin 2022-02-10 10:37:49 -08:00
Lev Kokotov
c1476d29da config tests 2022-02-10 09:07:10 -08:00
Lev Kokotov
8209633e05 pool fixes 2022-02-10 08:54:06 -08:00
Lev Kokotov
daf120aeac more tests 2022-02-10 08:35:25 -08:00
Lev Kokotov
a9b2a41a9b fixes to the banlist 2022-02-09 21:19:14 -08:00
Lev Kokotov
28c70d47b6 #1 Primary/replica selection 2022-02-09 20:02:20 -08:00
Lev Kokotov
4c16ba3848 some comments 2022-02-09 06:51:31 -08:00
Lev Kokotov
bb1474f175 remove unused 2022-02-08 17:40:28 -08:00
Lev Kokotov
dfc05c3dca sharding readme 2022-02-08 17:15:35 -08:00
Lev Kokotov
edf6a69ca4 warnings 2022-02-08 17:08:17 -08:00
Lev Kokotov
95c2d593cc health check timeout config 2022-02-08 16:56:29 -08:00
Lev Kokotov
9657256adf fixed health check; sharding setup and tests 2022-02-08 15:48:28 -08:00
Lev Kokotov
eb682db52e Update main.rs 2022-02-08 15:00:16 -08:00
Lev Kokotov
75dd88a099 Update main.rs 2022-02-08 14:59:44 -08:00
Lev Kokotov
a80f118a8d Update main.rs 2022-02-08 14:59:10 -08:00
Lev Kokotov
af6f770271 sharded query routing 2022-02-08 13:11:50 -08:00
Lev Kokotov
5f9f2c21fc usize 2022-02-08 11:14:20 -08:00
Lev Kokotov
39a9dff26b pg sharding works 2022-02-08 11:10:28 -08:00
Lev Kokotov
27c05cfd53 fix some bugs in sharding - still doesnt work 2022-02-08 10:05:10 -08:00
Lev Kokotov
2557c4408e comments 2022-02-08 09:33:20 -08:00
Lev Kokotov
b2c7d6bdab ban time 2022-02-08 09:28:53 -08:00
Lev Kokotov
c27a7d30dc config support; started more sharding 2022-02-08 09:25:59 -08:00
Lev Kokotov
ef2aab3c61 more user friendly server error msg 2022-02-07 11:20:29 -08:00
Lev Kokotov
290015957b nuance 2022-02-06 12:52:59 -08:00
Lev Kokotov
99d3e0b803 fix banlist 2022-02-06 11:13:12 -08:00
Lev Kokotov
be79f3446b fixed extended; comments; re-use conns with open transactions 2022-02-06 10:48:14 -08:00
Lev Kokotov
b943ff3fa6 sharding 2022-02-05 19:43:48 -08:00
Lev Kokotov
e0ca175129 correct load balancing 2022-02-05 18:20:53 -08:00
Lev Kokotov
9ac5614d50 👍 2022-02-05 15:33:10 -08:00
Lev Kokotov
7133d049c6 server version \d+ hack 2022-02-05 15:23:21 -08:00
Lev Kokotov
7d895b9e37 buffer up to a limit 2022-02-05 14:38:41 -08:00
Lev Kokotov
ee8627ba9f license 2022-02-05 13:52:16 -08:00
Lev Kokotov
de800b8a10 comments 2022-02-05 13:25:03 -08:00
Lev Kokotov
f41874c249 talk! 2022-02-05 13:19:50 -08:00
Lev Kokotov
8479c74354 proper failover 2022-02-05 13:15:53 -08:00
Lev Kokotov
a6574acbc3 replica pool & banlist 2022-02-05 10:02:13 -08:00
Lev Kokotov
17b690f759 NOW its transactional 2022-02-04 17:57:54 -08:00
Lev Kokotov
52c4cac175 comments 2022-02-04 16:08:18 -08:00