history
premature optimization
by anders pearson
Wed 09 Jan 2002 18:06:05
the root of all evil? or lots of fun?
in an effort to speed up thraxil, it now caches most of the data in static files and updates them only when it has to. so no more 50+ database hits everytime someone loads the main page.
i can't really see an appreciable difference from here (postgres is so damn fast that hitting it 50 times in a row isn't that inefficient. the main bottleneck now is probably just in the time it takes to establish a connection, fork apache and load the perl interpreter.) but in theory it should now be much more robust in the face of a heavy load (like 500 people hitting the site all at once) and even allows thraxil to maintain limited (read-only) functionality if the database gets shut down.
still on my todo list are a decent interface to the archives and the return of markov. once i get those taken care of, i'll open the source code up for everyone to pick through and start writing some alternate themes.
comments
anders pearson - Wed 09 Jan 2002 18:07:05
the <a href="archive.pl">archives</a> should be working now.