mike_k: overhead to setup rmq? It's amazingly easy to setup, thanks to erlang/otp and docker. But still, there are hosted rmqs available, like https://www.cloudamqp.com/
auvipy joined the channel
fpokorny joined the channel
mike_k: redis is even worse than sqs. It does not provide any guarantees so you _will_ loose tasks once
and it wasn't designed to work as a message broker at all
maryokhin joined the channel
mike_k
malinoff, true, Redis is something I'd like to avoid. We've had a discussion regarding rabbitmq internally and it was declined, so I just have to face it. SQS has zero maintenance cost though.
malinoff
mike_k: any specific reasons?
God just use a hosted rmq - also zero maintenance costs
mike_k
malinoff, I have no exact reason for that as I wasn't involved in the original discussion (something about yet another stack for devops to maintain, IIRC). Anyway, this seems to be an off-topic.
Dejan
there is nothing as easy as redis...
that is the reason we picked it
malinoff
mike_k: some questions have no answer except "Don't do it". You have only one reason to use SQS - because it's hosted. cloudamqp provides hosted rabbitmq. No reason to use SQS anymore.
Dejan: have you ever tried to understand how redis as a message queue works? Have you set it up to not loose tasks?
Dejan
since we do everything on AWS we may switch to SQS too
malinoff, see the above - I actually get too many tasks :)
malinoff
Dejan: the above? What exactly?
Dejan
(the SO URL I pasted)
I actually never saw the task lost to be honest
but I trust you it happens
in our case it is fine
the problem we have now is much worse than losing a task
because all our tasks are long-running
and if something is missing, we re-run it
nicksloan has quit
nicksloan joined the channel
malinoff
Dejan: can you reproduce this behaviour locally, with redis and 3 workers (running with different names)?
lavalamp joined the channel
tonytan4ever joined the channel
nicksloan has quit
Dejan
malinoff, i could not reproduce it when I wanted
but it did happen in my local (testing) environment
I basically run 3 LX containers with the same configuration as in production/staging
the inspect active on SO is from production
malinoff
Dejan: we can't really help if you can't reproduce it reliably
Dejan
I know ... I hoped for some answer from people who encountered the same problem before
malinoff has quit
malinoff joined the channel
malinoff has quit
Debnet has quit
maryokhin has quit
maryokhin joined the channel
malinoff joined the channel
bltmiller joined the channel
jgadelange has quit
sp1rs has quit
fpokorny has quit
Mulugruntz joined the channel
Mulugruntz
hi!
I've been away for awhile (personal reasons....) and today i wanted to clear the issue with pull #3433
i have a script that calls a task in celery passing an object inherited from dict (sometask.delay(obj_inherited_dict)). when the task is going to be executed, obj_inherited_dict is a dict and not the original object i passed. what am i doing wrong?
the serializer is pickle for task and result
tonytan4ever has quit
sp1rs joined the channel
tonytan4ever joined the channel
mback2k_ is now known as mback2k
maryokhin joined the channel
mback2k is now known as mback2k_
krechet joined the channel
krechet
Hello. I had a couple of questions about Celery internals. I am trying to get the name of the current queue inside a bound task. What's the best way to accomplish this? I can get access to the routing key and the exchange, but for the life of me can't find a way to get the name of the queue.
maryokhin has quit
maryokhin joined the channel
maryokhin has quit
bltmiller has quit
nimrode has quit
nelsonm has quit
Kamilion has quit
synco has quit
tonyrose has quit
flound1129 has quit
a5m0 has quit
crlane- has quit
eljrax has quit
carlio has quit
nelsonm joined the channel
synco_ joined the channel
carlio_ joined the channel
flound1129 joined the channel
eljrax joined the channel
nimrode joined the channel
tonyrose joined the channel
a5m0 joined the channel
crlane joined the channel
Kamilion joined the channel
nicksloan joined the channel
nicksloan has quit
Crovax31_ has quit
virhilo has left the channel
bltmiller joined the channel
italorossi has quit
italorossi joined the channel
tonytan4ever has quit
tonytan4ever joined the channel
sp1rs has quit
bltmiller joined the channel
sp1rs joined the channel
maryokhin joined the channel
lavalamp has quit
maryokhin has quit
maryokhin joined the channel
mike_k has quit
lavalamp joined the channel
Mulugruntz has quit
Mulugruntz joined the channel
lavalamp has quit
italoros_ joined the channel
italorossi has quit
lavalamp joined the channel
dsterne has quit
dsterne joined the channel
mfilipe
i have a script that calls a task in celery passing an object inherited from dict (sometask.delay(obj_inherited_dict)). when the task is going to be executed, obj_inherited_dict is a dict and not the original object i passed. what am i doing wrong? the serializer is pickle for task and result and i'm using celery-4.0.2