Skip to content

Data and Index file size configuration #32

Description

@choiyoung206

Hi,
I was was looking for a persistent queue for my projects, and I found bigqueue with great performance. I was testing with some test program and found following things :

  1. When I call removeAll method of queue, it deletes all the data files. But it doesn't remove the folders created for the queue. So Is there any way through which I can remove all the files and folders of the queue?

  2. A queue needs minimum 160MB memory for working which includes 32MB index file + 128MB data file. Now, In my use case I create a lot of queues and the data in those queues will rarely reach the size of 128MB, I don't want the queue to use this much disk size as in my case this is unnecessary. So Is there any way through which I can configure how much disk size it should use. Or the 128MB data file + 32MB index file is the default size in the queue
    Please respond.

Thanks

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