Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Hollywood MAL AMIStore App Store A600 Memory

AuthorTopic: Amiga.org Proxy......  (Read 10420 times)

0 Members and 1 Guest are viewing this topic.

Offline Karlos

Re: Amiga.org Proxy......
« Reply #30 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 Oldsmobile_Mike

Re: Amiga.org Proxy......
« Reply #31 on: May 14, 2018, 09:35:39 PM »
Quote from: Karlos;839315
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.


is there a $x amount associated with this work?  Throw one out there and lets see what the community can come up with.  :)
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline nicholas

Re: Amiga.org Proxy......
« Reply #32 on: May 14, 2018, 09:58:20 PM »
Quote from: Oldsmobile_Mike;839316
is there a $x amount associated with this work?  Throw one out there and lets see what the community can come up with.  :)

Two grand GBP. Karlos doesn't have the code, I do.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline Karlos

Re: Amiga.org Proxy......
« Reply #33 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 nicholas

Re: Amiga.org Proxy......
« Reply #34 on: May 14, 2018, 10:28:04 PM »
Quote from: Karlos;839319
Think of the children. Won't someone think of the children?!

It's ma' feckin' code noo ye wee sassanach!
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline kolla

Re: Amiga.org Proxy......
« Reply #35 on: May 14, 2018, 10:42:46 PM »
More storage than what can just be kept in RAM? Really?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Oldsmobile_Mike

Re: Amiga.org Proxy......
« Reply #36 on: May 14, 2018, 11:10:56 PM »
Quote from: nicholas;839317
Two grand GBP. Karlos doesn't have the code, I do.


Hard to tell if you are being flip.  I was prepared to pitch in a reasonable sum of a hundred bucks or so.  If that is the case then I guess the proxy is dead.  R.I.P.  :(
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline nicholas

Re: Amiga.org Proxy......
« Reply #37 on: May 14, 2018, 11:19:00 PM »
Quote from: Oldsmobile_Mike;839323
Hard to tell if you are being flip.  I was prepared to pitch in a reasonable sum of a hundred bucks or so.  If that is the case then I guess the proxy is dead.  R.I.P.  :(

Bigger bounties have been collected for less useful code.  It's all in a good cause. I won't keep it for myself.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline Karlos

Re: Amiga.org Proxy......
« Reply #38 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 giZmo350

Re: Amiga.org Proxy......
« Reply #39 on: May 15, 2018, 03:08:07 AM »
Navigating AmiPeeps lately....... Wait for it!!!
HAHAHAHAHAHAHAHAHAHA!!!!

#TOMPETTY - Even The Losers

« Last Edit: May 15, 2018, 04:21:14 AM by gizmo350 »
A500: 2MB Chip, 8MB Fast, IndiECS, MiniMegi, IDE4ZorroII on Z-500, KS1.3/KS3.1, WB3.1&BWB
 
A2000HD: 2MB Chip, 128MB Fast, P5:Blizz 2060@50MHz, PCD-50B/4GBCF, XSurf100, RapidRoad, IndiECS, Matze RTG, MiniMegi, CD-RW, SunRize AD516, WB3.9
 
A1200: 2MB Chip, 64MB Fast, 4GBCF, GVP Typhoon 030 @40MHz w/FPU, Subway USB, EasyNet Ethernet, Indi AGA MKI, FastATA MK-IV, Internal Slim CD/DVD-RW, WB3.5

Surfing The Web With AMIGA Is Fun Again!
 

Offline kolla

Re: Amiga.org Proxy......
« Reply #40 on: May 15, 2018, 09:55:07 AM »
Quote from: Karlos;839327
Probably not, but that's  just not generally how it works in the web application world.


In the web application world, you now use application containers, storage containers, and some load balancer solution in front of it.

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) :)

Quote

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.


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.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline nicholas

Re: Amiga.org Proxy......
« Reply #41 on: May 15, 2018, 11:25:58 AM »
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.

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) :)



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.

All well and good, but that involves time and time costs money.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline Karlos

Re: Amiga.org Proxy......
« Reply #42 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 kolla

Re: Amiga.org Proxy......
« Reply #43 on: May 15, 2018, 02:20:36 PM »
So, could I have the proxy code and just do it?
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline nicholas

Re: Amiga.org Proxy......
« Reply #44 on: May 15, 2018, 07:54:52 PM »
Code: [Select]
[root@denise home]# locate extropia                                                                          
/opt/cpanel/ea-php70/root/etc/php-fpm.d/aoproxy.extropia.co.uk.conf.save                                    
/opt/cpanel/ea-php70/root/etc/php-fpm.d/avatargraveyard.extropia.co.uk.conf.save                            
/opt/cpanel/ea-php70/root/etc/php-fpm.d/extropia.co.uk.conf.save                                            
/opt/cpanel/ea-php70/root/etc/php-fpm.d/moo2.extropia.co.uk.conf.save                                        
/var/log/apache2/domlogs/ftp.extropia.co.uk-ftp_log.offsetftpbytes

Looks like I no longer have it. What a shame!
« Last Edit: May 15, 2018, 08:24:40 PM by nicholas »
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini