No worries about keeping it meta. Part of this question was just to establish that what I was doing was sane and that there wasn't some obviously better way of doing things.
I feel as though reserving workitems from a "queue-like" storage participant would be an extremely common scenario and am surprised there aren't more storage participant methods to this effect (e.g. something as simple as a method to return unreserved workitems). Cheers, Gordon On Thu, Oct 10, 2013 at 2:43 PM, John Mettraux <[email protected]> wrote: > Hello Gordon, > > I'm not a fan of "best practice" questions, it's hard to answer, one can't > guess anything about the context where the "practice" has to apply. > > Feel free to implement your own storage participant with the reservation > routines you need. > > You've listed two techniques, implement those as your reservation routines. > Make sure you can switch at runtime. "Oh, technique A is not the right one > in > that can, let's switch that participant to technique B" (on the fly). Make > it > so that you can add technique C (and maybe deprecate technique A) later on. > > Make sure to add diagnostic/monitoring tools to your participant (or your > frontend to a vanilla ruote storage participant), so you can assess and > then > switch technique and/or develop better techniques. > > > Sorry for playing it meta. > > Best regards, > > -- > John Mettraux - http://lambda.io/jmettraux > > -- > -- > you received this message because you are subscribed to the "ruote users" > group. > to post : send email to [email protected] > to unsubscribe : send email to > [email protected] > more options : http://groups.google.com/group/openwferu-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "ruote" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Gordon L. Hempton http://codebrief.com 360.460.8098 -- -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en --- You received this message because you are subscribed to the Google Groups "ruote" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
