![]() |
Quote:
Quote:
|
1 Attachment(s)
I've managed to create a simple RSS feed for mine. You just need to create 3 files.
Mine can be seen working by clicking the large RSS button here The code for the files follow: rss.php PHP Code:
PHP Code:
PHP Code:
Attachment 90559 |
Is this working with v3.8?
I see http://www.minatica.be/downloads.php is running V6. When will that be released? |
Quote:
|
Is it possible that bigger files (couple hundred MB) take a very long time as download to start ? I just noticed that today. Or is there anything that can be done to make that faster ? Isn?t normal for Download Scripts generally, even with big files.
I installed MEMCACHE on my Server, was already not so easy when you?re no Linux freak. ;) Anyways, that works and I got a bit less drain on the CPU now but still, the time it takes before a bit bigger files actually start and you got the SAVE AS window, takes far too long. And thats just with me testing, imagine 20 people do that at the same time, don?t want to know whats going on then. Any ideas why this script takes so long time with bigger files to actually start downloading ? |
I've made a slight change to the RSS feed above. I have edited line 18. The RSS feed will now only show files that have been approved.
Quote:
|
Quote:
|
Ok, i think i know why this Mod is taking such a huge CPU load when using very big Files (couple hundred MB or even 1 GB or more). There are 2 ways to add files. One is uploading (adding manually) which is fine for smaller files but of course overkill with File sizes over 1 GB or so.
For that the Import function seems to be there. But, this Import function kinda makes the imported Files downloadable as stream. Which means as far as I know, anytime someone starts a download, the file will be copied from its original location and made ready for the Download. That way making it impossible to get the original Location. Problem is, anytime a download starts to copy for example a file over 1 GB is madness, thats why the CPU is going up in usage beyond normal. If many people would download that file at the same time the Webserver probably would collapse. So the only way to add files that are that big is with manually adding a file as if one would upload it but then not to upload from the own PC but to enter the link (direct) to the File. Then the download wouldn?t start as stream but get the file from the link entered and works fast. Only problem is, that way the direct link location of that file is easy to find out in the Browser and can be used without actually going through the Website. :( |
Just downloaded and installed this on my test site and all it well, extremely easy to setup and use.
Anyway, I have found one small problem.... One of the templates (editor_css) isn't cached so an unnecessary SQL call is perform. The fix for this is extremely easy:
EDIT: You also need to follow these same steps for the "'add' => array(" section Job done There is also another feature that might prove to be somewhat annoying to end users. Lets say UserX decides to upload a file, the enter the filename, author, a really long and informative description, the file path but forgets to choose a category. They then click submit and they will get the "complete the sections marked in red" message. The problem is that it seems the contents of the description/filepath are lost so they have to retype it all or hope that clicking back will get their description back. |
But this doesnt change the high CPU load with the import or starting a download which is quite large, right ? Because i think that is the result of the streaming that this Mod is working with.
Wolfseye |
All times are GMT. The time now is 08:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|