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

Feature request: make request storage configurable and pluggable #145

Open
tanguilp opened this issue Dec 9, 2020 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@tanguilp
Copy link

tanguilp commented Dec 9, 2020

As far as I understand, requests are necessarily stored in a GenServer's state (Crawly.RequestStorageWorker) and it is not possible to plug its own storage module.

This has some disadvantages:

  • it doesn't support restart of the server
  • it cannot be distributed on several nodes

It would be nice if this module was configurable. That would make backends such as Mnesia or SQL databases possible, enabling distributed crawling.

@oltarasenko
Copy link
Collaborator

Yes, it's absolutely true. We had plans both for Request/Items storages to be able to share and recover states... however it turned out that for now, we did not have that demand. At least not yet, so this part of the work was abandoned for a while.

@oltarasenko oltarasenko added the enhancement New feature or request label Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants