[Seaside] speed of VM vs. speed of database

Sebastian Sastre sebastian at flowingconcept.com
Sat Dec 3 20:12:28 UTC 2011

hey sergio,

if objects and tables with relations where truly comparable, objet-relational-impedance-mismatch [1] would not exist.

In the other hand if you use a BTree of objects indexed in the way you need, your speed will have no match in the RDBMS world.

Proper use of Gemstone, omnibase or even a modest index persisted in the image (a facade to a BTree or something like that) will satisfy quite high expectations.

Have in mind that, for performance, the only metric that really counts is the user experience.

Maximize anything else and you'll be heading to a non human centered artifact, faster.

BTW, this could be off topic but in the economy there is an anti-pattern familiar to this when you see companies maximizing profit instead of wealth creation.

for more I highly recommend this video:

Re-thinking IT by John Seddon



[1] http://en.wikipedia.org/wiki/Object-relational_impedance_mismatch

On Dec 3, 2011, at 3:56 PM, sergio_101 wrote:

> i am currently developing an app just for fun..
> during my day job, i am a developer using a web framework that
> directly connects to a database (mysql)..
> one of the things we always do is craft our queries to use use the
> database only for all queries and selections. when you use the
> database for anything other than trivial queries, the difference is
> the speed of the query is totally evident..
> i am just wondering how the speed of the smalltalk VM compares to the
> speed of pulling results from a database and shoving them into an
> array..
> thanks!
> -- 
> ----
> peace,
> sergio
> photographer, journalist, visionary
> http://www.CodingForHire.com
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

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

More information about the seaside mailing list