>
> While on the subject – I would also recommend to add an option to
> store the nexe in a compressed zip file (or preferably 7z file) - to
> save download time – the OGRE nexe file is more the 20 mg in size –
> downloading a compressed version can save time and bandwidth.
HTTP protocol supports different kinds of compressing. gzip is
supported by all the browsers (and since you need to run your NaCl
module in Chrome, it supports gzip for sure). So, the problem of
compression could be resolved on the server side. Would it work for
you?
>
> Also on the subject – an option to digitally sign a nexe file could be
> nice.
Would HTTPS address the problem of identity? Or, you want to be able
to distribute a nacl module across the internet, serve it from
arbitrary server and be able to validate identity? If yes, what's the
use case?
Please, note that I don't want to say that the proposed features are
useless. I just want to understand why do you need them.
Ivan Krasin
> Possibly all of the options are implemented in NaCl – so if that is
> the case – I will be happy for any links or information.
>
> Regards,
>
> Assaf
>
> --
> You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
> To post to this group, send email to native-cli...@googlegroups.com.
> To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.
>
>
>
> While on the subject – I would also recommend to add an option to
> store the nexe in a compressed zip file (or preferably 7z file) - to
> save download time – the OGRE nexe file is more the 20 mg in size –
> downloading a compressed version can save time and bandwidth.
>
> Also on the subject – an option to digitally sign a nexe file could be
> nice.
> Possibly all of the options are implemented in NaCl – so if that is
> the case – I will be happy for any links or information.
>
> Regards,
>
> Assaf
>
>
> Scenario 2 - I give out nexe files to my developer community and they
> use them on their sites - issues: gzip will not always be available
> (not all site hosting services supports it), same goes for https,
> regarding the solution renaming the files all the time, this makes you
> edit the nmf every time you update the nexe, I guess we can live with
> that
Why not generate nmf on the fly? It's just ~100-300 bytes.
If you don't like dynamic stuff, it's easy to write a tool that would
generate nmf at publication phase.
>but if the nexe file was corrupted in the download - what is the
> solution for that? How will you know?
I agree that checking the file for the integrity is important.
I don't think that NaCl has a solution for that now. Probably, it
should become a feature request to NaCl.
>
> One other note regarding gzip - it has a big cpu toll on the server in
> many cases, why not have the file zipped in the first place? also -
> gzip compression is not as good as 7z, and the download time here in
> this case is significant for the app start time, so why not have the
> best compression possible?
The drawbacks of implementing 7z in NaCl plugins is the security. It's
not really a good idea to increase the size of the code you have to
trust. Probably, it could be addressed if 7z decoder would run inside
NaCl itself.
>
> BTW: is it possible for the javascript to point to an nmf file that
> points to an nexe created in the nexe file system space (or smiler)?
Not sure what you had in mind here. Could you please explain a little bit more?
> If so I could write a small nexe that downloads an MD5 Hashed, zipped
> and signed nexe, then make the javascript on the page start it up.
This is a very good point. I think that something like that would be
available inside NaCl at some point. But now I don't think that it's
possible... Probably, I'm wrong.
-- krasin
> > One other note regarding gzip - it has a big cpu toll on the server in
> > many cases, why not have the file zipped in the first place?
also -As, I understand, any browser including chrome already has support for
> > gzip compression is not as good as 7z, and the download time here in
> > this case is significant for the app start time, so why not have the
> > best compression possible?
>
> The drawbacks of implementing 7z in NaCl plugins is the security. It's
> not really a good idea to increase the size of the code you have to
> trust. Probably, it could be addressed if 7z decoder would run inside
> NaCl itself.
gzip. Why not use that same code to decompress .nexe.gz directly
without http server to be involved. It just need a few tweets in
chrome source code, but save lots of http server cpu time.
For Nexe's, it's a bit of a different story, because we don't support
dynamic nexe linking.
What about the case described in this post (the 20 MB file viewer re-
download for every site)?
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.