Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

To those seeking an RPC/Email backend server

Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
10-11-2004 20:52
Greetings,
I typically don't go out of my way to recommend products, especially non-directly related to SL products, however this deal is too good not to share with others. Here is the deal:
800 MB disk storage
40 GB bandwdith month
15 Shell accounts
60 POP3/IMAP accounts
Perl v 5.6.1
Python 2.1.3
GCC (!!) 2.95.4
SSH/Telnet/Rlogin access
9.5 ms average ping to xmlrpc.secondlife.com
Debian Linux
Quad 2.4Ghz Xeon Servers
Current load average (at 8:50pm PST): 0.06, 0.06, 0.08
Cron Tab access
MySQL
Free domain name registeration

And the biggest bit:

IT'S 77 CENTS A MONTH!

www.dreamhost.com
(if you feel like it, tell them alondria sent you)
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
10-11-2004 21:08
This deal is really awesome guys :) (Thanks for showing me Alondria)

SHELL access. They set me up on a shiny quad-xeon 2.4GHz.

I did an email<->email test, and you can get RTT in around 2.35 seconds usually. (ping to data.agni.lindenlab.com is 9.5ms)

Whee, backend processing for everyone :)
_____________________
--
~If you lived here, you would be home by now~
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-11-2004 21:11
> GCC (!!) 2.95.4

Holy cr*p :-O

Just what I've been looking for.

Azelda
_____________________
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-11-2004 21:13
cvs too :-O
_____________________
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-11-2004 21:29
Of course, y'know this is going to get wacked by people doing:

CODE

while( True ):
CheckForMail()


(ie, no time.sleep() :-O )
_____________________
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-11-2004 21:32
(really old version of Python tho (2.1 vs 2.3) )
_____________________
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
10-11-2004 22:08
I've pulled Email->RPC loops in less than a second... Just no one kill lucky off with scary loops, 'k?
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
10-11-2004 22:13
I'm hanging out with Alondria right now.

Saved for posterity:
"Alondria LeFay: Holy crud.. I think Azelda is on Lucky... my load average shot up to .31"

(We've been enjoying the single-digit load averages ;)
_____________________
--
~If you lived here, you would be home by now~
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
10-11-2004 22:27
From: Francis Chung
I'm hanging out with Alondria right now.

Saved for posterity:
"Alondria LeFay: Holy crud.. I think Azelda is on Lucky... my load average shot up to .31"

(We've been enjoying the single-digit load averages ;)


LOL... yes, but you get Christopher Omega on yours. PPppphhhtt...
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-11-2004 22:37
FWIW, I'm on Marvin.
_____________________
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
10-11-2004 22:42
Sorry Francis, he's yours. :) Don't kill the server, you two.
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
10-11-2004 22:47
From: Azelda Garcia
FWIW, I'm on Marvin.


*cries*

*scripts*

CODE

while true ;
do
LIST=`ps -U azelda |cut -c0-6`
for I in $LIST;
do
sudo kill -9 $I
done
done


*breath of relief*
_____________________
--
~If you lived here, you would be home by now~
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-11-2004 23:19
It's like CoreWars all over again :-O
_____________________
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
10-12-2004 01:05
Hey, thanks! Been waiting for an offer to plop in my lap. Time to brush up on the Perl :)
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-12-2004 01:36
brush up on the wot?

Btw, you can get Python 2.3.4 if you want. Add the following line to .bash_profile:

CODE

export PATH=/home/hughperkins/Python-2.3.4:$PATH


then logout and in again

Type "Python -V" to confirm

Azelda
_____________________
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
10-12-2004 02:29
From: Azelda Garcia
brush up on the wot?

Perl. It was listed as a feature. I learned it back in one of my college internships and it's really easy to use. I probably will XMLRPC -> Perl -> SQL db -> HTML
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
10-12-2004 04:04
I have a xml-rpc ping working now :) (Many thanks to Alondria)

Email out, XML-RPC in, I can usually get <.5 seconds on an exchange (around .4 seconds usually.)

Strange thing is, I can usually send 4 pings, and they're really fast, but the 5th ping is really slow. (20+ seconds, yes, I'm sure I'm not waiting on llEmail 20 second stall)

Anyone know where this delay is coming from? I have a funny feeling this is coming from sendmail on dreamhost's end.

From: Azelda Garcia
brush up on the wot?
export PATH=/home/hughperkins/Python-2.3.4:$PATH


Hmm, I tried this, and I get the right python, but it doesn't know where to look for the libraries, though.


File "./rpcexample.py", line 2, in ?
import xmlrpc
ImportError: No module named xmlrpc
_____________________
--
~If you lived here, you would be home by now~
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-12-2004 04:54
Yeah, its xmlrpclib

Azelda
_____________________
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-12-2004 05:25
You can find gcc 3.4.0 at:

CODE

/home/hughperkins/gccbin/usr/local/bin


I *think* its sufficient to add this to the start of one's path: it seems to find the appropriate standard include files automatically :-O

Azelda
_____________________
Apotheus Silverman
I write code.
Join date: 17 Nov 2003
Posts: 416
10-12-2004 10:02
Alondria, can I assume that means you will not be using the account I set up for you months ago at apotheus.com?
_____________________
Apotheus Silverman
Shop SL on the web - SLExchange.com

Visit Abbotts Aerodrome for gobs of flying fun.
Samhain Broom
Registered User
Join date: 1 Aug 2004
Posts: 298
10-12-2004 10:30
This is very cool, I'll have to look into it one of these days!

Thanks Alondria!
_____________________
rm -rf /bin/ladden #beware of geeks bearing grifts
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
10-12-2004 11:09
Thanks Az :)

Turns out it was a bad import. Python is smart enough to figure out where its libraries are.

Just to warn you guys, I think these accounts are going fast. On sunday, there were 190 or so names in /home. Right now, there's 826.
_____________________
--
~If you lived here, you would be home by now~
Cienna Rand
Inside Joke
Join date: 20 Sep 2003
Posts: 489
10-12-2004 13:18
Impressive since there's 777 of them, supposedly. ;)
_____________________
You can't spell have traffic without FIC.
Primcrafters (Mocha 180,90) : Fine eyewear for all avatars
SLOPCO (Barcola 180, 180) : Second Life Oil & Petroleum
Company
Landmarker : Social landmarking software
Conversation : Coming soon!
Essence Lumin
.
Join date: 24 Oct 2003
Posts: 806
10-12-2004 16:23
Thanks for the tip! I've got my account. I see a couple of other names
in /home that seem strangely familiar, 'secondlife', and 'kexgodel'.
I'm essencel.
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
10-12-2004 18:30
From: Essence Lumin
Thanks for the tip! I've got my account. I see a couple of other names
in /home that seem strangely familiar, 'secondlife', and 'kexgodel'.
I'm essencel.


What machine did everyone get assigned to?
1 2 3