inaimathi / cl-notebook

A notebook-style editor for Common Lisp
GNU Affero General Public License v3.0
85 stars 10 forks source link

At high speeds, writes become non-atomic #13

Open inaimathi opened 6 years ago

inaimathi commented 6 years ago

There's some threshold of evaluation frequency where cells with large on-disk representations end up partially writing. This destroys the notebook :/

Original README notes:

silent-entertainment commented 3 years ago

@inaimathi

I was reading about websockets, when i came across something here that made me think of this issue.

Selenium WebDriver uses WebSockets to send scripts to the browser, and Chrome has a hard limit of about 1MB on WebSocket messages.

In another thread, you explained that it was only a problem when the cell was over 1MB in size.

Could you be hitting a hard browser limit or a server or sockets limit for the protocol that you're using and not seeing the problem in the log?