Automattic / Automattic/kue

Send a buffer as data

Open
#1,162 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

I am trying to send `Buffer` as data into the queue, enabling the corresponding mode in Redis.
However after looking at the code for `kue` I found that there are multiple places where `JSON.Stringify` is used to convert the `Buffer` into an `Object`. Any plans for a new feature?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the multiple JSON.stringify calls mentioned in the issue and how jobs are stored and read through Redis. Check how Buffer values are currently converted, then define done as sending and retrieving a Buffer without converting it into a plain object while preserving existing job data behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.