Re: .NET or Mono functions in PG - Mailing list pgsql-hackers

From Gevik Babakhani
Subject Re: .NET or Mono functions in PG
Date
Msg-id 002b01c83367$b1b8b760$0a01a8c0@gevmus
Whole thread Raw
In response to Re: .NET or Mono functions in PG  (Magnus Hagander <magnus@hagander.net>)
Responses Re: .NET or Mono functions in PG  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
> I did look at this at some earlier point as well. One big 
> problem at that time was that once you embedded mono, you had 
> all sorts of threads running in your backend ;-)

yes, threads running around could become a show stopper for both Mono and
MS.NET
This is something I want to be sure of before I begin. 

> Another way to do it is "the PL/J" way (I think). Which is 
> starting up a separate process with the VM in it and then do 
> RPC of some kind to it.
> Which has more overhead per call, but lower per backend etc. 
> And a lot less "dangerous".

This is actually my plan B, hence it is less dangerous.
I am thinking the "started process" can stay alive and act 
as a service of some kind to handle/answer calls form multiple
backends and shutdown itself after a period of time being 
idle.


Regards,
Gevik Babakhani
------------------------------------------------
PostgreSQL NL       http://www.postgresql.nl
TrueSoftware BV     http://www.truesoftware.nl
------------------------------------------------





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostGreSQL and recursive queries...
Next
From: Magnus Hagander
Date:
Subject: Re: .NET or Mono functions in PG