Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New scanning strategy (MQ) #86

Open
rafaeljusto opened this issue May 22, 2014 · 2 comments
Open

New scanning strategy (MQ) #86

rafaeljusto opened this issue May 22, 2014 · 2 comments
Assignees

Comments

@rafaeljusto
Copy link
Owner

We realized that for some systems is important to scan the domains along of the day, instead trying to do as faster as we can. This can make the system less aggressive for nameservers and don't exhaust the registry or provider link.

To achieve this approach we could also use message queue (RabbitMQ, ZeroMQ, ...) as input and output of domains. Each domain would have an execution time in the day that would be respected by the scan system. So in the end we would have a priority queue.

The idea of using message queue is that we can use it with the Shelter internal database or as a new interface for integrating with the registry system. The idea of a new interface is that the registry don't need to control two databases (their own and the shelter database), but is responsible for selecting and setting the execution time of each domain added to the input queue.

This ideas were given by Mauro Trajber and Hugo Kobayashi.

@rafaeljusto
Copy link
Owner Author

RabbitMQ and ZeroMQ aren't priority queues, so we need to think better how to work with queues. The scan injector and collector should also become interfaces to allow different kinds of input/output.

@rafaeljusto
Copy link
Owner Author

We could use Redis. Check http://redis.io/commands#sorted_set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant