Sort a file with huge volume of data given memory constraint

前端 未结 12 1027
暖寄归人
暖寄归人 2020-11-28 21:47

Points:

  • We process thousands of flat files in a day, concurrently.
  • Memory constraint is a major issue.
  • We use thread for each file process
12条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 22:34

    If your restriction is only to not use an external database system, you could try an embedded database (e.g. Apache Derby). That way, you get all the advantages of a database without any external infrastructure dependencies.

提交回复
热议问题