Skip to content

11.2 poolboy implementation no longer uses phash2 #30

@tisdall

Description

@tisdall

My understanding of the earlier Todo.Database.choose_worker/1 was to ensure only 1 worker ever touched a database file at a time (ie avoid collisions writing to the files). In 11.2 the database components are altered to have a pool of 3 workers, but there's no longer anything preventing file collisions.

The point of the exercise was to switch over to using a dependency, but I was wondering if my assertions above are correct or if I missed something.

(BTW, this book is really good and I appreciate the github repo with full examples!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions