Antville Project

Tuesday, 22. October 2002

New antville need_for_speed branch

I created a new branch in the antville CVS that is called "need_for_speed" and contains optimizations that I didn't want to check into the main branch. They don't change the basic Antville architecture, but they do change how some things are done. The main motivation was to make antville run faster on my orange iBook and similar antique hardware. What I did is pretty simple:

  • req.data.memberlevel is set in hopobject.onRequest(), so the membership level never ever has to be fetched within application code
  • Where possible, things that were done by calling functions previosly are now done by directly accessing fields/properties, i.e. those functions which did nothing but convert/return a property have been mostly removed.
  • Security functions which returned full localized error messages now only return the error message name. The full localized error message has to be retrieved by the caller if it is needed. (The latter isn't implemented yet ;-)

(Unfortunately, some changes sneaked in which don't really belong to the need_for_speed branch but have been lingering in my local repository: Creating stories offline is changed and polls don't require a title anymore and are rendered slightly different. Eventually we should/will discuss these separately.)

What I'd like you to do is to check if this branch really runs faster for you and if so, how much faster. You're also welcome to help finishing what I started and finding missing pieces.

link (6 comments
 

The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8549 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
October 2002
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031
SeptemberNovember
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher