Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
beanstalkd 1.5
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Keith Rarick  
View profile  
 More options Jan 29, 8:26 pm
From: Keith Rarick <k...@xph.us>
Date: Sun, 29 Jan 2012 17:26:53 -0800
Local: Sun, Jan 29 2012 8:26 pm
Subject: [ANN] beanstalkd 1.5
This is beanstalkd version 1.5. A lot of changes went into this release,
including some big improvements.

As always, there will be no incompatible protocol changes until version 2.0. A
client written for version 1.5 will work unmodified with any later 1.x
release of beanstalkd.

Highlights
----------

- removed dependency on libevent
- no more autotools; to build beanstalkd, just type "make"
- incremental binlog compaction; fixes #43
- removed flag -d; alternatives are in the "adm" directory

More News
---------

- switch to MIT license
- remove DEBUG compile flag
- more interesting make examples in README
- change default CFLAGS
- verbose mode; closes #52
- properly timeout reserve-with-timeout; fixes #78
- document that EPOLLRDHUP was introduced in Linux 2.6.17.
- read beanstalkd 1.4.6's log format for compatibility
- report size of attempted read for WAL read errors
- accurately report position of WAL file errors
- add file index to job stats
- clarify behavior of cumulative stats; closes #81
- adding support for counting deletes on a tube
- delete command now deletes delayed jobs
- fix segfault; closes #71
- bsd build fix; PATH_MAX is defined in limits.h
- bsd build fix; echo -n is not portable
- do not read in STATE_WAIT; fixes #22
- document the new binlog stats
- redo the WAL code, improving style
- more careful binlog read checking
- in log recovery, recompute delay with current time; fixes #62
- provide and document more system admin tools
- support systemd socket activation

Full list of changes in this release (includes authorship information):
<http://github.com/kr/beanstalkd/compare/v1.4.6...v1.5>

Our Urls
--------

Download the 1.5 tarball directly:
<https://github.com/downloads/kr/beanstalkd/beanstalkd-1.5.tar.gz>

Learn all about beanstalk:
<http://kr.github.com/beanstalkd/>

Talk about beanstalk development or use at:
<http://groups.google.com/group/beanstalk-talk>

Bugs
----

Please report any bugs to:
<http://github.com/kr/beanstalkd/issues>

kr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Rarick  
View profile  
 More options Jan 31, 1:41 am
From: Keith Rarick <k...@xph.us>
Date: Mon, 30 Jan 2012 22:41:54 -0800
Local: Tues, Jan 31 2012 1:41 am
Subject: Re: [ANN] beanstalkd 1.5
Please note that the format of log files produced by
flag -b (the “binlog”) has changed. Beanstalkd 1.5
can read older files, but earlier versions can’t read
files produced by beanstalkd 1.5 or later, so use
caution when migrating.

kr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Kieltyka  
View profile  
 More options Feb 2, 6:36 pm
From: Peter Kieltyka <peter.kielt...@nulayer.com>
Date: Thu, 2 Feb 2012 15:36:09 -0800 (PST)
Local: Thurs, Feb 2 2012 6:36 pm
Subject: Re: beanstalkd 1.5
Awesome work man! But, can you please put back the -d option? This is
still convenient at times.

On Jan 31, 1:41 am, Keith Rarick <k...@xph.us> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Rarick  
View profile  
 More options Feb 4, 6:53 pm
From: Keith Rarick <k...@xph.us>
Date: Sat, 4 Feb 2012 15:53:39 -0800
Local: Sat, Feb 4 2012 6:53 pm
Subject: Re: beanstalkd 1.5
On Thu, Feb 2, 2012 at 3:36 PM, Peter Kieltyka

<peter.kielt...@nulayer.com> wrote:
> Awesome work man! But, can you please put back the -d option? This is
> still convenient at times.

Can you give an example of what you're trying to do?
That'll help us look for a better alternative.

kr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fred Liangjing Wang  
View profile  
 More options Feb 4, 9:17 pm
From: Fred Liangjing Wang <i...@1e20.com>
Date: Sun, 5 Feb 2012 10:17:26 +0800
Local: Sat, Feb 4 2012 9:17 pm
Subject: Re: beanstalkd 1.5
I think many users enjoy use this option and some other tools also used -d option to start a daemon.

On 2012-2-5, at 7:53, Keith Rarick <k...@xph.us> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chad Kouse  
View profile  
 More options Feb 4, 9:56 pm
From: Chad Kouse <chad.ko...@gmail.com>
Date: Sat, 4 Feb 2012 21:56:56 -0500
Local: Sat, Feb 4 2012 9:56 pm
Subject: Re: beanstalkd 1.5
I agree it's handy. I run dedicated beanstalkd servers so I can see
the value. Ops team would appreciate only having one thing to monitor.
If its a big issue though it's no problem. We will make it work.
Thanks for the great work.

--chad

On Feb 4, 2012, at 9:21 PM, Fred Liangjing Wang <i...@1e20.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Rarick  
View profile  
 More options Feb 5, 1:08 am
From: Keith Rarick <k...@xph.us>
Date: Sat, 4 Feb 2012 22:08:18 -0800
Local: Sun, Feb 5 2012 1:08 am
Subject: Re: beanstalkd 1.5
On Sat, Feb 4, 2012 at 6:17 PM, Fred Liangjing Wang <i...@1e20.com> wrote:

> I think many users enjoy use this option and some other tools also
> used -d option to start a daemon.

This has been discussed here before.

For development purposes, one can run beanstalkd in the foreground
or use the shell's "&" notation to run in the background. It's just as
easy to type "beanstalkd &" as it is to type "beanstalkd -d".

For production deployment, popular monitoring tools like launchd,
systemd, upstart, supervisord, god, monit, runit, daemontools, etc
all work *more reliably* without a flag such as -d in beanstalkd. There
are a few examples of how to properly run beanstalkd in production in
https://github.com/kr/beanstalkd/tree/master/adm (and I'd really love
contributions for other monitoring tools that aren't in that dir yet).

Please read http://dustin.github.com/2010/02/28/running-processes.html
for a more thorough discussion of how to monitor processes in
production. This comes up often enough, maybe I should think
about writing a blog post to discuss this specifically in the context
of beanstalkd.

kr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Rarick  
View profile  
 More options Feb 5, 1:12 am
From: Keith Rarick <k...@xph.us>
Date: Sat, 4 Feb 2012 22:12:19 -0800
Local: Sun, Feb 5 2012 1:12 am
Subject: Re: beanstalkd 1.5

On Sat, Feb 4, 2012 at 6:56 PM, Chad Kouse <chad.ko...@gmail.com> wrote:
> I agree it's handy. I run dedicated beanstalkd servers so I can see
> the value. Ops team would appreciate only having one thing to monitor.
> If its a big issue though it's no problem. We will make it work.
> Thanks for the great work.

Thanks!

It really shouldn't be any more difficult to run beanstalkd without the
-d flag. I've tried to make switching more straightforward by including
several examples of configuration for production process-monitoring
tools. If there's anything else I can do to make life easier, I'd love to
hear about it.

Ops teams in particular should be pleased that -d is no longer there
to confuse the issue. It's easier to monitor a process that doesn't
daemonize itself.

kr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Kieltyka  
View profile  
 More options Feb 12, 1:11 pm
From: Peter Kieltyka <peter.kielt...@nulayer.com>
Date: Sun, 12 Feb 2012 10:11:14 -0800 (PST)
Local: Sun, Feb 12 2012 1:11 pm
Subject: Re: beanstalkd 1.5
Hey Keith,

What you're saying makes sense. It's better practice to let the OS's
init/launch mechanisms daemonize a process. Not to keep beating a dead
horse.. -d is convenient for quick deploys, without having to write
your own init script. Each variant of the OS has their own nuances and
it's annoying to have to fiddle with those scripts to boot the daemon.
beanstalkd & isn't a good option because you'll have to do some extra
work to handle the HUP on exit of the shell... something like
beanstalkd & disown, but depends on the OS.

It's really just a convenience thing.. and keeping -d doesn't take
away from sysops who want the OS to daemonize/manage the process.
Anyways, I'm done now :) whatever you decide is cool... beanstalkd is
awesome, good work on 1.5, its solid.

Peter

On Feb 5, 1:12 am, Keith Rarick <k...@xph.us> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Parrott  
View profile  
 More options Feb 13, 4:14 am
From: Thomas Parrott <thomas.parrott%infinity-tracking....@gtempaccount.com>
Date: Mon, 13 Feb 2012 01:14:35 -0800 (PST)
Local: Mon, Feb 13 2012 4:14 am
Subject: Re: beanstalkd 1.5
I too agree with using a proper process manager, however it would be
really useful to have the -d flag back, as everything else in our
stack daemonizes itself (apache, nginx, mysql, puppet, redis etc) and
moving to a process manager is more of a separate project (not one I
have time to look at atm). This leaves me with having to use & at the
end of the command line and this looks messy and does not play nicely
with Redhat init scripts.

On Feb 12, 6:11 pm, Peter Kieltyka <peter.kielt...@nulayer.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Parrott  
View profile  
 More options Feb 13, 4:16 am
From: Thomas Parrott <thomas.parrott%infinity-tracking....@gtempaccount.com>
Date: Mon, 13 Feb 2012 01:16:23 -0800 (PST)
Local: Mon, Feb 13 2012 4:16 am
Subject: Re: beanstalkd 1.5
As an aside, the example init script in the beanstalkd repo uses the -
d flag.

Maybe I am missing some feature in the Redhat init scripts that allows
daemonising a process that doesn't support it.

On Feb 13, 9:14 am, Thomas Parrott <thomas.parrott%infinity-


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Parrott  
View profile  
 More options Feb 13, 4:19 am
From: Thomas Parrott <thomas.parrott%infinity-tracking....@gtempaccount.com>
Date: Mon, 13 Feb 2012 01:19:17 -0800 (PST)
Local: Mon, Feb 13 2012 4:19 am
Subject: Re: beanstalkd 1.5
I opened issue 100 for this:

https://github.com/kr/beanstalkd/issues/100

On Feb 13, 9:16 am, Thomas Parrott <thomas.parrott%infinity-


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Rarick  
View profile  
 More options Feb 13, 5:01 pm
From: Keith Rarick <k...@xph.us>
Date: Mon, 13 Feb 2012 14:01:29 -0800
Local: Mon, Feb 13 2012 5:01 pm
Subject: Re: beanstalkd 1.5

>> As an aside, the example init script in the beanstalkd repo uses the
>> -d flag.

> I opened issue 100 for this:

Yes, that's an error. Thanks.

kr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »