[squeak-dev] Re: MySQL question?

Andreas Raab andreas.raab at gmx.de
Tue Jan 12 22:29:47 UTC 2010


Mariano Martinez Peck wrote:
> The biggest problem I found with the ODBC driver for Squeak is that it 
> uses FFI and it locks the complete VM during the function invocation. In 
> ODBC, queries are synchronous, so, if you have a website with 
> multipleusers, and someone sends a query, it is likely the complete vm 
> will be locked until it finishes.

I've been wondering about that. It says here 
(http://wiki.squeak.org/squeak/6129):
---------------------------------------
OpenDBX and FFI
You can have a common problem which is that SqueakDBX, trough FFI...
---------------------------------------

This implies you're using FFI to talk to OpenDBX.
How's that different from ODBC?

Cheers,
   - Andreas

> 
> You can see what I am talking about in my slides:  
> http://www.slideshare.net/esug/squeak-dbx
> 
> There I compare both drivers. I am not an ODBC expert, so if someone 
> think that that's incorrect, please let me know.
> 
> Cheers
> 
> Mariano
> 
> 2010/1/12 Miguel Enrique Cobá Martinez <miguel.coba at gmail.com 
> <mailto:miguel.coba at gmail.com>>
> 
>     El mar, 12-01-2010 a las 15:49 -0500, John Chludzinski escribió:
>      > Took your all’s advice and switched to the ODBC driver.  Works well !
>      > Thanks.  ---John
> 
>     Well, is your codebase but I would like to know why SqueakDBX isn't good
>     enough for you. AFAICT SqueakDBX is being maintained currently. Haven't
>     seen much about ODBC in this lists in the past 3 years.
> 
>     Anyway, if it fits to your project then that's is enough.
> 
>     Cheers
>     --
>     Miguel Cobá
>     http://miguel.leugim.com.mx
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 




More information about the Squeak-dev mailing list