https://dagster.io/ logo
#ask-community
Title
# ask-community
u

0xDoing _

07/04/2023, 1:09 AM
hey folks! I’m working on a project that will do most of the heavy processing outside of dagster (think API requests to a cloud function, SQL queries to snowflake, etc) How hard can we push dagster with that setup? For example, can I have multiple jobs running in 1 cpu core at the same time? Would I/O bound operations like API requests block a process? What’s the best pattern to follow in this case?
a

alex

07/10/2023, 9:57 PM
I think the process initialization costs and fixed memory overheads will probably be the limiting factor in trying to run many processes at the same time with limited CPU (and I assume memory).
u

0xDoing _

07/11/2023, 2:09 AM
gotcha! in this case I assume the number of concurrent dagster jobs is much bigger than the number of physical cores in the cpu? like 30+ dagster jobs in an 8 core cpu vm
a

alex

07/11/2023, 2:21 PM
Yep, you may end up with some slow downs when the processes contend for CPU resources but if the majority of the time is spent waiting on IO then that shouldn’t be often.
u

0xDoing _

07/11/2023, 2:22 PM
sounds good