mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #463] [FEATURE REQUEST] Support compress task payload #1227
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#1227
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @linhbkhn95 on GitHub (May 13, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/463
Originally assigned to: @hibiken on GitHub.
Is your feature request related to a problem? Please describe.
asynq, but it's payload size is big. So, I think whetherasynqshould support compress task payload when marshal task to save to redis.Describe the solution you'd like
gzip... to compress task before storing to redisDescribe alternatives you've considered

No
Additional context
Redis memory usage always be high
@hibiken commented on GitHub (May 15, 2022):
@linhbkhn95 Thank you for creating an issue!
In general, we recommend that you keep the memory footprint of each task small (e.g. payload contains IDs to various data).
Is it possible to store the data elsewhere and refer to it via IDs?
@linhbkhn95 commented on GitHub (May 16, 2022):
yeah, I think so. Currently, I also choose a solution like your choice.
many thanks.
@linhbkhn95 commented on GitHub (May 16, 2022):
So I will close this issue