How to transfer a big data
Options
Comments
-
Hi, afrokick.
You can do it part by part. This is the only way for Photon.
Or you may use another service, for instance some http server0 -
Thank you, chvetsov.
Can photon split large UDP packet into smaller portions and unite it together on an end point "under the hood"?0 -
yes, it does it automaticly.0
-
While you can send more data through Photon (there is no fixed message size limit), you better avoid it for several reasons:
We don't adjust our Max Transfer Unit, so we split your data into UDP packages of 1200 bytes each and reassemble.
There is some overhead per package for ACKs and no other message in the same channel will arrive.
You don't have access to the data until it's fully there and there is no info about how much more is in transit or how long it might take to arrive (the lib doesn't expose these values).
And: If you have to distribute more data, a HTTP-based content delivery network is easier to load balance and handle.0 -
chvetsov, Tobias, Thanks guys. The http-backend for this task is looking good.0