Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zeromake'blog | vue-ssr-koa2 #8

Open
zeromake opened this issue Jun 22, 2017 · 1 comment
Open

zeromake'blog | vue-ssr-koa2 #8

zeromake opened this issue Jun 22, 2017 · 1 comment

Comments

@zeromake
Copy link
Owner

https://blog.zeromake.com/pages/vue-ssr-koa2

@Fmain
Copy link

Fmain commented Dec 4, 2019

我用ab测试, 当使用renderToStream流式渲染时, 一旦请求量过大造成网络拥堵, server就会报出Error: write ECONNABORTED的错误. 使用renderToString却不会发生
而且内存占用两者并没有多大区别, 更甚至多次测试的结果中, renderToString渲染优于renderToStream渲染
作者有尝试着去比较一下吗, 我现在被测试结果搞蒙了, 求解答

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants