On Apr 1, 10:54 am, Gaurav Meena <[email protected]> wrote: > My use case is little bit easy though. I just want to do *only select > queries* on monetdb. > I have tried both odbc and ffi and found ffi better(or may be easy) to use. > (is odbc better then ffi?) > 1. Should I not use ffi for this simple case and build a new driver from > scratch? > 2. If ffi is advised. then should I create a new connection and close it > after every transaction or > 3. should i use node-pool or some other pooling alternative if available?
ffi may be easier, but AFAIK there's still a significant performance hit compared to writing a proper binding. IMHO for pooling it's best to delegate that functionality out to a third party module such as node-pool. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
