This is how batch works (Based on my Understanding)
1. Initialize
Initialize the batch processing. Based on the clients(Browsers) configuration on whether JavaScript is enabled or not.
JavaScript-enabled clients are identified by the 'has_js' cookie set in drupal.js. If no JavaScript-enabled page has been visited during the current user's browser session, the non-JavaScript version is returned.
If JavaScript enabled Batch uses ajax request the keep the connection alive across the request.
If JavaScript is not enabled Batch uses sets a meta tag in html to make regular refresh intervals to
When ever i am upset and frustrated with these corrupt polictics in India (2012), I used to watch this video Nellai Kannan's Speech about Kamaraj. I will be calm and will think Some Day there will be some one like him.
"An algorithm is a sequence of instructions given to a computer to perform a set of operations." is the common definition which we all learnt from the school days. A set of instructions is called methods or routine.
To solve a problem there are 'n' number of methods, The question is which one to choose ? or how to make your algorithm simple and fast. A computer is an idiot box, it just obeys your instructions.
A batch queue module for drupal developers. Recently in my project we need to run Drupal queue in Drush using sh scripts. I was also in the search for running queue faster and contiously as we would get huge amount of queue data.
I came across some use full post and module related to queue which i will share.
Recent comments