Junta was the next game, and a funny one, again.
Continued to work on the news server today. Work? Rewrite of almost anything. Fixed a few bugs, added a few test cases. Spent most of the time thinking about some major design problems (like how to get a moderately fast history without needing lots of memory). No conclusion yet, but a few ideas:
- move the history to an own daemon process.This should take care of the ever-changing API problem :-)
- leave the group index as it is for now.
can use a daemon for that, too, but later ...
- the history stuff will be accessible through a udp socket, just the commands will have to go through a pipe or unix daemon socket.
- not having an overview is fine, except for performance. Possible speedup: move the article header caches from the nntps daemons to a cache daemon.
Is it worth the pain? (not that performance is _so_ bad, but the whole stuff is slower than i like it. The parsing isn't the problem, it's the article read time.)
Apart from that: i'm not feeling well. Am i catching a cold or is it because i didn't sleep enough? (the later is true, anyway)