cph-cachet / carp-webservices-spring

REST-based implementation of the CARP Core Domain Model using Spring Boot in Kotlin
https://carp.dk
MIT License
3 stars 2 forks source link

Export service should not load all data in memory #185

Open yuanchen233 opened 5 days ago

yuanchen233 commented 5 days ago

Potential solution:

  1. Use streaming or pagination, write data incrementally to a file and zip it.
  2. Direct streaming

also, asynchronous export, like generating anonymous account