How to make the client download a very large file that is genereted on the fly

后端 未结 4 1605
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 04:05

I have an export function that read the entire database and create a .xls file with all the records. Then the file is sent to the client.

Of course, the time of export t

4条回答
  •  爱一瞬间的悲伤
    2021-02-02 04:19

    Refer to this link which uses jedis (redis java client) The key to this is the LPOPRPUSH command

    https://blog.logentries.com/2016/05/queuing-tasks-with-redis/

提交回复
热议问题