Karuppayya created ZEPPELIN-1653:
------------------------------------

             Summary: Reduce network usage when updating notebooks/ make UI 
responsive
                 Key: ZEPPELIN-1653
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1653
             Project: Zeppelin
          Issue Type: Improvement
            Reporter: Karuppayya


When we do the following operations, the entire notebook is transmitted back to 
client.
1) Insert paragraph
2) Remove paragraph
3) Update paragraph
4) Paragraph status update
5) commit paragraph
When the json becomes larger(which happens when stored large  output is stored 
in the json), the time to transfer the notebook to client is directly 
propotional.(we can check this in chrome browser-> dev console-> select ws 
request-> on the right pane that opens, select frames tab and observe the 
length column)

And since the UI update is based on this new transmitted json, the UI seems 
unresponsive/laggy.

The notebook should be sent to browser only when it is loaded in browser for 
first time. 
All other updates should be selective.

By fixing this,
1) The amount of data transferred  over the network decreases significantly
2) UI will seem responsive. The actions will be reflected in UI faster.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to