[one-users] Image upload within the core
Csom Gyula
csom at interface.hu
Wed Jun 23 12:09:51 PDT 2010
Hi!
Do you have plans to support image uploads? Is it on your 1.6 roadmap? I ask this
in order to coordinate our (extension) development with your roadmap. Some
background:
Currently we are in the procces to specify our golden image management service, eg:
what features to provide exactly ? how to implement it? in a maintanable manner (eg.
starting with ONE v.1.4 then smoothly migrate to v.1.6)?
We've found that one of the biggest challenges is the image upload functionality.
A clean solution would implement the upload service within the core. Meanwhile
XML-RPC used by the RequestManager is inappropriate for large file uploads.
XML-RPC provides nothing but base64 types for binary data, meanwhile base64
coding-decoding of large files is a pain... Also xmlrpc-c used by ONE seems to
represent binary data in byte arrays in memory which is unacceptable for large,
multi-GB files...
So if we decide to implement the upload service we will likely choose an alternative
approach, eg. a separate channel for text data (XML-RPC) and another one for large
files (scp, http whatever seems most reasonable). Meanwhile we'd like to adhere to
the ONE mainline as much as possible.
BTW: We are aware of the upcomming image repository feature [1]. To our
understanding (after a quick code walk through) it provides image metadata-only
service.
.
Cheers,
Gyula
[1] http://dev.opennebula.org/issues/200
More information about the Users
mailing list