M
Marian Edu
Guest
Looks like you put everything in one temp-table with a blob field and pass that trough the wire. This is 'streaming' to the client so it might work although you do load the complete file on the appsrv side (will probably end-up landing on the disk again if not enough memory). Instead you can try to change that one-shoot call to a protocol like sequence, and have multiple calls from the client passing the file path, start offset and chunk size - have the server return the data chunk and remaining bytes (can only send that when the first chunk was requested if there is more to stream). The client should keep on asking new chunks till completed... more calls for larger files, you might try to play with the 'buffer size' to find a good balance.
Continue reading...
Continue reading...