Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Deliver directly from S3 for public files?
Last Post 03/09/2012 12:07 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Dominique Delforge
New Member
New Member
Posts:17


--
02/27/2012 6:57 PM
Hi Peter,

In a previous post, you said that the philosophy is only to use S3 to store the file and not to deliver the file directly.

http://www.bring2mind.net...ic/Default.aspx#8504

I have now the problem to have some large files to deliver on a website and when I have a look on the network behaviour, this is a real problem.
I use my bandwidth to download the file from S3 and the same amount of bandwidth to upload it to the client => instead of solving my bandwidth problem, it's worse :-)

The problem is that my users now like DMX and find it good to know how many persons are downloading files.

To use really the cloud, I think that we should have the possibility to decide of the level of security and then accept to leave S3 to serve the file after collecting rights and stats on the DMX.

What do you think on this topic?

Thanks,

Dom



Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
02/28/2012 10:02 PM
Hi Dom,

I fully understand the use case. I'll add it to the "wish list" but this goes to the heart of how DMX works and I'm not even sure it can be done without redesigning/rewriting the core of the module.

Peter
Dominique Delforge
New Member
New Member
Posts:17


--
02/29/2012 5:58 PM
In the meantime, I decided to make reverse process and to take again all my files on the webserver instead on S3.
When doing it, I redefine my storage provider and launch the script to move contents to the right place but DMX don't transfer files from S3 and create a small file instead on my disk.
I have then to take over manually all files from S3 and to rename it to the crypted name reassigned by DMX during the script. I think that's a bug...
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/09/2012 12:07 PM
That's odd. The way the code works is that it will attempt to download every file from the old provider and store it in the new provider. This download is no different as to what it does when you click download in the UI. So any difference there must be due to some kind of throttling on the part of the provider. Maybe because you're downloading lots of documents at once.

One thing you could try is an export. This downloads all contents of DMX and tries to recreate the folder/file structure of DMX on your webserver under portals/[id]/DMX/Export.

Peter
You are not authorized to post a reply.