pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
102 stars 17 forks source link

`samplerd` service #440

Closed goodboy closed 1 year ago

goodboy commented 1 year ago

Adds a new singleton samplerd actor to our service tree which provides:

The overall service tree should now look something like:

pikerd /home/goodboy/.virtualenvs/piker310/bin/pikerd --tsdb --pdb
  ├─python3 -m tractor._child --uid ('marketstored', '60ab7cd9-819e-4fb8-95ce-ea343ef1aa81') --parent_addr('12
  │   └─3*[{python3}]
  ├─python3 -m tractor._child --uid ('brokerd.binance', '12de17a0-5e63-4083-879d-45772647dd68') --parent_addr(
  │   └─3*[{python3}]
  ├─python3 -m tractor._child --uid ('brokerd.ib', 'ec8fb1bc-8dd0-4317-8bd3-f615a6d7c255') --parent_addr('127.
  │   └─4*[{python3}]
  ├─python3 -m tractor._child --uid ('samplerd', '42107775-c146-4589-8aaa-7aa170faa618') --parent_addr('127.0.
  │   └─3*[{python3}]
  ├─python3 -m tractor._child --uid ('emsd', 'ecd5fdbc-aa05-404a-b738-31056b9c24dd') --parent_addr('127.0.0.1'
  │   ├─python3 -m tractor._child --uid ('paperboi.binance', '6b8833a2-6c20-494c-8de8-ff6b9d1015eb') --parent_addr
  │   │   └─3*[{python3}]
  │   └─3*[{python3}]
  └─3*[{pikerd}]

Further included enhancements in this patchset:


What we might factor out:


Further TODOs:

goodboy commented 1 year ago

Just reproed this failure from CI after doing an update to all packages.

Not sure if it's tractor dev pinning or something else..

goodboy commented 1 year ago

Test suite in fe4fb37 peepers!

This is ready to land after review 🏄🏼

goodboy commented 1 year ago

Bleh/lol that test is failing do to error msg differences in dev branch of tractor vs. this..

goodboy commented 1 year ago

There, now tractor's branch piker_pin is in the right spot 🏄🏼