30 Apr 2012 cdent   » (Master)

20120430

Spent some time experimenting with allowing the text attribute of a Tiddler object to be a file object to see if this might be more efficient when dealing with binary tiddlers. Unfortunately the change does not address the recently raised JSON PUT of binary data issue.

To address both the incoming HTTP socket's filehandle needs to be carried around throughout the current request. This could allow binary content to be written straight to disk from the socket, without going into RAM.

However, getting this to work without making changes throughout StorageInterfaces and Serializations is likely hard. Of course that's speculation. It could be spectacularly easy, but the concern is to not impact existing code too much.

Perhaps a Tiddler subclass could be useful? More poking required.

At the same time I did some analysis on the sqlalchemy code to see if I could locate where problems with PUT and DELETE may be coming from. For DELETE there were issues with loading too many objects into the session. Still unclear on PUT.

Syndicated 2012-04-30 21:50:59 (Updated 2012-04-30 22:58:20) from cdent

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!