binary payloads in messages

40 views
Skip to first unread message

Ilya Grigorik

unread,
Nov 9, 2009, 1:04:09 PM11/9/09
to beanstalk-talk
Hey guys, quick question: will beanstalk work fine with binary
payloads? The messages we're sending in for one of our applications
are rather large, so we want to gzip the JSON before throwing it into
beanstalk. Having said that, seeing some weird behavior (getting
RESERVED but no body), etc.

ig

Martin Sarsale

unread,
Nov 9, 2009, 1:09:55 PM11/9/09
to beansta...@googlegroups.com
We're gzipping the body without any problem.
Just make sure you change the max size of the job when you launch beanstalkd.

>
> ig
> >
>



--
Martin Sarsale
msn: mar...@malditainternet.com
jabber: martin....@gtalk.com
twitter: http://twitter.com/runixo
linkedin: http://www.linkedin.com/in/msarsale
sumavisos: http://www.sumavisos.com
blog: http://runa.tumblr.com

igrigorik

unread,
Nov 10, 2009, 8:25:44 AM11/10/09
to beanstalk-talk
Hmm, ok, interesting. We did up the size of the body already, so this
must be something else causing the errors.

cheers,
ig

On Nov 9, 1:09 pm, Martin Sarsale <martin.sars...@gmail.com> wrote:
> On Mon, Nov 9, 2009 at 3:04 PM, Ilya Grigorik <i...@aiderss.com> wrote:
>
> > Hey guys, quick question: will beanstalk work fine with binary
> > payloads? The messages we're sending in for one of our applications
> > are rather large, so we want to gzip the JSON before throwing it into
> > beanstalk. Having said that, seeing some weird behavior (getting
> > RESERVED but no body), etc.
>
> We're gzipping the body without any problem.
> Just make sure you change the max size of the job when you launch beanstalkd.
>
>
>
> > ig
>
> --
> Martin Sarsale
> msn: mar...@malditainternet.com
> jabber: martin.sars...@gtalk.com

Keith Rarick

unread,
Nov 10, 2009, 3:02:56 PM11/10/09
to beansta...@googlegroups.com
On Tue, Nov 10, 2009 at 5:25 AM, igrigorik <igri...@gmail.com> wrote:
> Hmm, ok, interesting. We did up the size of the body already, so this
> must be something else causing the errors.

Getting RESERVED with no body should simply not happen. Let me know if
you can find a way to reproduce it.

kr
Reply all
Reply to author
Forward
0 new messages