Commit Graph

53 Commits

Author SHA1 Message Date
moosecat
b3b655dc65 dlob add fetch indicative quotes (#372)
* dlob add fetch indicative quotes

* indicative ws stream

* prettify

* allow for oracle orders
2025-04-16 12:06:21 -07:00
Jack Waller
461727b20f chore: stringify last message to maintain same format 2024-12-06 16:39:18 +11:00
Nour Alharithi
0e32c92458 ws manager bug fix 2024-12-03 14:24:08 -08:00
moosecat
2a6899384c Nour/improved rotation (#290)
* improved rotation

* fix bugs

* only parse slot if necessary

* add metrics for ws source

* add select by recent slot to utils

* fix solana web3.js version

---------

Co-authored-by: wphan <william@drift.trade>
2024-12-03 13:47:02 -08:00
Jack Waller
4b9b337a60 chore: update clients to be env vars 2024-11-21 12:22:47 -05:00
Nour Alharithi
22a863ef6e more redis 2024-10-24 13:47:31 -07:00
Nour Alharithi
8a72808c85 slot staleness for vamm orders remove from cache 2024-06-17 09:56:53 -07:00
Jack Waller
18f8eb37b7 fix: add gaurd to sanitise ws manager 2024-06-04 13:41:59 +10:00
Jack Waller
a4312acf03 chore: sanitise channel for client 2024-05-23 13:10:20 +10:00
Jack Waller
304e1e9bd0 chore: update channel prefixes for pubsub 2024-05-22 14:06:54 +10:00
Jack Waller
956a031fec chore: update to common redis + top markers account flag 2024-05-16 12:39:44 +10:00
Nour Alharithi
b5fcf7d2e4 batchPriorityFes 2024-04-05 10:42:13 -07:00
Nour Alharithi
a993ee22e7 close message must be small 2024-04-04 15:54:21 -07:00
Nour Alharithi
4883a1ee29 cache priority fees 2024-04-04 12:00:35 -07:00
Nour Alharithi
bccdf17a56 clear intervals properly 2024-02-21 16:14:05 -08:00
Nour Alharithi
85fc02696d increase the buffered amount size for killing connections 2024-02-21 08:33:28 -08:00
Nour Alharithi
acdeef1b9f ack-bug-fix 2024-01-19 14:34:09 -08:00
Nour Alharithi
fe19c821af attach ts and send ack on subscribe 2024-01-19 12:37:49 -08:00
Nour Alharithi
4177866eac bufferedAmount threshold uptick 2024-01-17 10:29:12 -08:00
Nour Alharithi
975c91b8b8 perMessageDeflate 2024-01-08 12:30:24 -08:00
Nour Alharithi
6ee967933f fixes 2023-12-12 11:27:22 -08:00
Nour Alharithi
f00be8945e prettify 2023-12-12 09:56:30 -08:00
Nour Alharithi
59b88f753d send heartbeat and detect redis cache better 2023-12-12 09:56:14 -08:00
Nour Alharithi
436e63dbd5 proper memory management 2023-12-12 09:11:02 -08:00
Nour Alharithi
43dfc3a865 remove unhandled promise process 2023-12-12 07:36:08 -08:00
Nour Alharithi
f3a1e9e22d per message deflate false 2023-12-12 06:32:30 -08:00
Nour Alharithi
c1a5afe3d7 possible memory leak fixes 2023-12-11 18:52:46 -08:00
Nour Alharithi
54d463f84e additional ws connection logging 2023-12-11 16:15:30 -08:00
Nour Alharithi
27bfef5a1e try catch for l2 and no ping/pong 2023-12-11 06:51:41 -08:00
Nour Alharithi
3fa8f35a0b ws guard against undefined 2023-12-07 10:32:54 -08:00
Nour Alharithi
9940110094 don't send stack errors 2023-11-24 16:05:29 -08:00
Luke Steyn
a24757f374 Added handling for last_update messages 2023-11-22 15:49:51 +01:00
Luke Steyn
80a50c1eb0 Better error handling 2023-11-22 14:37:11 +01:00
Nour Alharithi
6ce59a1394 patch trades and move last update 2023-11-20 13:55:05 -08:00
Nour Alharithi
285d5b32f9 updated exmaple and bug fix 2023-11-17 14:19:00 -08:00
Nour Alharithi
4a3941d374 address PR comments 2023-11-17 09:38:39 -08:00
Nour Alharithi
7a88935070 dont fail on bad messages 2023-11-16 11:08:31 -08:00
Nour Alharithi
16197130d3 new trades publisher 2023-11-16 10:54:50 -08:00
Nour Alharithi
c53f5d6672 remove double decrement counters 2023-11-15 11:05:17 -08:00
Nour Alharithi
984c6fcda7 adding prometheus gauge 2023-11-14 09:54:35 -08:00
Nour Alharithi
384e785371 resub on redis reconnect 2023-11-10 08:55:25 -08:00
Nour Alharithi
cbecd513a4 better error handling 2023-11-07 11:26:14 -08:00
Nour Alharithi
3e112f4caf send the latest message for fast retrieval upon subscribe 2023-11-07 10:22:35 -08:00
Luke Steyn
2bfa1ed91f Added WS_PORT config to wsConnectionManager 2023-10-31 12:58:48 +01:00
Nour Alharithi
f3d64ff988 *prettify + new example 2023-10-29 15:55:44 -07:00
Nour Alharithi
ee5cd4e6a8 * much more robust ws connection manager 2023-10-29 15:52:06 -07:00
Nour Alharithi
3a4aa5be67 using ws instead of socket.io 2023-10-29 14:08:07 -07:00
wphan
659bd65b38 error handling 2023-10-27 22:43:16 -07:00
wphan
a130bac2cf wsConnectionManager listen on /ws 2023-10-27 22:29:09 -07:00
Nour Alharithi
cc8fe46ad2 ws manager uses password 2023-10-27 17:09:19 -07:00