Posting Improvements

Those of you who post around here should notice that it’s a lot faster now.

Previously, whenever a new post or reply was created, the weblog would email me a zip file containing all the posts ever made on my site.  (Yes, I am a backup fanatic.)  There are now nearly 800 posts though, and all those posts total about 1 megabyte, and emailing a 1-megabyte file is taking my server about 15-20 seconds.

So now, the weblog will only send that big email once per day.  If you’re the lucky first poster of the day, then you’ll still feel the slowdown between clicking the "post" button and your post appearing.  But all other posts/replies will be ~instant now.

I also cleaned up the help page so it’s now Easier Than Ever(TM) to include links and other formatting in your posts.

Posted by Anthony on 4 replies


01. May 11, 2005 at 08:19pm by Kev:

If I may make a suggestion: why don’t you set up a cron job to make a backup every 15 minutes (or every hour, or whatever you feel is adequate) and have it send you the email then?

02. May 11, 2005 at 09:04pm by Anthony:

On a server like mine where I have shell access, that would be fine.  But I designed my website package to be able to run on servers with only FTP access, and on Windows servers where there’s no cron at all.  In those cases having the script do the backup is the only option.  And I think it’s a better option anyway, because this way I don’t need to mess with anything outside the script, like cron, even if it is available.

03. May 12, 2005 at 10:56am by Kev:

Point taken. I figured you’d have a good explanation.

04. May 13, 2005 at 05:38pm by mom:

I love the speed.  You know how I bug you about my jurassicly slow system sometimes so when I’m at your site I just speed through.  Oh, and the HELP link is much more understandable to me.  Thanks:)

Reply to this message here:

Your name
Website (optional)

HomeCreate PostArchivesLoginCMS by Encodable ]