Better HN
topnewbestaskshowjobs
Log inSign up

amz3

2 karma · joined Dec 28, 2018 (7y ago) · 8 submissions

My pseudonym is "amz3" it's compressed representation of a morph-syntaxic combinatorics transderivationnal search in a graphical semantic space with the help of pattern matching that aggregates several senses. The induced experience while reading it is a reference to the Isaac Asimov novel «Little Lost Robot». I practice an obscure form of poetry named mezangelle.
Submissions

comment 7y ago · link · parent

I am working on one on top of foundationdb. See https://github.com/amirouche/asyncio-foundationdb. Chime in!

comment 7y ago · link · parent

They use migrations scripts.

comment 7y ago · link · parent

Tx for the (fast) reply.

The problem I have with SQS and SNS (and Celery) is you can not just throw tasks into it and eventually the system based on some hints scale up / down the workers. Of course you can rely on Lambdas but then you are locked with amazon (not need to mention that you can not control how much the lambdas will cost you).

Also, I disagree with you point that question tech/tool status-quo is NIH, hence is bad. I for instance, would like to be able to avoid vendor lock-in. Also, reinventing the wheel allows to stay in control. Using RabbitMQ and to some extent Celery or Kafka locks you up without much control since it's foreign code base with alien language.

comment 7y ago · link · parent

> How do they signal the workers to refresh their dynamic queue lists?

> Are they using a homebuilt queueing system or piggybacking on top of something like celery?

They prolly do. Other comments mention erlang. I don't know if braze use Erlang. After reading the dissertation about it http://erlang.org/download/armstrong_thesis_2003.pdf and my xp with Celery, it is clear that they have their own queueing system, maybe based on erlang. My understanding is that in erlang systems workers have much more knowledge than Celery workers about what happens in the whole system.

Celery workers are very simple: they poll for tasks in a single statically defined queue. There is no sens of priority, it's a FIFO queue. You emulate priorities with several queues each of which have a number of worker proportional to their priority. That's not that simple because it depends on the kind of tasks they must execute (e.g. how many times it takes to execute, kind of resources required by the task (RAM, CPU, IO, GPU)).

At the end of the day, I am not happy with Celery + RabbitMQ. I am also looking for dynamic queueing systems [0].

[0] https://github.com/celery/celery/issues/4901

comment 7y ago · link · parent

> “Managing” RabbitMQ is not rocket science.

We have many issues with RabbitMQ where most of our workload is background tasks with dozens of queues.

> That’s what cloud providers are for.

What cloud provider queueing system do you recommend?