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
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
where the shared rule executor is a pool of lua vms that permit
x
amount of processing time based on thetier
of the account