[Stackless] xsdb -- stackless based database engine pre-release

Christian Tismer tismer at tismer.com
Tue Nov 25 22:03:20 CET 2003


Hi Aaron,

> I'm getting ready to release a database engine on source forge which
> uses stackless for it's server mode.

I'm really amazed!

Just started reading through all the files,
it isn't *that* simple, but crazy good stuff.

As I stumbled over it:

def oidHash(oid):
     "compute a string hash from an oid"
     #return oid # FOR DEBUG ONLY
     d = md5.new(str(oid)).digest()
     L = [ hex(ord(a))[2:] for a in d ]
     return string.join(L, "")

def oidHash(oid):
   return md5.new(str(oid)).hexdigest()

On pulver.py:
Why do you need your own key encryption scheme?
Nice to have, but as you know, cryptographic strength
is always a problem with private schemes.
probably you wanted to do it, just for fun?

On socketmonitor.py:
         current = stackless.getcurrent()
         mypriority = self.taskPriorities[current]

Fine, if you want a central dictionary.
But you also may use your derived tasklet type
with a priority property. (doesn't work for main,
at the moment, of course).
Well, I'm going to add priorities, soon, in
a QNX like style, most probably.

-----------------------------------------------
This is just what came up when reading.
I'm absolutely fascinated by what you created.

Thanks that it needs Stackless! :-)
-----------------------------------------------

-- 
Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  mobile +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/


_______________________________________________
Stackless mailing list
Stackless at www.tismer.com
http://www.tismer.com/mailman/listinfo/stackless




More information about the Stackless mailing list