How can I transfer data while generating using REST API without storing it in any temporary memory storage?
Basically I have some data stored in database which ideally I needed to write to a file, store it in server and transfer to client. But server have space restriction and not allowing me to store so large file. What should I do in that case?
Don't know if this best approach for your scenario, If anyone has a better solution than this please provide. The constraint is that you have limited size on your server. following is my approach to solve your problem
So your architecture will be like.
Client --calls--> FileCombineAPI(Server 2) --mutliple calls--> FilePartAPI(Server 1)
Server 1: Limited space.
Server 2: Enough space to handle operation.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.