Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

is there a prevalence layer in scheme?

57 views
Skip to first unread message

quiet_lad

unread,
May 20, 2012, 9:16:18 PM5/20/12
to

fred....@treklogic.com

unread,
Jun 18, 2012, 1:18:12 PM6/18/12
to
On Sunday, 20 May 2012 21:16:18 UTC-4, quiet_lad wrote:
> http://www.advogato.org/article/398.html

quiet_lad

I read the article -- frankly, I didn't understand it. It appears that "prevalence" in the article only refers to pure functional "business objects". Somehow, this is linked to ACID. (Sorry, I didn't have time to go code reading).

But, for pure functional, why not just use memoization? A memoization function that returns the memoized function for a function is easy enough in Scheme.

And, if you want restartable computation, use a hash table for the memoizer, and serialize that on occasion.

Seems easy enough.

quiet_lad

unread,
Jun 28, 2012, 7:35:01 PM6/28/12
to
this is acid replacement for oracle

items in ram
updates to disk
whole image dumped every 6 hours
on fault read in dump
then rearead log to restore state
all updates n reads flow through command objects
querys in native anguage
100k/s on desktop reads
commits less but very fast too as log is in sequence write
0 new messages