monolith-network / monolith

Telemetry command and control server
0 stars 0 forks source link

Accounting #30

Open bosley opened 1 year ago

bosley commented 1 year ago

Playing with splitting monolith up into something that hosts various "accounts," each with their own databases, registrar, and metric streamer. I envision either a shared "rule executor" thing that schedules each account's rule script execution, or having each account contain their own executor.

Perhaps we could have something like a "pipeline" or "sandbox" that contains the

metric submission => push data to account pipeline => store data or not => stream or not => submit to shared rule executor 

where the shared rule executor is a pool of lua vms that permit x amount of processing time based on the tier of the account