IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New RPC means...?
What kind of data volume and rates are we talking about? Is this something that can be done using the "pretend I'm a web client" APIs in C# on the client side, and some CGI scripts on the server using Apache and SSL? It's easy to use basic authentication, and SSL makes that snooper-proof.
New Re: RPC means...?
Remote Procedure Call - a way of allowing an outside source to run an 'executable' on a box. Both Unix and most databases support them.

Not sure if Postgres supports it or not.
New When you hear "RPC", it makes sense to ask about context
There's classic RPC, and there's the "RPC" used as a general label for "I'm here, and I need to get a message to there (and maybe back)". There are a bunch of approaches the the latter problem, depending on those pesky details.
New Low volume - interactive
Almost all of my code resides on world of Linux back-end.
Occasionally I need to create a user interface - which I've done lately in C#.

The back-end Linux code is almost always Perl, but will interact with a variety of 3rd party programs.

So (for a trivial example), I need to create a C# interface that queries that status of a back-end production, and this status is an aggregation of Linux stuff (load average, SGE queue size, plus some information in some log tables currently in Postgresql).

My 1st instinct is to create a Perl program on the Linux size, and have it produce some clearly defined text strings on output. This is then callable from any command line.

I would then need to hand this data off to the C# side, since it would be invloked by a user pressing a button, querying the status of the system. I would want the C# to format and present it, since I hate web presentation/interaction and these are all in-house windows clients.

Based on what you said, it seem a CGI interface a decent answer.

Hm - what about SOAP?
New SOAP is a dirty word
Way far over complex for what you need, by the sounds of it. Of course, SOAP is over complex for just about everything.

Just use a simple POST/response interface, and you'll be all happy and stuff.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New REST in the ease of HTTP
[link|http://en.wikipedia.org/wiki/REST|http://en.wikipedia.org/wiki/REST]
New Yep, that's what we support here.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Agreed
[link|http://www.perl.com/pub/a/2004/09/30/drop_the_soap.html|Don't be afraid to drop the SOAP] says it all, from the perspective of someone who loves XML.

Note, SOAP used to stand for Simple Object Access Protocol. It now stands for nothing because people couldn't stand the irony, seeing as how it isn't simple and no objects are involved.

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
New Irony can be so ironic...
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Sure it stands for something
Stupid Object Access Protocol



"Whenever you find you are on the side of the majority, it is time to pause and reflect"   --Mark Twain

"The significant problems we face cannot be solved at the same level of thinking we were at when we created them."   --Albert Einstein

"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses."   --George W. Bush
New Come on, you can do better than that:
Suppuration Of Access Predicament
Sent Objects Are Punted
Software Originators Aren't Pleased
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New I suppose
Syntactic Obfuscation/Augmentation Protocol



"Whenever you find you are on the side of the majority, it is time to pause and reflect"   --Mark Twain

"The significant problems we face cannot be solved at the same level of thinking we were at when we created them."   --Albert Einstein

"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses."   --George W. Bush
New ROFL
New That works
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Surely Over Agitation Pleases
;-)


Peter
[link|http://www.ubuntulinux.org|Ubuntu Linux]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New Simple Operations Are Perplexing
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
     C# -> Linux Perl RPC? - (broomberg) - (21)
         RPC means...? - (dws) - (15)
             Re: RPC means...? - (Simon_Jester) - (1)
                 When you hear "RPC", it makes sense to ask about context - (dws)
             Low volume - interactive - (broomberg) - (12)
                 SOAP is a dirty word - (admin) - (11)
                     REST in the ease of HTTP - (FuManChu) - (1)
                         Yep, that's what we support here. -NT - (admin)
                     Agreed - (ben_tilly) - (8)
                         Irony can be so ironic... -NT - (admin)
                         Sure it stands for something - (tuberculosis) - (6)
                             Come on, you can do better than that: - (admin) - (5)
                                 I suppose - (tuberculosis) - (2)
                                     ROFL -NT - (FuManChu)
                                     That works -NT - (admin)
                                 Surely Over Agitation Pleases - (pwhysall)
                                 Simple Operations Are Perplexing -NT - (ben_tilly)
         OT: could you get rid of the animation in your icon - (Arkadiy) - (3)
             Use your browser features to disable that. - (Yendor)
             Somewhat changed. -NT - (broomberg) - (1)
                 Oh yeah, that's just lovely (new thread) - (tuberculosis)
         I recently had to do something like that. - (static)

Powered by orbiting brain lasers!
154 ms