Welcome, Guest. Please login or register.

Author Topic: Amiga.org Proxy......  (Read 19766 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« on: May 10, 2018, 07:15:17 PM »
There were some issues following a hosting migration. The extropia domain has always been kindly hosted by a good friend and they currently have much more important things to worry about. My copy of the source is on my dead HD. I can probably get a copy from the server and dump it in github so that it can be hosted by anyone.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #1 on: May 10, 2018, 08:37:38 PM »
To be honest, the best place to host it would be on a sub domain of this site. That was the intention originally.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #2 on: May 11, 2018, 01:37:16 AM »
Quote from: LoadWB;839193
What is needed for the proxy?  I'm not opposed to throwing up a VM in my cluster. It could easily have something like "proxy.amiga.org" or "classic.amiga.org" or whatever pointed at it.


The source code would be an excellent start. Other than that just php5, though it is probably high time it was modernised.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #3 on: May 11, 2018, 10:05:01 PM »
Quote from: nicholas;839202
Surely the author of the code deserves your donation more? ;)


The proxy was a labour of love and was not written for any reason other than to give a better experience for the minority of users actually using their classic systems to come here. Still it seems fitting that only in Amiga circles does the issue of lost source warrant someone throwing money at someone to do something. We should have a bounty too lol
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #4 on: May 12, 2018, 08:48:28 PM »
Quote from: kolla;839246
I want a version of the site that scales all bitmaps to half height, for my HiRes non-laced display.


And you can have it, as soon as I have recovered the source.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #5 on: May 13, 2018, 10:28:54 AM »
Quote from: nicholas;839251
Maybe I could start a bounty to get off my arse and pull the backup from my server?

Starting at one million dollars mwuahahah!


I think it's spelled "meeeeellion"
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #6 on: May 14, 2018, 08:15:27 AM »
Quote from: LoadWB;839278
Will Monopoly money suffice?


He said Sterling, not USD...
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #7 on: May 14, 2018, 09:30:22 PM »
Quote from: kolla;839302
A proxy does not require a server, just throw it up in the cloud :)

It's not that kind of proxy. It is a content transformation tool with some session management. You can't just dump it into google app engine free tier, it needs storage. You can't use the filesystem in app engine so you are already looking at GCS or similar.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #8 on: May 14, 2018, 10:12:51 PM »
Quote from: nicholas;839317
Two grand GBP. Karlos doesn't have the code, I do.


Think of the children. Won't someone think of the children?!
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #9 on: May 15, 2018, 12:50:50 AM »
Quote from: kolla;839321
More storage than what can just be kept in RAM? Really?


Probably not, but that's  just not generally how it works in the web application world. You want to use memory backed storage? You use memcache or similar. Your application code isn't constantly running, it is launched when a http request arrives, does a job, returns a result and exits. The "ram" is just volatile storage valid for the current thread of execution only. It's worse in an app engine cloud like environment as each request can result in firing up an entirely new container instance.

The proxy is just a simple php application. The local storage is for managing cookies from the target site and the session data for each user.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #10 on: May 15, 2018, 12:01:22 PM »
Quote from: kolla;839332
In the web application world, you now use application containers, storage containers, and some load balancer solution in front of it.

For new projects, yes. This was just some old school php that ran on my old server account, written years ago.

Quote
But (using the more traditional approach with a server), why not take inspiration from Amiga, and just tar out data to a ram disk during boot of the VM (or the container or whatever) :)


For the VM, ram disk offers nothing. The filesystem area where the data are persisted is hot and cached already. The latency is all in the http requests to this site. Even the processing of the content is fast.

For containers, the volatility of containers in particular precludes this without a persistence layer because users will be logged out all over the place without warning when the container is torn down.

Quote
Not exactly huge data, and doesn't even need to survive reboots. It does sound like something that could be dropped into a paas somewhere, or a simple vhost at some VPS provider, VMware or whatever.


As said above, the size of the data is not the issue. However reimplementing it all to be containerised and use a storage bucket is a task big enough to warrant a total rewrite anyway.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: Amiga.org Proxy......
« Reply #11 on: May 15, 2018, 08:33:25 PM »
Erm... Whoops?
int p; // A