Replies: 2 comments 1 reply
-
@big91987 Thank you for opening another discussion thread :) I have an open feature request #250, and I'm planning to add a feature to match queue names based on the prefix (currently queue names in But is it necessary for you to create this many queues? Can you use only the three queues Let me know if that makes sense. I'm happy to help :) |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay here. What do you mean by "rejecting" a task. Do you mean if the Handler returns a non-nil error? Those tasks will be retried automatically up to configured maximum retry. Either way, you don't need to perform requeue logic yourself. |
Beta Was this translation helpful? Give feedback.
-
one more question,,,,how can I make some worker that can dynamic pickup task with some pattern (no matches task will be taken by other suitable workers)?
eg: some Specific work will pick up those tasks matches the pattern:{device: CPU, dirver_version: 1.2.0, etc ...),
well,, I think these can be done by making lots of queues like:
Queues: mapa[string]{
"cpu_driver_NA_os_ubuntu_queue": 1,
"cpu_driver_NA_os_centos_queue": 1,
"gpu_driver_370_cuda_9_queue": 1,
"gpu_driver_375_cuda_11_queue": 1,
"npu_driver_1_1_queue": 1,
"npu_driver_1_2_queue": 1,
}
but it seems not a smart solution(When the latter factors become more and more, complicated reconstruction is required),, is there some more reasonable and flexible implementation ?
PS:I search some solution found kafka may impl that by Confirm offset manually
These requirements came from A distributed model computing service, which need to distinguish hardware, os, driver and other factors to evaluate the impact of these factors on computing
Beta Was this translation helpful? Give feedback.
All reactions