search

Home  >  Q&A  >  body text

node.js i/o optimization - Stack Overflow

How does node.js optimize i/o performance? I wonder if this senior has any experience to share

phpcn_u1582phpcn_u15822741 days ago693

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-24 11:40:47

    In practical applications, optimization at the data level is generally considered,

    • Index: can reduce the number of disk IO times

    • Cache: Memory io is definitely faster than disk io. You can choose cache, such as redis

    • Code level optimization: merge query

    reply
    0
  • Cancelreply