Home  >  Q&A  >  body text

web - nginx high concurrency is replacing static files likely to cause 404 or other errors?

If there is a process that actively updates index.html every minute, through copying, the number of nginx visits will be relatively large. Is it possible that nginx returns an error when updating?

某草草某草草2714 days ago491

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-16 17:14:49

    It means that I don’t know the purpose of asking this question. Whether you are curious about whether something will go wrong or you need to solve this problem at work, you will know if you simulate high concurrency testing yourself. There are many ways to simulate high concurrency, such as apache's ab, ajax; the process of regularly modifying index.html, writing a piece of code, sleeping for one minute, and using scheduled tasks.
    Hope it helps you!

    reply
    0
  • Cancelreply