I need to transfer almost a million records over the wire using http protocol, currently I am using apache http pool rest client n sending one by one. Are they any better way and faster way to achieve this? Any framework or any other way in java? Is there any way I can implement multi writer concepts in java.
Edit Note: Server does not support file upload or batch requests. However they are open to discuss some other way like streaming or http2 protocol but I am not sure how to progress on these.