search

Home  >  Q&A  >  body text

linux上redis读取1M的数据需要9秒

将一个页面的html源码存入redis,有1M的大小,需要9秒才能出来,之前用阿里云的redis时,读取是很快的,求教下这是什么问题,需要如何优化?

仅有的幸福仅有的幸福2773 days ago740

reply all(2)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-04-27 09:04:26

    Redis data is read through the network. You can check the network status on your Linux first.

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-04-27 09:04:26

    I know the problem, it is a network problem. I used the public network to access redis before, but it is normal after switching to the intranet to access it

    reply
    0
  • Cancelreply