Coding snippets, experiments and moments of madness, to moments of clarity.
For the past 6 months I’ve been working on setting up RabbitMQ for several tasks. As with anything it has it’s own share of seemingly tricky to navigate problems. I’m leaving these tips here as much for my own benefit later as for everyone else. When no_ack is set to true for basic_consume in AMQP 0.9.1 at least; that means the server does not expect an acknowledgement to be sent from the consumer when it receives a task i.e. if your consumer can fail for whatever reason, and you want a task to be requeued, set no_ack to false. One thing that plagued me for a while was seeing a PRECONDITION_FAILED message appear when a task failed on the consumer. Check your code, and then check it again to make sure that if you nack a task, that you don’t later ack it. Any blog post, or Stack Overflow article I ever
For the past few days, I've been back in Ireland at The Summit in Dublin with my colleague Tyson Miller. We're here with Recon Instruments, and we've met some of the smartest, coolest and most interesting people in the tech community. It's been fantastic to talk with these people, listening to the problems they are trying to solve and the challenges that they faced head on. There were some really amazing projects, and the talks we attended provided some great ideas that we can take away and work with. We were invited to an evening with IDA Ireland in the beautiful House of Lords in the Bank of Ireland building in the city centre. Meeting some of the conference speakers such as Tony Hawk and Jamie Heaslip proved a highlight, but listening to the insight of Jordan Casey - a 13 year old developer who has launched several apps in the…