You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bogdan Cristea <cr...@gmail.com> on 2009/12/26 15:01:17 UTC

Re: [users@httpd] I need a technique for executing very fast code behind the httpd apache server.

On Saturday 26 December 2009 15:56:43 Andrei 
Paul Nistor wrote:
> I thought about using soap as an comunication 
protocol but in fact the
> remote procedures are php scripts or asp i need 
compiled code that can
> execute fast and share objects, the 
communication protocol isnt important
>  it can be anything.
> 

CORBA offers a framework for client server 
communication. In linux omniorb implements 
CORBA standard, but I don't know how to integrate 
this with apache.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] I need a technique for executing very fast code behind the httpd apache server.

Posted by Morten Kirkegaard Poulsen <mo...@fabletech.com>.
On Sat, 2009-12-26 at 18:20 +0200, Andrei Paul Nistor wrote:
> This sounds something that I'm interested in i mean onc-rpc
> implemented in php and this could solve my problem. I would like to
> also help you guys if its that what I'm thinking about.  If you could
> share the code it would be more than what i was asking for and i
> appreciate it alot.

http://fabletech.com/php-sunrpc/php-sunrpc-20091226.tar.bz2

Please let me know if you have any problems.

Best regards,
Morten

-- 
Morten Kirkegaard Poulsen <mo...@fabletech.com>
CTO, FableTech
http://fabletech.com/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] I need a technique for executing very fast code behind the httpd apache server.

Posted by Andrei Paul Nistor <pa...@gmail.com>.
This sounds something that I'm interested in i mean onc-rpc implemented in
php and this could solve my problem. I would like to also help you guys if
its that what I'm thinking about.  If you could share the code it would be
more than what i was asking for and i appreciate it alot.

On Sat, Dec 26, 2009 at 4:20 PM, Morten Kirkegaard Poulsen <
mopo@fabletech.com> wrote:

> Hi Andrei,
>
> On Sat, 2009-12-26 at 16:01 +0200, Bogdan Cristea wrote:
> > On Saturday 26 December 2009 15:56:43 Andrei
> > Paul Nistor wrote:
> > > I thought about using soap as an comunication
> > > protocol but in fact the
> > > remote procedures are php scripts or asp i need
> > > compiled code that can
> > > execute fast and share objects, the
> > > communication protocol isnt important
> > > it can be anything.
> >
> > CORBA offers a framework for client server
> > communication. In linux omniorb implements
> > CORBA standard, but I don't know how to integrate
> > this with apache.
>
> We have implemented ONC-RPC (a/k/a SunRPC) in PHP and modified the
> rpcgen compiler to output PHP stubs. We use that in a setup like this:
>
> client <--HTTP--> Apache with mod_php <--RPC--> native daemon
>
> One team maintains the native daemon and another maintains the PHP code
> facing the client. We just share the .x file describing the interface.
>
> It performs well, and is very easy to maintain.
>
> If you are interested, we are willing to share the code. It's not very
> much, but it does the job perfectly.
>
> Best regards,
> Morten
>
> --
> Morten Kirkegaard Poulsen <mo...@fabletech.com>
> CTO, FableTech
> http://fabletech.com/
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] I need a technique for executing very fast code behind the httpd apache server.

Posted by Morten Kirkegaard Poulsen <mo...@fabletech.com>.
Hi Andrei,

On Sat, 2009-12-26 at 16:01 +0200, Bogdan Cristea wrote:
> On Saturday 26 December 2009 15:56:43 Andrei 
> Paul Nistor wrote:
> > I thought about using soap as an comunication 
> > protocol but in fact the
> > remote procedures are php scripts or asp i need 
> > compiled code that can
> > execute fast and share objects, the 
> > communication protocol isnt important
> > it can be anything. 
> 
> CORBA offers a framework for client server 
> communication. In linux omniorb implements 
> CORBA standard, but I don't know how to integrate 
> this with apache.

We have implemented ONC-RPC (a/k/a SunRPC) in PHP and modified the
rpcgen compiler to output PHP stubs. We use that in a setup like this:

client <--HTTP--> Apache with mod_php <--RPC--> native daemon

One team maintains the native daemon and another maintains the PHP code
facing the client. We just share the .x file describing the interface.

It performs well, and is very easy to maintain.

If you are interested, we are willing to share the code. It's not very
much, but it does the job perfectly.

Best regards,
Morten

-- 
Morten Kirkegaard Poulsen <mo...@fabletech.com>
CTO, FableTech
http://fabletech.com/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org