Skip to content

Consider using an independent process #1

@sameoldlab

Description

@sameoldlab

goldfish currently is designed to run as a binary in a subprocess. This means there's a short period indexing the drive on every startup. Adding more data sources, or searching hidden files, will significantly increase indexing time especially since the launcher use case usually means searching all of $HOME.

One possible solution is to run as a separate process and provide a socket (or server?) to connect the running "instance". Changing this would likely mean:

  • no more cli parsing. search flags need to be sent over the ipc
  • "Proper" data format becomes for important for passing flags to a search and associating a query with the correct application
  • all the extra work related to caching and watching the filesystem for changes

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