[Seaside] Increasing the performances of a Seaside application

Mariano Martinez Peck marianopeck at gmail.com
Sun May 29 17:59:26 UTC 2011


>
>>>>
>>> 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...

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/20110529/41bb1f8f/attachment.htm


More information about the seaside mailing list