到底是用jupyter还是zeppelin?
0 jupyter rabin 148 阅读 • 10个月前

一直想部署一套在线的个人开发环境,调研了下zeppelin和jupyter,很喜欢zeppelin的界面和方便的多用户功能,可惜太耗内存了(也占硬盘空间),装在阿里云上动不动就卡死,反之同时装在该服务器上的jupyter就非常稳定且流畅的运行。看来想在小内存机器或vps上流畅使用zeppelin是不可能了。

然后我在google找到这样一段话,图个心里安慰:

As far as I see, for now Zeppelin doesn’t cover all Jupyter’s features and possibilities, also it is not so stable and popular among analytic users. But already now Zeppelin shows that it is designed for enterprise users – thus it has great LDAP integration feature, permissions management system and so on.

So, if you are planning to use the notebook app just for yourself or for a limited number of analytics – Jupyter is still your choice. However, if you are designing notebook usage for a big amount of users in an enterprise, take a look on Zeppelin – it will not take long for it to overtake Jupyter with temps that it is developed now.

大意是jupyter适合个人用户、开发者使用,zeppelin适合企业用户(开发者、数据分析师)使用。其实的确如此,那么个人的在线开发环境就选择jupyter吧。

jupyter要比zeppelin强大且稳定的多,插件也多,也可以装上mysql、pgsql、php、hdfs、spark等内核。

当然,它没有zeppelin那么简便,下载个jdk就可以,装这些内核或者插件,还是挺麻烦的。

内核列表:

https://github.com/jupyter/jupyter/wiki/Jupyter-kernels

找了半天,竟然没有mysql,仅有的一个也不支持最新版本了。没办法,自己开发一个吧:

https://github.com/shemic/jupyter-mysql-kernel

默认使用prettytable渲染表格,如果你安装了pandas,则自动使用pandas的dataframe进行渲染。

未完待续...

评论:0