Problem hosting static content for my plugins

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

User avatar
askuri
Posts: 156
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: Problem hosting static content for my plugins

Post by askuri »

Redirects from undefs server are also not very useful, since the amount of requests would be the same. The files are really small, undefs problem is the amount of requests.

Another possibility: a queue for alternative mirrors, but less powerfull mirrors would be queued each 2 or 3 rounds, so less people access them.

One thing i haven't thought about yet: does MP recognize two files are the same, if they are hosted on 2 different servers? this would cause massive double caching, not really a solution :/
User avatar
askuri
Posts: 156
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: Problem hosting static content for my plugins

Post by askuri »

Well, MP's cache is not that intelligent. I took the same image, placed it on two different servers with different domains (dropbox and my server) but it downloaded it twice, even with the same name :/
So there is only ONE possibility: everything has to connect to undefs server, just to be redirected by ManiaPlanet. But this is not that useful i think.

Maybe we could use https://en.wikipedia.org/wiki/Round-robin_DNS this. There's a chance MP won't doublecache
TheBigG.
Posts: 401
Joined: 11 Jun 2011, 16:11

Re: Problem hosting static content for my plugins

Post by TheBigG. »

askuri wrote: Maybe we could use https://en.wikipedia.org/wiki/Round-robin_DNS this. There's a chance MP won't doublecache
I already wrote that but you wrote
askuri wrote:
TheBigG. wrote:via round robin
I think Round Robin is not the right choice. We should rely on each hosters serverload etc.
trying to troll me? :roflol:
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz

Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
User avatar
toffe
Posts: 782
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: Problem hosting static content for my plugins

Post by toffe »

Round Robin +1 xD.

I really think thats the best option if much uptime is wanted. But the sharing could not be equal to every 'mirror'/destination.

Toffe
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Problem hosting static content for my plugins

Post by undef.de »

Thanks for all the ideas/comments, i'm really pleased about that!

First of all: If it is possible and the serveradmins donate, then i have no problem to host the files.
But if there are no donations, i do not see the reason why i should do that.
I do not provide servers anymore, so i do not use my Controller/Plugins/Graphics/Sounds...

oliverde8 wrote:Woulnd't it be better to try and diminish the number of custom Images used by replacing them with the existing quads?
That's already optimized as possible, and i'm not only talking about UASECO. The most traffic is still coming from XAseco = TMF.
Rots wrote:2. How much are we talking about? (a dedicated plan upgrade) And how much per server then?
Currently i pay 60,- Euro/year, but that isn't enough to handle... so a upgrade is required.
reaby wrote:[...] i don't see any possibility to ask money for controller or plugin, the moment uaseco or [...]
This is not a UASECO problem, more an XAseco/XAseco2 for my plugins, but i wanted to post it in here too, then the future for UASECO maybe will have that problem too. And because currently only 6 reads at http://www.tm-forum.com/viewtopic.php?f=127&t=35623.
TheBigG. wrote:if i remember right the music plugin for xaseco/uaseco used a path below the server's UserData directory from where it did provide the music to the players, is it possible to use that for images too?
As i remember that is only usable for music.
toffe wrote:Are you using the http caching standards? (Or is it even working in MP).
Currently it is a simple shared host account, which is cheap and without many functions (which i does not need... until now?!).
The Maniaplanet HTTP-Client does a HEAD before a GET, that's why the traffic is only 1,5TB. But the huge amount of requests are still there.


I'm currently setting up a alternate destination for static.undef.name that should work today (for the most users), but that's just an emergency setting.

I like the Round-Robin idea very much, i can do this by adding more IP's for the domain static.undef.name.
With this nobody (serveradmins) need to change something in his settings and the traffic and requests are rotated/splitted. As i can see now about 70% of the requests are HEAD.

So, everyone how wants to setup a Round-Robin for static.undef.name please PM me and i send you a link for the contents of static.undef.name (but i need to clean-up a bit :)).
I also can help on setup a virtual host for Apache/nginx.

With this i can stay with that shared host account and my provider should be happy enough to reactivate the account.


Anyway: With this solution again only a minimal part (the same as usual) of the community are providing stuff. :(
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 0 guests