Kobroli
05/31/2022, 11:52 AMdagster.yaml
(such that run concurrencies can be defined, but no storages are persisted to disk)?
Thanks a lot in advance!Daniel Mosesson
05/31/2022, 12:32 PMcustom_path_fs_io_manager
which you can set to put things in a custom pathKobroli
05/31/2022, 3:23 PMDAGSTER_HOME
directory disappear as well?Daniel Mosesson
05/31/2022, 3:27 PMKobroli
05/31/2022, 3:28 PMbase_dir
. Desirable would be something like, i.e., a mix of environment variable and path. Is sth like that possible?
run_storage:
module: dagster.core.storage.runs
class: SqliteRunStorage
config:
base_dir:
env: LOCALAPPDATA/dagster/history
Daniel Mosesson
05/31/2022, 3:30 PMKobroli
05/31/2022, 3:30 PMWhat other folders are you talking about?
The folders .logs_queue
, history
, logs
, and schedules
-- all of them are created in the same directory where my dagster.yaml
sits and that DAGSTER_HOME
points toowen
05/31/2022, 6:13 PMKobroli
06/01/2022, 7:29 AMDAGSTER_HOME
is set to one directory which every user gets to see, hence the LOCALAPPDATA
environment variable in dagster.yaml
which is user-specific)DAGSTER_HOME
unset, but that would block me from using the dagster-daemon
which is required in my case.
It'd be cool if dagster offered a bit more flexibility in this matter (e.g. one central base_dir
that all storages use, or the option to choose an ephemeral instance, or an option to configure the daemon and the storages separately), but I totally understand that that might not be high prio 🙂you can probably circumvent this by mimicking the ephemeral dagster instance
This sounds interesting -- do you mean mimicking it via dagster.yaml
or programmatically? For the latter, it'd be helpful if you could point me to a starting point 🙂owen
06/01/2022, 4:45 PMdagster.yaml
) wouldn't quite work, as some of the daemon operations depend on having access to the same run storage as dagit has (and if this run storage was in memory, then there would be no way to accomplish this).$DAGSTER_HOME
thing, I was actually thinking that each user might have their own individual DAGSTER_HOME
(roughly the same path as whatever LOCALAPPDATA
was going to be). This would require N copies of that dagster.yaml
file (or at least some sort of symlink setup), but depending on how much control you have over those things, that might work out ok.