Page 2 of 3
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 18:48
by TheBigG.
No it would only require that the server operator did download them to the server and keep that updated.
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 18:54
by askuri
Well, that could be done by UASECO itself (if it has writing rights).
But afaik file:// is clientside only :/
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 19:31
by toffe
Thats why I didn't saw the icons today on a server.
Are you using the http caching standards? (Or is it even working in MP).
Maybe we could set up a mirror clustering system. I can donate traffic, but not everything I think. Or is it possible to split it up in few categories?
Toffe
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 19:36
by askuri
toffe wrote:Maybe we could set up a mirror clustering system
That's what I'm currently planing. Just thinking about a possible solution, which is easy to use and efficient. Maybe not just for UASECO, there's a lot more static content, called by dynamic php scripts

Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 19:50
by TheBigG.
we could mirror like debian
https://www.debian.org/mirror/ftpmirror and than list everybody who wants to donate bandwith in static.undef.name via round robin
undef could check from time to time via a script if the files are avaible at the mirrors and remove the mirror if not.
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 20:05
by toffe
TheBigG. wrote:we could mirror like debian
https://www.debian.org/mirror/ftpmirror and than list everybody who wants to donate bandwith in static.undef.name via round robin
undef could check from time to time via a script if the files are avaible at the mirrors and remove the mirror if not.
Round robin would be fine for now I think.
Anyway.. Is there need of emergency hosting right now? And is it already on seperate domain?
Toffe
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 20:10
by askuri
Basicly good, but we should also care about windows compatibility
(since there are still some guys believing windows is a allround-perfect system, which it isn't)
TheBigG. wrote:via round robin
I think Round Robin is not the right choice. We should rely on each hosters serverload etc.
TheBigG. wrote:undef could check from time to time via a script if the files are avaible at the mirrors and remove the mirror if not.
Agree, good idea
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 20:23
by toffe
I think that HTTP Redirecting could also be used for balancing it as a sort of mirror system.
There should be one main server that receives the requests. Will determinate the mirror server randomly or something. Then send a http redirect response.
Only problem is that the client should implement the follow on the redirect. This needs to be tested.
If this works there need to be a system for this. Can be made pretty simple and fast I think. And be extended with mirror online/offline check stuff later I think.
Toffe
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 20:30
by TheBigG.
askuri wrote:TheBigG. wrote:via round robin
I think Round Robin is not the right choice. We should rely on each hosters serverload etc.
everything else is not practical
undef would have to host his dns himself and run some software to measure the load of the servers, that would add load to his server, also i don't think everybody would be fine with publish the server load to undef.
toffe wrote:I think that HTTP Redirecting could also be used for balancing it as a sort of mirror system.
There should be one main server that receives the requests.
a single point of failure is not the best idea i think.
Re: Problem hosting static content for my plugins
Posted: 22 Nov 2015, 20:39
by TheBigG.
toffe wrote:
Anyway.. Is there need of emergency hosting right now?
Toffe
I think yes because undef.name and static.undef.name gives for everything 403 instead of content
