Giter Club home page Giter Club logo

blog's Introduction

blog

blog's People

Contributors

hellmagic avatar

Stargazers

 avatar

blog's Issues

对NodeJS文档中费解的地方

If no 'response' handler is added, then the response will be entirely discarded. However, if a 'response' event handler is added, then the data from the response object must be consumed, either by calling response.read() whenever there is a 'readable' event, or by adding a 'data' handler, or by calling the .resume() method. Until the data is consumed, the 'end' event will not fire. Also, until the data is read it will consume memory that can eventually lead to a 'process out of memory' error.

这里可能是表明对于server和client的通信也有back pressure模式,所以如果对一个response添加了listener,那么就对其负责,而不消费就意味着对输出端不给释放的信号,从而导致server端内存溢出

技术债

技术债

  • 技术债的撰写
  • Markdown: 练习;经常使用写文章
  • Git: Pro Git --> 笔记;场景笔记;打造高效Git环境
  • Linux + vim: 根据经验和教训-->80/20的学习内容;坚持一个月的学习;命令;环境配置;思路;个人总结;笔记
  • 工具:高效编程环境;个性化配置;习惯思路
  • 笔记整理--知识不总结,越往前走越慢,而且还要不断回头,肯本走不快;因为之前的路走的不实

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.