<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7893428062385420037</id><updated>2012-02-06T04:03:00.897-08:00</updated><category term='Firefox'/><category term='SpiderMonkey'/><category term='JavaScript'/><category term='MapReduce'/><category term='Language'/><category term='Hadoop'/><title type='text'>Digital serialization of "I"</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-5373298487337572458</id><published>2012-02-05T00:46:00.000-08:00</published><updated>2012-02-05T00:49:19.625-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Language'/><category scheme='http://www.blogger.com/atom/ns#' term='SpiderMonkey'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title type='text'>Hybrid Type Inference support in SpiderMonkey</title><content type='html'>&lt;div style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;style&gt;&lt;!-- /* Font Definitions */@font-face {font-family:"ＭＳ 明朝"; mso-font-charset:78; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:1 134676480 16 0 131072 0;}@font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-1593833729 1073750107 16 0 415 0;}@font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-1593833729 1073750107 16 0 415 0;}@font-face {font-family:Cambria; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-536870145 1073743103 0 0 415 0;} /* Style Definitions */p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; mso-themecolor:hyperlink; text-decoration:underline; text-underline:single;}a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}.MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}@page WordSection1 {size:595.0pt 842.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;}div.WordSection1 {page:WordSection1;} /* List Definitions */@list l0 {mso-list-id:1606109950; mso-list-type:hybrid; mso-list-template-ids:-1474810198 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}@list l0:level1 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level2 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level3 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}@list l0:level4 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level5 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level6 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}@list l0:level7 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level8 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level9 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}@list l1 {mso-list-id:1680085379; mso-list-type:hybrid; mso-list-template-ids:1955212242 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}@list l1:level1 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l1:level2 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l1:level3 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}@list l1:level4 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l1:level5 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l1:level6 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}@list l1:level7 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l1:level8 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l1:level9 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}ol {margin-bottom:0cm;}ul {margin-bottom:0cm;}--&gt;&lt;/style&gt;       &lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Few days ago, Firefox prompted me with the pop up window to download and update itself with its recently released version 9.0. I got curious to know about what is new in this version and hence went to read the release notes from Mozilla. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;In a very small duration of time, I got delighted with the fact that this release has JavaScript performance improvements as one of the major highlights. I got fascinated with performance improvement claims (~30%) in JavaScript execution. Upon further digging in, my curiosity kept on increasing, when I started reading about its &lt;i&gt;“Hybrid Type Inference”&lt;/i&gt; support in its JavaScript engine “SpiderMonkey”. &amp;nbsp;After studying in detail, it became pretty clear that this is a very significant change in execution strategy for JavaScript and has the potential to set a new trend altogether. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;JavaScript as a language has established itself as the de-facto language for client side programming in the world of web development. Its vast popularity across the globe has generated immense interest of global developer’s community and many corporates in this language. This has created a very healthy competition amongst different vendors who want to dominate in the browser war. Google’s Chrome was the first one, which actually introduced a lot many new radical changes in its V8 engine, which forked huge performance improvements in the language execution. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;One of the most important was the introduction of JIT compilation in JavaScript. Use of JIT compilation rather than interpretation has generated huge performance benefits. Still the language takes a back seat when you compare the performance of the language with some of the other established languages which use JIT compilation like Java, C# etc.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Where is the gap?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;This gap is mostly because JavaScript provides a lot of freedom to its developers. Execution engine pays the cost of this freedom. What kind of freedom, we are talking about here? This freedom is primarily the freedom of developers to treat any variable as any type and the freedom of type extension at runtime. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Let’s get into the detail of the first type of freedom (Typeless nature of language): Languages like JavaScript don’t have the notion of static type, which becomes a bottleneck in generating a very efficient machine code. Let’s consider a very simple case of adding two integer variables and assign the sum to a third variable. If the compiler has to generate a code, where in it has no idea that it is a sum operation of integers then it will emit code which should be able to handle addition of any two types of variables be it int, float, string etc. But assume when the compiler has the knowledge of the types of the variables, which are going to be added then in such cases it become very easy and straightforward for the compiler to generate machine code, which can handle integer addition and the sum results into an integer. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Pure static analysis for Type inference a rescue?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;It becomes quite clear that to achieve the performance of languages like Java, C#, generation of Type specific code is quite important. Unfortunately, for wild language like JavaScript, this is not a straightforward task. One way to achieve this is by performing purely static analysis of the code. But the challenge here is that because of the openness of the language, any pure static analysis for inferring Types becomes so computationally heavy that it does not pay for the performance improvements, which it brings in. Also, because the language is Type less and supports prototype for object extension at runtime, it becomes almost impossible for any static Type analyzer to emit out precise code with all type variants. And not generating code for all possible Types is like changing the expected behavior of the code, which by no means can be regarded as a sound strategy.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Here comes the very interesting strategy for type inference implemented in SpiderMonkey shipped with firefox version 9. It supports a hybrid approach to achieve Type inference. This strategy is an outcome of the acceptance of following facts explained earlier.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;1.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;Compiled machine code, which does not have Type notion can’t be as efficient as the one, which gets generated after Type inference.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;2.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;For any pure static analyzer for Type inference, it is quite impossible to do justice on all the fronts: &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; margin-left: 72pt; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;a.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;Sound code: The emitted code should be able to take care of all possible Types and object extension at runtime. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; margin-left: 72pt; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;b.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;Cost of analysis: The analyzer should not be very computationally heavy, otherwise the static analysis offsets the performance benefits at the runtime.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;3.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;If we also take into consideration the usage pattern of JavaScript code for many different websites, then it can be realized that many of the times, we end up loading huge amount of JavaScript code for the website but only end up using a small fraction of it. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;The Hybrid approach is nothing but to account for only a subset of Types during static analysis and the ones, which are not accounted during the static Type inference analysis, there should be a way to catch those cases dynamically. This approach not only generates the optimized machine code for the most expected Types in the code by doing static Type inference, but also keeps a provision to catch dynamically at the run time for all those cases, which do not score very high as a candidate for possible Type during static analysis. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Of course this approach is not so simple in implementation as it has to provide the capability of dynamically catching the uncommon cases. If you combine the object’s Type extension capability in the language with the earlier challenge then it actually becomes quite complicated scenario. There are many things, which need to be considered while having such a flexible strategy. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;1.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;Precise and efficient static analyzer.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;2.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;Capability to dynamically catch cases which are not handled through the static analyzer. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;3.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;Dynamically catching the uncommon cases also comes with a cost, which&amp;nbsp; is not there in the Typed languages. To reduce this further, have provision of supplemental analysis like overflow scenario, definite properties inside objects etc.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;4.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;Recompilation of the code at the runtime to handle the case where in a new Type is identified at the runtime, which was not taken into consideration by the static analyzer.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;5.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;More complicated memory management: Type inference by static analyzer and capability to recompile the code while it is running also brings in additional overhead to memory management. The execution engine needs to ensure that it is only keeping the relevant compiled code in memory and the garbage collector is collecting the rest. &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;To handle these things, Firefox has not only changed its JavaScript engine (SpiderMonkey) but also had to made relevant changes in its JIT compiler (JaegerMonkey).&amp;nbsp; If you go into the details of the implementation there are so many things being introduced like sematic triggers, Type constraints, Type barriers etc… But yes these core changes have definitely justified the performance benefits, which it has created. I can’t even imaging, how many million man-hours are being saved by enhancing the performance of the most popular language for client side web development.&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt; Hats off to those engineers involved in this improvement.&lt;/span&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Here are some of the relevant links related to this topic:&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.mozilla.org/en-US/firefox/9.0/releasenotes/"&gt;http://www.mozilla.org/en-US/firefox/9.0/releasenotes/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://people.mozilla.org/%7Elmesa/ti-draft.pdf"&gt;http://people.mozilla.org/~lmesa/ti-draft.pdf&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://arstechnica.com/open-source/news/2011/12/firefox-9-slinks-onto-the-scene-with-fancy-javascript-optimizations.ars"&gt;http://arstechnica.com/open-source/news/2011/12/firefox-9-slinks-onto-the-scene-with-fancy-javascript-optimizations.ars&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://labs.oracle.com/self/papers/pics.html"&gt;http://labs.oracle.com/self/papers/pics.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: none repeat scroll 0% 0% white; font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: #222222;"&gt;Signing off for this time with a request to provide your fruitful comments…&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: none repeat scroll 0% 0% white; font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: #222222;"&gt;--&lt;i&gt;RBK&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-5373298487337572458?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/5373298487337572458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2012/02/hybrid-type-inference-support-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/5373298487337572458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/5373298487337572458'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2012/02/hybrid-type-inference-support-in.html' title='Hybrid Type Inference support in SpiderMonkey'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><thr:total>1</thr:total><georss:featurename>Gurgaon, Delhi, India</georss:featurename><georss:point>28.46385 77.01783799999998</georss:point><georss:box>-8.124747999999997 17.252212999999983 65.052448 136.78346299999998</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-4512933496694520627</id><published>2012-01-26T01:03:00.000-08:00</published><updated>2012-01-26T01:17:28.426-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MapReduce'/><category scheme='http://www.blogger.com/atom/ns#' term='Hadoop'/><title type='text'>MapReduce v/s SQL</title><content type='html'>&lt;div style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;style&gt;&lt;!-- /* Font Definitions */@font-face {font-family:"ＭＳ 明朝"; panose-1:0 0 0 0 0 0 0 0 0 0; mso-font-charset:128; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:fixed; mso-font-signature:1 134676480 16 0 131072 0;}@font-face {font-family:"ＭＳ ゴシック"; panose-1:0 0 0 0 0 0 0 0 0 0; mso-font-charset:128; mso-generic-font-family:modern; mso-font-format:other; mso-font-pitch:fixed; mso-font-signature:1 134676480 16 0 131072 0;}@font-face {font-family:"ＭＳ ゴシック"; panose-1:0 0 0 0 0 0 0 0 0 0; mso-font-charset:128; mso-generic-font-family:modern; mso-font-format:other; mso-font-pitch:fixed; mso-font-signature:1 134676480 16 0 131072 0;}@font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;}@font-face {font-family:Cambria; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-536870145 1073743103 0 0 415 0;} /* Style Definitions */p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}h1 {mso-style-priority:9; mso-style-unhide:no; mso-style-qformat:yes; mso-style-link:"Heading 1 Char"; mso-style-next:Normal; margin-top:24.0pt; margin-right:0cm; margin-bottom:0cm; margin-left:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan lines-together; page-break-after:avoid; mso-outline-level:1; font-size:16.0pt; font-family:Calibri; mso-ascii-font-family:Calibri; mso-ascii-theme-font:major-latin; mso-fareast-font-family:"ＭＳ ゴシック"; mso-fareast-theme-font:major-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:major-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:major-bidi; color:#345A8A; mso-themecolor:accent1; mso-themeshade:181; mso-font-kerning:0pt;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; mso-style-type:export-only; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; mso-add-space:auto; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}span.Heading1Char {mso-style-name:"Heading 1 Char"; mso-style-priority:9; mso-style-unhide:no; mso-style-locked:yes; mso-style-link:"Heading 1"; mso-ansi-font-size:16.0pt; mso-bidi-font-size:16.0pt; font-family:Calibri; mso-ascii-font-family:Calibri; mso-ascii-theme-font:major-latin; mso-fareast-font-family:"ＭＳ ゴシック"; mso-fareast-theme-font:major-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:major-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:major-bidi; color:#345A8A; mso-themecolor:accent1; mso-themeshade:181; font-weight:bold;}.MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"ＭＳ 明朝"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}@page WordSection1 {size:595.0pt 842.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;}div.WordSection1 {page:WordSection1;} /* List Definitions */@list l0 {mso-list-id:1895582913; mso-list-type:hybrid; mso-list-template-ids:-1130704224 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}@list l0:level1 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level2 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level3 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}@list l0:level4 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level5 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level6 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}@list l0:level7 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level8 {mso-level-number-format:alpha-lower; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt;}@list l0:level9 {mso-level-number-format:roman-lower; mso-level-tab-stop:none; mso-level-number-position:right; text-indent:-9.0pt;}ol {margin-bottom:0cm;}ul {margin-bottom:0cm;}--&gt;&lt;/style&gt;       &lt;/div&gt;&lt;div style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;  &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;I was exposed to the MapReduce paradigm couple of years ago and am in touch with the open source implementation of MapReduce framework (Hadoop) since then. &lt;a href="http://www.clickable.com/"&gt;We&lt;/a&gt; started to play with &lt;a href="http://hadoop.apache.org/" target="_blank"&gt;Hadoop&lt;/a&gt; actively to understand the pros and cons of the framework and as of today we have considerably progressed by building our new platform backed by this powerful distributed computing framework.   &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;During this whole journey, we encountered many challenges and questions. One of the most frequent query was why not SQL based systems and why Hadoop? After going through various discussions, technical articles and my own exposure to this system, I thought of sharing my own experience around this very frequent query originating from different development community.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;The concept of MapReduce was actually brought in to solve the scale problem when you are dealing with huge amount of data, which nowadays is not a problem that exists only for big corporate houses (like Google, Microsoft etc.). With the bloat of information everywhere, this problem of dealing with huge data set has become a more common problem than earlier.&amp;nbsp; Most of the times people try to solve it with the conventional systems like SQL. Many of the places, it has been successful up to some extent, but beyond a threshold, it becomes really very challenging to tackle this problem with those conventional systems. There are many reasons of this challenge.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: 36pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;1.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;&lt;b&gt;Unstructured data processing:&lt;/b&gt; SQL systems are optimized to deal with structured data. The whole concept of relational databases is based on the notion of relational schema to store information, which becomes a challenging when you are dealing with unstructured data. In such cases you end up retro fitting your information in a tight schema, which creates challenge while digging out insight from the data.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpFirst" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;2.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;&lt;b&gt;Control on processing steps:&lt;/b&gt; SQL mostly is a language, which is declarative in nature, and when you use SQL for querying information, you pass on your interest in result and the data sources from where this information can be retrieved. The actual details of how to get to the result still lies under the control of query processing engine. So, you are left with nothing (Most of the time you can only pass on some clue/hint to the engine to influence its strategy of processing), but to rely upon the genius of processing engine to provide you the data through optimal processing.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;3.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;&lt;b&gt;Scale (out v/s up): &lt;/b&gt;Conventional systems like relational databases are designed to work on monolithic systems rather than distributed clusters. This imposes the constraint that while addressing the scale issue, you will end up buying costlier hardware. One thing worth noting here is that cost of the hardware does not increase linearly, meaning the cost of one machine having 5 times power than a standard machine is more than 5 times costlier than the standard machine. Because of this equation, it makes more sense to address the scale challenge horizontally than vertically. That means if you build framework where in you can scale by just adding more no. &amp;nbsp;of machines, it makes more sense. Of course adding more machines comes with an overhead of more co-ordination requirements. For which if you have at your luxury a framework like Hadoop, then it can be a smart move to approach for scale out using such frameworks.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;4.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;&lt;b&gt;Offline v/s online processing:&lt;/b&gt; The original requirement because of which the MapReduce framework originated was around processing huge amount of data without caring about items like realtime processing, transaction support etc. Hence these systems are more optimized for offline processing rather than realtime processing of data. Though there are many other technologies, which are trying to address these pieces as well, but still as of today, in the heart of the framework, it is fundamentally a offline distributed processing framework.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpMiddle" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoListParagraphCxSpLast" style="font-family: Verdana,sans-serif; text-align: justify; text-indent: -18pt;"&gt;&lt;span style="font-size: small;"&gt;5.&lt;span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt; &lt;/span&gt;&lt;b&gt;Raw talent v/s conventional wisdom: &amp;nbsp;&lt;/b&gt;Relational database systems have existed in the industry for quite a few years and it has catered to the need of its age very successfully. These successful years of SQL adoption in the s/w industry has produced a lot of experts around that technology. &amp;nbsp;So, when you are using SQL based systems, you have the luxury to have these expert advices. On the contrary, in the MapReduce world, the thought process is quite different and during your initial days of its adoption, it is very likely that you may end up designing your system in the relational way even though underlying you tend to use these new frameworks. Design and thought process in MapReduce requires a raw thought process, and the moment you try to retrofit this with conventional thought process of how to build your stack thinking about entities and its relationships, you debar yourself from gaining the juice of MapReduce framework. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Conclusion &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;This post certainly does not cover each and every aspect of both the systems, but IMHO, it provides you some data point to think about while you are planning to build your stack around these technologies. Obviously, the intent of the post is not to prove anything, but to dig out different relevant points around these technologies. For a given requirement, it is even possible (and it is not very remote possibility in many of the cases) that you end up building your stack with a marriage of both these technologies. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Signing off for right now with a request to provide your fruitful comments… &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Verdana,sans-serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;--&lt;i&gt;RBK&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Verdana,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;      &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-4512933496694520627?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/4512933496694520627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2012/01/mapreduce-vs-sql.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/4512933496694520627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/4512933496694520627'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2012/01/mapreduce-vs-sql.html' title='MapReduce v/s SQL'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><thr:total>3</thr:total><georss:featurename>Gurgaon, Delhi, India</georss:featurename><georss:point>28.46385 77.01783799999998</georss:point><georss:box>-8.124747999999997 17.252212999999983 65.052448 136.78346299999998</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-3463141440925435734</id><published>2012-01-24T08:49:00.000-08:00</published><updated>2012-01-26T00:52:01.381-08:00</updated><title type='text'>Tanhai...</title><content type='html'>&lt;div class="MsoNormal" style="font-family: verdana; font-style: italic;"&gt;Har bita lamha apni ek tasveer liye aata hai,&lt;br /&gt;Mujhe  meri &lt;span class="il"&gt;tanhai&lt;/span&gt; mein dara jata hai.&lt;br /&gt;Mujhe khud se nahin apni &lt;span class="il"&gt;tanhai&lt;/span&gt; se ummid hoti hai,&lt;br /&gt;Aur ek ajeeb si bechaini uski taqdeer hoti hai.&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: verdana; font-style: italic;"&gt;&lt;span class="il"&gt;Tanhai&lt;/span&gt; mujhse sach kahne ko kahti hai,&lt;br /&gt;Kabhi kabhi to jid  karne lagti hai,&lt;br /&gt;Main use jhoothla nahin pata hoon,&lt;br /&gt;Chah kar bhi kabhi jeet nahin pata hoon.&lt;br /&gt;&lt;br /&gt;Main khud se baat karna chahta hoon,&lt;br /&gt;Kuch paheliyon ka hal dhoondhna chahta hoon.&lt;br /&gt;Par &lt;span class="il"&gt;tanhai&lt;/span&gt; ko mujh pe bharosa nahin hai,&lt;br /&gt;aur ab to mujhko bhi yakeen yahi hai.&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: verdana; font-style: italic;"&gt;Band aankhon mein roshni jab chamkti hai,&lt;br /&gt;Sannate  mein kisi ki aahat jab khatkti hai.&lt;br /&gt;Tab har baar meri &lt;span class="il"&gt;tanhai&lt;/span&gt; mujhse pahle jagti hai,&lt;br /&gt;Aur mujhe jagakar badi bedard si hansti hai.&lt;br /&gt;&lt;br /&gt;Wo mera kuch nahin kar payegi ye janta hoon,&lt;br /&gt;Per phir bhi achanak se apne ko dara hua pata hoon.&lt;br /&gt;Aur khusi hoti hai ki kabhi to main sach se darta hoon,&lt;br /&gt;Aur in sab ke baad bhi usse baat karne ko tadpta hoon.&lt;br /&gt;&lt;br /&gt;Ek khwahish hai kabhi to wo mujhe raasta bataye&lt;br /&gt;Uske jaisa kyun nahin hoon, ye samjhaye.&lt;br /&gt;Lekin poochne ke pahle hi phir se dar jata hoon,&lt;br /&gt;Aur phir se apne aap ko wahin tanha pata hoon.&lt;span class="HOEnZb"&gt;&lt;span style="color: #888888;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="HOEnZb"&gt;&lt;span style="color: #888888;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="HOEnZb"&gt;&lt;span style="color: #888888;"&gt;-- RBK&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-3463141440925435734?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/3463141440925435734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2012/01/tanhai-my-first-poem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/3463141440925435734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/3463141440925435734'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2012/01/tanhai-my-first-poem.html' title='Tanhai...'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-3298121170980545164</id><published>2009-07-19T01:10:00.001-07:00</published><updated>2009-07-19T01:10:27.708-07:00</updated><title type='text'>“Kyun hai” – My first poem</title><content type='html'>&lt;blockquote&gt;   &lt;p&gt;&lt;font color="#83956a" size="2"&gt;Har saans mein ehsaash kyun hai?       &lt;br /&gt;Har ehshaash mein ek pyas kyun hai?&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#83956a" size="2"&gt;Har pyas mein milawat kyun hai?       &lt;br /&gt;Har dard mein ek chahat kyun hai?        &lt;br /&gt;Har chahat mein ek dikhawat kyun hai?        &lt;br /&gt;Har dikhawat mein ek banawat kyun hai?&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#83956a" size="2"&gt;Har lamha itna bikhra kyun hai?       &lt;br /&gt;Har aaj itna mohtaaj kyun hai?        &lt;br /&gt;Har chehra itna suna kyun hai?        &lt;br /&gt;Har roj mujhe jina hi kyun hai?&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#83956a" size="2"&gt;Sochta hoon sochna hi kyun hai?       &lt;br /&gt;Na sochna hi achha kyun hai?&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#83956a" size="2"&gt;Har khwahis itni jiddi kyun hai?       &lt;br /&gt;Har aadmi itna piddi kyun hai?        &lt;br /&gt;Har raat itni chhoti kyun hai?        &lt;br /&gt;Har din itna bhaari kyun hai?&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#83956a" size="2"&gt;Sochta hoon ek aadhar dhoondh loon       &lt;br /&gt;Jine ka sansaar dhoodh loon        &lt;br /&gt;Par us sansaar ki jaroorat kyun hai&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#83956a" size="2"&gt;Sochta hoon sab mithya hai yahan pe       &lt;br /&gt;Per in sab mein itni haqeeqat kyun hai.&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#83956a" size="2"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; --RBK&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-3298121170980545164?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/3298121170980545164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2009/07/kyun-hai-my-first-poem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/3298121170980545164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/3298121170980545164'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2009/07/kyun-hai-my-first-poem.html' title='“Kyun hai” – My first poem'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-5199118832667418162</id><published>2009-07-13T09:22:00.001-07:00</published><updated>2009-07-13T09:22:09.294-07:00</updated><title type='text'>Many many congratulations “Raza and Mubeen”</title><content type='html'>&lt;p&gt;With the title of the blog, most of the readers would have guessed that probably its a congratulation to a newly wed couple. you are right and i am on the way to return journey from Hyderabad to Bangalore and just trying to recollect the moments which I spent this weekend. There are so many sweet memories attached with the trip and I would like to share it with you. These memories make it a memorable one. Some of the main reasons are:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;It was wedding of one of my very good friend (Raza) &lt;/li&gt;    &lt;li&gt;First time i was attending a Muslim wedding and I was very excited for it. &lt;/li&gt;    &lt;li&gt;The day of marriage was also my birthday :) &lt;/li&gt;    &lt;li&gt;I met with many old friends and spending time with them was real fun. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;What else do you want to achieve during a normal weekend. &lt;/p&gt;  &lt;p&gt;I left from my office on Friday evening then met one of my very old fiend on station. It was his first day in office after passing out from IIMb. we sat in the train and my phone started ringing from 11 P.M. onwards. Many of the people who were knowing that i was travelling that night were wishing before time as they were worried about what if i am out of the signal coverage. So, first time i celebrated my birthday inside a Indian Railways coach. &lt;/p&gt;  &lt;p&gt;Next morning we were in the city with which i have a lots of memories as this is the city from where my career started. Then we met with the groom and here we were a little bit disappointed to see the tummy of the groom (Raza i am sorry but its a truth).&amp;#160; Next with friends i moved to a nearby shopping mall (GVK 1) and did some shopping for my birthday. Celebrated the birthday with the pastries from Karachi bakery and then in the evening finally reached the place where the marriage was supposed to take place. i was thrilled as i wanted to know the way it goes on and i actually found it very exciting. We met with the boy, congratulated him and then finally had that awesome biryani which was the crux of all things. Thanks raza for the awesome biryani. I suggest you to open a restaurant with the same caterer. &lt;/p&gt;  &lt;p&gt;The very next day it was a fun time with friends, met with raza and bhabhi. I along with Vineet and Himanshu did lots of masti and the finally i am returning back from Hyderabad to Bangalore. When i recollect the moments many of the things are still there which make me either laugh/smile like:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Joke by Himanshu (Because I find that i have some responsibility towards the society, I cann’t publish that here, but it was a killer one :) ). &lt;/li&gt;    &lt;li&gt;Dhokala, Raj kachauri and masala milk of Tiwari. I miss it like anything in Bangalore. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_ZUyniPfrTII/SltfJIPBMYI/AAAAAAAADBw/VsCilC2DjO4/s1600-h/DSC04783%5B5%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSC04783" border="0" alt="DSC04783" src="http://lh5.ggpht.com/_ZUyniPfrTII/SltfLEY1tsI/AAAAAAAADB0/aSaC9CqXYy0/DSC04783_thumb%5B3%5D.jpg?imgmax=800" width="423" height="297" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Wish you all the best Raza and Mubeen in the new life.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-5199118832667418162?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/5199118832667418162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2009/07/many-many-congratulations-raza-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/5199118832667418162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/5199118832667418162'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2009/07/many-many-congratulations-raza-and.html' title='Many many congratulations “Raza and Mubeen”'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_ZUyniPfrTII/SltfLEY1tsI/AAAAAAAADB0/aSaC9CqXYy0/s72-c/DSC04783_thumb%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-3031169792252422264</id><published>2009-07-10T08:28:00.001-07:00</published><updated>2009-07-10T08:28:51.782-07:00</updated><title type='text'>Thank you sir</title><content type='html'>&lt;p&gt;Today was a great day for me and this blog will explain it how.   &lt;br /&gt;We had a party time from our &lt;a href="http://www.deshaw.com/"&gt;company&lt;/a&gt; and we went to a resort (Leo meridian) outside the city for having some dance practice from &lt;a href="http://www.jbdance.com/"&gt;john britto&lt;/a&gt; gang. Every thing there was cool and we all tried (because I think it was only a try not a dance) to dance for almost 4-5 hrs and then came back home. While coming back home I met a person who is in Indian military. I must say you here that this was not planned. We just met him and I was really very much impressed by his thoughts he shared with us during that small meet. I feel that it should be a valuable thing to share those with my friends and that’s why I am putting all the thoughts in this blog.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;We all were returning from the dance class in which all the dances were of western nature or better to say non-indian kinda. When we let him know about this I feel that he did not feel very great about it. Though it does not mean he was against these things but still he wanted it to happen some other way. Then he told us the way he feels and just with in 15 minutes he put his thoughts before us and here are those precious ones…    &lt;br /&gt;First of all being a military person he told us the kind of invasion a country can have. He told that there can be 3 types of invasion in this world.    &lt;br /&gt;1. &lt;strong&gt;Military Invasion&lt;/strong&gt;: which is the least dangerous in its impact as the asset lost and things destroyed can be recovered and rebuilt if the nation has a good will power for it. Its impact goes out in the least time once the war is over which we can justify by many such events which happened in history.    &lt;br /&gt;2. &lt;strong&gt;Economic Invasion&lt;/strong&gt;: These is the 2nd type of invasion whose impact is worse than the first one and in this one you never get a direct feel of the attack being taking place and after some time you realize about your inability which automatically generates as an aftereffect of this. Its impact is more lasting and the recovery takes time.    &lt;br /&gt;3. &lt;strong&gt;Cultural Invasion&lt;/strong&gt;: This is the 3rd in its kind and most brutal in its impact as the recovery is almost impossible. In this you even don’t feel that some thing wrong is going on somewhere, rather you feel that there are something sweet going on. And you get a feel of things going positively with a rocking speed. And in most of the cases while persuading that speed you forget your roots and your own culture and finally when the impact appears bare faced then you are not in a position to recover. As mentioned here this one is the most deadly due to its impact and the hidden nature of attack.    &lt;br /&gt;The person who was putting these thoughts said to us that we (actually most of us, mostly young generation) are under attack of the 3rd kind of invasion and as per its nature we are not able to feel it rather we are feeling better. His main concern was that its not bad in tasting things which others have and others do but there should not be a blind aping of things.    &lt;br /&gt;He even quoted the starting days of this attack when Englishmen used to distribute packets of tea free of cost during his grandpa’s days and we gradually lost our own sarbat, &lt;a href="http://en.wikipedia.org/wiki/Lassi"&gt;lassi&lt;/a&gt; and sattu pani.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;It was really a great a talk with that gentleman and I would like to salute his way of thinking and attitude. He did not preach us to live our life differently than what we are doing right now, but he just cautioned and requested us to check our roots time to time.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;I salute his thoughts and I hope that his concern will not go in waste. Thanks a lot sir for sharing such valuable thoughts.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;[This is a post from my old blog. On public demand I am re-posting it&amp;#160; ;)&amp;#160; Please refer today as december 3 2006.]&lt;/em&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-3031169792252422264?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/3031169792252422264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2009/07/thank-you-sir.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/3031169792252422264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/3031169792252422264'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2009/07/thank-you-sir.html' title='Thank you sir'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-7720272014139585793</id><published>2009-07-07T11:39:00.001-07:00</published><updated>2009-07-07T12:06:07.775-07:00</updated><title type='text'>In the lap of nature</title><content type='html'>&lt;p&gt;&lt;em&gt;&lt;strong&gt;“Reading about nature is fine, but if a person walks in the woods and listens carefully, he can learn more than what is in books, for they speak with the voice of God.”&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;I almost heard this voice during my trip to &lt;a href="http://en.wikipedia.org/wiki/Coimbatore"&gt;Coimbatore&lt;/a&gt;. It was really an awesome experience to be there. It was a random trip which was planned at the eleventh hour. I, mummy and &lt;a href="http://vcroy.piworx.com"&gt;Vikas&lt;/a&gt; went to coimbatore to meet my youngest sister.&lt;/p&gt;  &lt;p&gt;We only stayed there for one and half days but the places where we visited and the fun which we had was awesome. First we started with a visit to a temple called &lt;a href="http://en.wikipedia.org/wiki/Dhyanalinga"&gt;Dhyanalinga&lt;/a&gt;, which was so soothing in its own. It is a Yogic temple which is more a meditation center. We had the first time experience to take a bath in the kund where the shivling was immersed. To worship the shivling standing inside water was a different experience altogether. &lt;/p&gt;  &lt;p&gt;The main temple was a large ellipsoidal dome with the lingam (more than 10 ft in height) in the center. People who were visiting the temple were sitting around that lingam and doing meditation for some time. &lt;/p&gt;  &lt;p&gt;After the temple we had lots of fun during the lunch time and then we roamed other places around the city.&lt;/p&gt;  &lt;p&gt;In the night we went to a restaurant in the city where we ordered family dosa which was a unique experience in its own. You can imagine the uniqueness about it by looking at the photographs.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_ZUyniPfrTII/SlOWTLCS97I/AAAAAAAADBQ/ElcbN_9nvMI/s1600-h/DSC04676%5B5%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSC04676" border="0" alt="DSC04676" src="http://lh5.ggpht.com/_ZUyniPfrTII/SlOWUyMGYjI/AAAAAAAADBU/lD43RRpcJso/DSC04676_thumb%5B3%5D.jpg?imgmax=800" width="405" height="282" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_ZUyniPfrTII/SlOWW8Ff8DI/AAAAAAAADBg/qfsehsstml4/s1600-h/DSC04681%5B11%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSC04681" border="0" alt="DSC04681" src="http://lh3.ggpht.com/_ZUyniPfrTII/SlOWYg5hEuI/AAAAAAAADBo/e_5Iv1LiFjg/DSC04681_thumb%5B9%5D.jpg?imgmax=800" width="409" height="322" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;We enjoyed the food a lot and actually we gave prizes as ranks to people who played key role in finishing the child Anakonda aka THE DOSA.&lt;/p&gt;  &lt;p&gt;Next day we had a comparatively peaceful day when I got more time to observe nature more closely. I was so fascinated with the beauty of nature that i could not stop myself composing and singing these lines&lt;/p&gt;  &lt;blockquote&gt;   &lt;p align="center"&gt;&lt;font size="2"&gt;आसमां कह रहा है जमीं से!&amp;#160; बादलों को छुओगे कैसे !! &lt;/font&gt;&lt;/p&gt;    &lt;p align="center"&gt;&lt;font size="2"&gt;पत्तियां हिल रही हैं ऐसे ! ज़िन्दगी जी रही हो जैसे !! &lt;/font&gt;&lt;/p&gt;    &lt;p align="center"&gt;&lt;font size="2"&gt;बादल भी उतरने को आतुर ! चुमते हो पहाडों को जैसे !! &lt;/font&gt;&lt;/p&gt;    &lt;p align="center"&gt;&lt;font size="2"&gt;झरने भी बहे जा रहे हैं ! गीत गता कोई बैठे बैठे!! &lt;/font&gt;&lt;/p&gt;    &lt;p align="center"&gt;&lt;font size="2"&gt;अब चली है वही फिर बयार! जैसे सब को सिखाती हो प्यार !! &lt;/font&gt;&lt;/p&gt;    &lt;p align="center"&gt;&lt;font size="2"&gt;पछियों की ध्वनि छा रही है ! दिल में वीणा बजी हो जैसे !! &lt;/font&gt;&lt;/p&gt;    &lt;p align="center"&gt;&lt;font size="2"&gt;ज़िन्दगी तो बसी है यहीं पे ! दिल मचलता है जीने को जैसे !!&lt;/font&gt;&lt;/p&gt;    &lt;p align="left"&gt;Many many thanks to Archu and her friends to make all this real.&lt;/p&gt;&lt;/blockquote&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-7720272014139585793?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/7720272014139585793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2009/07/trip-to-coimbatore.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/7720272014139585793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/7720272014139585793'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2009/07/trip-to-coimbatore.html' title='In the lap of nature'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_ZUyniPfrTII/SlOWUyMGYjI/AAAAAAAADBU/lD43RRpcJso/s72-c/DSC04676_thumb%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-2338604630114313568</id><published>2009-02-06T13:41:00.001-08:00</published><updated>2009-02-07T02:47:49.876-08:00</updated><title type='text'>निष्कर्ष</title><content type='html'>&lt;p&gt;This is one of the many poems written by my younger sister. I really love to read her poems. Whenever I go through her poems, I feel so proud of her. &lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 100%"&gt;&lt;font size="2"&gt;आज कुछ पल हैं, अपने साथ होने को,        &lt;br /&gt;जीवन की रफ़्तार में अपनी गति समझने को,         &lt;br /&gt;मैं कठघरे में हूँ, उस मैं के आगे,         &lt;br /&gt;जो कभी मेरा आत्मीय था,         &lt;br /&gt;अब उसका होना ऐसे पलों पर आश्रित था. &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 100%"&gt;&lt;font size="2"&gt;मेरे दृश्य पटल पर सारा अतीत चलचित्र है,        &lt;br /&gt;अचंभित सी वहां अपनी मौजूदगी देखती हूँ,         &lt;br /&gt;दृश्य पर दृश्य अपने अस्तित्व की तलाश है,         &lt;br /&gt;पर अपनी पहचान धुधली नज़र आती है,         &lt;br /&gt;क्यूँ अपनी जय पराजय में मैं स्वयम दर्शक मात्र हूँ ? &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 100%"&gt;&lt;font size="2"&gt;जिंदगी चंद दस्तावेजों की ही मुहताज क्यूँ है?        &lt;br /&gt;क्या मेरा समर्पण मेरी जीत नहीं है ?         &lt;br /&gt;प्राणवान होना हास्य पैर नहीं स्वाश पर निर्भर है,         &lt;br /&gt;तो हँसने की ही चाह क्यूँ करती हूँ मैं?         &lt;br /&gt;क्या मेरे रुदन में कोई सार्थकता नहीं है? &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 100%"&gt;&lt;font size="2"&gt;क्यूँ अपनी नीयति को अपनाना नहीं आता मुझे ?        &lt;br /&gt;वो जो मेरे होने से भी अर्थहीन है,         &lt;br /&gt;उसके होने में अपने अर्थ की तलाश कैसी?         &lt;br /&gt;शायद इन सवालों के जबाब दूसरे सवाल ही हैं         &lt;br /&gt;और निष्कर्ष की चाह व्यथा को आमंत्रण.         &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #008000"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 100%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;span style="color: #008000"&gt;-- वंदना वशिष्ठ &lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: 100%"&gt;&lt;font size="2"&gt;&lt;strong&gt;&lt;span style="color: #008000"&gt;&amp;#160;&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-2338604630114313568?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/2338604630114313568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2009/02/blog-post_06.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/2338604630114313568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/2338604630114313568'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2009/02/blog-post_06.html' title='निष्कर्ष'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7893428062385420037.post-7645533053172931784</id><published>2009-02-06T13:18:00.001-08:00</published><updated>2009-02-06T13:18:08.365-08:00</updated><title type='text'>My first blog</title><content type='html'>&lt;p&gt;Hi All,&lt;/p&gt;  &lt;p&gt;This is going to be my first blog entry. It does not mean that i never blogged before, but this time i thought of giving blogging a new try. Hence I deleted my previous blog and recreated with the same url from the scratch. &lt;/p&gt;  &lt;p&gt;As the description of the blog itself says, the blog is about&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;“Digital Serialization of my realization of the world.”&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Hence I will post about anything what I feel to share with myself and my readers. Lets wish and hope that this effort has a long lasting effect.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7893428062385420037-7645533053172931784?l=ravibhu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ravibhu.blogspot.com/feeds/7645533053172931784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ravibhu.blogspot.com/2009/02/my-first-blog.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/7645533053172931784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7893428062385420037/posts/default/7645533053172931784'/><link rel='alternate' type='text/html' href='http://ravibhu.blogspot.com/2009/02/my-first-blog.html' title='My first blog'/><author><name>Ravi Bhushan</name><uri>https://profiles.google.com/116426277844203706803</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-6W9MqIhc8Ms/AAAAAAAAAAI/AAAAAAAAAAA/LABmG616Hfo/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry></feed>
