[Seaside] Increasing the performances of a Seaside application

Esteban Lorenzano estebanlm at gmail.com
Mon May 30 14:19:15 UTC 2011


El 29/05/2011, a las 2:59p.m., Mariano Martinez Peck escribió:

> 
> 
> 
> It's a bit better. There's no starvation if the timeout is greater than
> zero, but it's still a form of busy waiting, and it limits the number of
> queries per second per connection to at most 1000 (actually 1000 / timeout).
> To compare this with our native implementation - PostgresV3 - I measured 6k+
> queries per second per connection and it's still not optimized for Cog
> (#perform: is slow on Cog).
> 
> 
> Thanks Levente. Unfortunatly I guess that's all we can do with a blocking
> FFI :(
> 
> That's right. You can write a custom plugin to avoid blocking if you really want to, but I guess the FFI version's performance is enough for most applications.
> 
> 
> 
> We tried to write our own plugin. Check package "OpenDBX-Plugin" in http://www.squeaksource.com/SqueakDBX. I am not sure why we didn't succeeded. Maybe because our knowledge was no enough or maybe because its performance was not as good as expected. Maybe Esteban remembers why...

we didn't succeed because at the time we hadn't time to do it (there was a lot of "sync" issues to handle, not an easy task), and when finally we talk about this, Eliot was talking about the threaded ffi, so we decided to wait :)


> 
> Cheers
> 
> 
>  
> Levente
> 
> 
> 
> 
> 
> 
> Levente
> 
> 
> 
> Thanks
> 
> Mariano
> 
> 
> 
> 
> Levente
> 
> 
> 
>  http://www.squeakdbx.org/documentation/Asynchronous%20queries
> 
> Eliot implemented a multi-threaded FFI for Cog but so far I am not sure
> if
> it is already working.
> 
> Cheers
> 
> --
> Mariano
> http://marianopeck.wordpress.com
> 
>  _______________________________________________
> 
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> 
> 
> --
> Mariano
> http://marianopeck.wordpress.com
> 
>  _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> 
> 
> -- 
> Mariano
> http://marianopeck.wordpress.com
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> 
> -- 
> Mariano
> http://marianopeck.wordpress.com
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110530/cbc29723/attachment.htm


More information about the seaside mailing list