Skip to content
This repository was archived by the owner on Apr 1, 2023. It is now read-only.
This repository was archived by the owner on Apr 1, 2023. It is now read-only.

[Request] Add a method append #163

Description

@jamesst20

Hi,

I'm currently using a field in redis to log my worker informations.

This is how I do it currently:

  def log(message)
    store log: (retrieve(:log) || '').concat(message).concat("\n")
  end

It really isn't efficient, it's slow actually. Would it be possible to add a method 'append' or 'store_append' that uses the built in APPEND command from redis https://redis.io/commands/append ?

It probably would be much faster.

Thank you

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