The Pan Walla Patten.
Ever observed the Pan Walla carefully? He is actually the definition of a batch processing and a multi-tasking system.
Consider this Scenario:
Step 1: You place your request at the pan-walla for...say a 4 magai pan.
Step 2: He confirms your request.
Step 3: Starts making your pans.....by adding stuff to the bettle leaves....like Gulkand,Kaat, Limestone. by the order they are placed on the Big Round Golden plate.
Step 4: There comes another person and says that he wants 1 BlahBlah pan.
Step 5: He stop servicing your pans and started 1 pan from the scratch till they reach the same level.
Step 6: Again if another request comes then in that case if the earlier pans are almost done in that case he puts this request in buffer and continues with the earlier pans else he repeats steps 5 and 6 changing the values.
This thing can go in much deeper.... as in setting the values to be changed.... like controlling the max number of Pans to be prepared at a time. But if we take this as a pattern for Software development we will realize that we have already been using this pattern....The Batch Processing pattern.... and now that we know the panwalla pattern we can enhance that more by imagining the things properly with a panwallas holographic reference....like a circular que... Buffered request.
Guess what the panwalla just helped another s/w engineer.
Consider this Scenario:
Step 1: You place your request at the pan-walla for...say a 4 magai pan.
Step 2: He confirms your request.
Step 3: Starts making your pans.....by adding stuff to the bettle leaves....like Gulkand,Kaat, Limestone. by the order they are placed on the Big Round Golden plate.
Step 4: There comes another person and says that he wants 1 BlahBlah pan.
Step 5: He stop servicing your pans and started 1 pan from the scratch till they reach the same level.
Step 6: Again if another request comes then in that case if the earlier pans are almost done in that case he puts this request in buffer and continues with the earlier pans else he repeats steps 5 and 6 changing the values.
This thing can go in much deeper.... as in setting the values to be changed.... like controlling the max number of Pans to be prepared at a time. But if we take this as a pattern for Software development we will realize that we have already been using this pattern....The Batch Processing pattern.... and now that we know the panwalla pattern we can enhance that more by imagining the things properly with a panwallas holographic reference....like a circular que... Buffered request.
Guess what the panwalla just helped another s/w engineer.