List in redis is fast and easy, no need to use pub/sub, just do bpop. You can even just have the key for a big db record in redis and then do all the status tracking and whatnot there - that gives you the best of both. Most people have lots of info that they want to keep about an entity, so you have your records in a db with a few fields for processing step number, who is working on it, status, etc. Then you throw the id in a redis list, have the workers bpop the id, update the status field in the db and the "who is working on this record" field and start chugging along. Update the "step number" field to have a fine grained way to track where/when workers are getting hung or are dying.
Very good sir. Checking, one moment. Ah, yes I have an opening at the "this and all benchmarks suck" circle and one at the "development speed is the most important thing and fuck you, because AWS" circle.
Or if perhaps you prefer something more exotic, we have a "php is the wrong answer, period" circle in a private room, but the pricing for that is more, shall we say, 'exclusive'.
This was a heartbreaking and non-theoretical question in the aftermath of the Oakland Hills firestorm. Many homes were burned so completely that nothing remained at all - nothing, I've never seen anything like it - cars were burnt to the frame, cement foundations were all that was there for block after block, afterwards addresses were spraypainted on foundations or burnt out cars because you couldn't really tell where a given address was. I drove through there a couple days after, it was indescribable. It was the time in my life that I most wish I had a video camera. http://en.wikipedia.org/wiki/Oakland_firestorm_of_1991
Some people escaped with nothing, but lived - winds were gusting over 70 miles an hour, firefighers describe trees "exploding", narrow streets were blocked, some people literally ran for their lives. This was pre-web so no one had family photos stored online, etc.
I like to have a similar structure for jobs, regardless of where/how they are managed - seeing the failed jobs in the running "state"/queue (I even have the workers update the step they are on, so I can see where things are failing) - allows me to watch for patterns in the failures, it is mostly 1 worker or one file is failing over and over or workers on a certain machine or set of machines, etc.
I wasn't terribly clear but what I was saying is -
We were able to take redis and a (now) extremely old version of https://github.com/nrk/predis/ predis (so old that it was just a single file and didn't even include a version number anywhere)
And using that very old, very minimal php lib and just blpop/etc, we are able process millions of queued items per week - php workers placing work in the queues and perl and php workers grabbing the work and processing it. No problems at all, very low overhead in terms of code size, runtime memory/cpu utilization, etc.
So you don't need kestrel, pub/sub, JMS, ActiveMQ/0MQ, RabbitMQ or any fancy, big, complex systems to use redis to do alot of "useful" work.
There tends to be this gravitating towards making sure you have a bunch of "machines that go ping" http://en.wikipedia.org/wiki/Monty_Python%27s_The_Meaning_of_Life
I am trying to promote some form of software/IT minimalism
Me [too] - without using pub/sub or another crap on top of it.
Still using the one file version of predis? lib - so old it didn't have a version string in it. Had to diff it with old commits on github to figure out what version it was.
This guy helped people at UC Berkeley who were stuck doing their PhD thesis. That seemed to me to be a highly motivated and academically successful bunch of people and if they got stuck, they must have really been stuck.
There was a kickstarter project (or similar) trying to get money for some design on a poor area's buildings in Oakland or LA?
One of the other, extremely interesting to me, projects was somewhere in South/Central Amerca there is an area that does not allow commercial billboards or signage at all.
SPC has that exact description:
Sony Pictures Classics (SPC): Specializes in acquiring distribution rights to independent and art films as well as producing lower-budget productions geared to limited audiences.
Look at that, just what veroEgiusto described...
Also:
Sony Pictures Releasing
Sony Pictures Releasing International
Enso-Gutzeit started producing dish draining closets in 1948. Since 1954, dish draining closets were made of plastic-coated steel wire to help keep them clean. The measurements for the closets were standardised in 1982.
Not, that one - this is where they are at the studio and it is their first episode after doing the Book of Mormon play and if follows the Human CentiPad episode. I don't know the name.
The making of a South Park episode show was a goldmine of ideas for how to get stuff done. Having a time limit seemed to be a key for them to stop the writing process.
I find detaching your thinking from linear, reality based thinking for animated stuff is really hard - I am constantly surprised at the creativity of animated shows.
One that got me was the episode of SP when the kids take over the town and voice messages are delivered in empty canning jars - I was like - how do you think of that. Family Guy when Peter and the kids create an animated series with ducks...
It has no concept of sitting idle waiting for something to happen.
Someone better tell my 100s of php processes that are waiting for redis to tell them there is a new piece of work to come their way, they must be using "secret CPU" because they aren't using any CPU I can measure - but then neither are perl ones.
But then someone grabs the encrypted string from the wire (public wifi) and they have what is needed to login?
Wrong post. But as people commented there, even if there are more rolls - there is no way to process them.
Tim Robbins made a documentary about this with the woman from the Coca Cola kid.
Yes, I have invoked Eric Roberts.
Woah, woah, a few more steps down that path and you'll being writing the next "50 Shades of Grey".
Yes, I agree - 1940s-ish - cool, noir.
cotton kills, so they say...
Hand photographed by hipsters - their time is very expensive and the selling price reflects that.
List in redis is fast and easy, no need to use pub/sub, just do bpop. You can even just have the key for a big db record in redis and then do all the status tracking and whatnot there - that gives you the best of both. Most people have lots of info that they want to keep about an entity, so you have your records in a db with a few fields for processing step number, who is working on it, status, etc. Then you throw the id in a redis list, have the workers bpop the id, update the status field in the db and the "who is working on this record" field and start chugging along. Update the "step number" field to have a fine grained way to track where/when workers are getting hung or are dying.
We flew a calculator in a soda can to the moon and back and all we got was people saying we didn't really do it.
Wait, are you saying that you are withholding information about icecream toppings for pizza? Delivered?
You bastard.
The sms thing is reposting/retelling that is a 5 year old story about sms costs.
/r/karmaconspiracy researches these and similar important topics.
Very good sir. Checking, one moment. Ah, yes I have an opening at the "this and all benchmarks suck" circle and one at the "development speed is the most important thing and fuck you, because AWS" circle.
Or if perhaps you prefer something more exotic, we have a "php is the wrong answer, period" circle in a private room, but the pricing for that is more, shall we say, 'exclusive'.
This was a heartbreaking and non-theoretical question in the aftermath of the Oakland Hills firestorm. Many homes were burned so completely that nothing remained at all - nothing, I've never seen anything like it - cars were burnt to the frame, cement foundations were all that was there for block after block, afterwards addresses were spraypainted on foundations or burnt out cars because you couldn't really tell where a given address was. I drove through there a couple days after, it was indescribable. It was the time in my life that I most wish I had a video camera. http://en.wikipedia.org/wiki/Oakland_firestorm_of_1991
Some people escaped with nothing, but lived - winds were gusting over 70 miles an hour, firefighers describe trees "exploding", narrow streets were blocked, some people literally ran for their lives. This was pre-web so no one had family photos stored online, etc.
I like to have a similar structure for jobs, regardless of where/how they are managed - seeing the failed jobs in the running "state"/queue (I even have the workers update the step they are on, so I can see where things are failing) - allows me to watch for patterns in the failures, it is mostly 1 worker or one file is failing over and over or workers on a certain machine or set of machines, etc.
I wasn't terribly clear but what I was saying is -
We were able to take redis and a (now) extremely old version of https://github.com/nrk/predis/ predis (so old that it was just a single file and didn't even include a version number anywhere)
And using that very old, very minimal php lib and just blpop/etc, we are able process millions of queued items per week - php workers placing work in the queues and perl and php workers grabbing the work and processing it. No problems at all, very low overhead in terms of code size, runtime memory/cpu utilization, etc.
So you don't need kestrel, pub/sub, JMS, ActiveMQ/0MQ, RabbitMQ or any fancy, big, complex systems to use redis to do alot of "useful" work.
There tends to be this gravitating towards making sure you have a bunch of "machines that go ping"
http://en.wikipedia.org/wiki/Monty_Python%27s_The_Meaning_of_Life
I am trying to promote some form of software/IT minimalism
Me [too] - without using pub/sub or another crap on top of it.
Still using the one file version of predis? lib - so old it didn't have a version string in it. Had to diff it with old commits on github to figure out what version it was.
If you turn off all the crap in your prefs, it always says reddit on the left.
Fedora has a minimal/server option in the installer - I run out going mail servers with 300 MB ram and haven't had to reboot them in a year or more.
More minimal are the BSDs - OpenBSD standard install is very minimal, DFBSD, etc.
This guy helped people at UC Berkeley who were stuck doing their PhD thesis. That seemed to me to be a highly motivated and academically successful bunch of people and if they got stuck, they must have really been stuck.
http://www.amazon.com/The-Now-Habit-Overcoming-Procrastination/dp/1585425524
There was a kickstarter project (or similar) trying to get money for some design on a poor area's buildings in Oakland or LA?
One of the other, extremely interesting to me, projects was somewhere in South/Central Amerca there is an area that does not allow commercial billboards or signage at all.
it does, that is not public domain like it is supposed to be.
SPC has that exact description:
Sony Pictures Classics (SPC): Specializes in acquiring distribution rights to independent and art films as well as producing lower-budget productions geared to limited audiences.
Look at that, just what veroEgiusto described...
Also:
Sony Pictures Releasing Sony Pictures Releasing International
More examples are to be found, if looked for.
Enso-Gutzeit started producing dish draining closets in 1948. Since 1954, dish draining closets were made of plastic-coated steel wire to help keep them clean. The measurements for the closets were standardised in 1982.
Does anyone know the measurements?
http://en.wikipedia.org/wiki/Dish_draining_closet
Not, that one - this is where they are at the studio and it is their first episode after doing the Book of Mormon play and if follows the Human CentiPad episode. I don't know the name.
The making of a South Park episode show was a goldmine of ideas for how to get stuff done. Having a time limit seemed to be a key for them to stop the writing process.
I find detaching your thinking from linear, reality based thinking for animated stuff is really hard - I am constantly surprised at the creativity of animated shows.
One that got me was the episode of SP when the kids take over the town and voice messages are delivered in empty canning jars - I was like - how do you think of that. Family Guy when Peter and the kids create an animated series with ducks...
Someone better tell my 100s of php processes that are waiting for redis to tell them there is a new piece of work to come their way, they must be using "secret CPU" because they aren't using any CPU I can measure - but then neither are perl ones.