Commit Graph

53 Commits

Author SHA1 Message Date
moosecat
a55be980fe send indicative quotes to mainnet (#374)
* Bumping drift-common to ab538e0c1efbf64a3dfecf2af16e5a75aab81400

* Bumping drift-common to cf7f6ec63febe0d3b661f187e4e26e729797c4d0

* Bumping drift-common to 149f5efe5444d89b53b5370dcea4a3115fec8c5f

* Bumping drift-common to c879f8a85bfcbaef1f1c6d9c6bf4a05e8970fa0a

* Bumping drift-common to d089c9ed7e7400a0f3ea98a0184a4e3bf273fcf5

* dlob add fetch indicative quotes (#372)

* dlob add fetch indicative quotes

* indicative ws stream

* prettify

* allow for oracle orders

* Bumping drift-common to 56331c89a2285a04cc86a639e0fceeda03366f43

* add console log for debugging indicative

* add indicative in l2 queries

* add more console logging for debugging

* bump common and remove logging

* Bumping drift-common to 43104f473f43111f8cc34733a43a85b5fef7f778

* Bumping drift-common to 6d75612fa1fab858daa90cdb91f0c8c9edbc8242

* Bumping drift-common to 3a42e9665c04a27bcf92e7faa50c168690312880

* Bumping drift-common to 20351d45f2644fb7194ffce441d3d2cb8d6c6b4b

* Bumping drift-common to 04216dfc03aa659db24fc24ba42aa8a4e9a8bb9a

* Bumping drift-common to ad20bbe9d3a262c547f66ec464306fabac539fd8

* Bumping drift-common to 5539ad5f3849b19e1b7106f783a16a182fc9a411

* Bumping drift-common to 8b7e118f1aed9d1d7a786cd165f0ceef2a07297c

* Bumping drift-common to 52b7948cebb0ed6bc1f8278b0f549366a1be3ba0

* Bumping drift-common to 26a603c2d78f7f662cb872075bdff1fd6b75ec43

* Bumping drift-common to 683bfc5cefe5097a257511507f22831f185f1549

* Bumping drift-common to b66eaade382a58b563fdc5ee6c03bc98e5bb2195

* Bumping drift-common to 9a48bea13265723c5d17377e68aaf9984b24c722

* Bumping drift-common to a147ab129f6eb59d77889ac2b7a915ca910d83dd

* Bumping drift-common to 65891abfcd5f59c726aecb211ae77ca38394bdf1

* Bumping drift-common to 540cdbbc9b322990d288af8f4f3183f2c96087b7

* Bumping drift-common to 978b8a03b59d0dc24d1269f319ff6a7ff711775a

* Bumping drift-common to af74d01953db3683bca585c2111910cbbe171a72

* Bumping drift-common to cd684e22082438f0cb784ec234fd9e5d3cd63bb2

---------

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-28 10:16:44 -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