INKNetConnect is a generic connect, it is not HTTP specific
(despite the comments).

You can use it for any protocol although as Sean says you
will have to do that at the byte stream level.

However, given that SQL is text, that shouldn't be that hard :)

john

On 5/26/2010 8:44 AM, Sean Cosgrave wrote:
> Hi Sandeep,
> There is currently no built-in support for making, say, MySQL calls from
> inside a plugin, but that does not prevent you from using another library
> inside your plugin (like mysql++) to make database calls.
> 
> -Sean
> 
> 
> On 5/26/10 2:25 AM, "Sandeep Kalidindi at PaGaLGuY.com"
> <[email protected]> wrote:
> 
>> From the docs i have a feeling ATS cannot make any non-http request to any
>> host . Is that so ??? Which means ATS plugins have no chance of connecting to
>> databases directly....
>>
>>
>>
>> INKNetConnect (contp, 127.0.0.1, 9999)
>>
>> the above call is the only call i saw to make network requests but the fact
>> that it doesn't take any protocol means i assume it only uses HTTP protocol.
>>
>> Please let me know if my understanding is wrong.
>>
>> Cheers,
>> Deepu.
>>
>>
>> On Wed, May 26, 2010 at 11:09 AM, Sandeep Kalidindi at PaGaLGuY.com
>> <[email protected]> wrote:
>>> Hi all,
>>>            i am about to write a couple of transformation plugins to ATS
>>> which will fetch data from the database so that all the read requests will 
>>> be
>>> taken care of by the ATS itself while write requests are passed on to the
>>> backend servers. 
>>>
>>> was checking the architecture and it looks fine by me. wanted to ask the
>>> community if there is any major why we should not connect to the database
>>> from ATS before i spend considerable time on it.
>>>
>>> Cheers,
>>> Deepu.
>>
>>
> 
> 

Reply via email to