January 2011
5 posts
2 tags
Marking Posts as Read or Unread on Sessionless BBS
In order to avoid user-tracking, the 381chan BBS uses no sessions, no cookies, and is therefore completely stateless. Any state is tracked by the web browser, that is. However, any self-respecting BBS is able to show you whether a topic you are interested in has new posts or not, right? Here’s a little trick to get around the lack of sessions when trying to implement this. Since browsers...
Jan 15th
6 tags
Running Web Apps as Linux System Service
While you can always start your python application from the shell, and background it, on a server, you sometimes need to account for situations where the backgrounded process has to be killed and restarted automatically on system boot (like auto-reboots by system monitoring software). In such cases, you want to run your web app as a system service rather than manually from the shell. Here’s...
Jan 14th
1 note
5 tags
Web Application Caching 101
While load-testing 381chan.org, I discovered that despite the super-fast bjoern WSGI server, and capable nginx frontend, the site had roughly 50% failed request during a 1k-request test with concurrency level of 300. It turns out that the database is the bottleneck, and that this bottleneck is solved quite easily with caching. Most of the time, caching might seem like a way to improve...
Jan 14th
10 notes
1 tag
381chan.org is Live
It’s with great pleasure that I announce the start of 381chan, Serbia’s first anonymous posting message board. Although (as with most chans) the forum is geared towards people who love Japanese culture, it is open to most common topics people may find important. The 381chan was conceived as a clone of the wildly popular Japanese 2ch (2チャンネル). 2ch has proven that anonymous posting...
Jan 13th
5 tags
381chan.org
I haven’t blogged anything in a while. However, I think it was worth it. During the past 16 days, I’ve been working on a project aimed predominantly for the Serbian Internet users. It’s an anonymous message board system called AnonyBBS. It’s currently deployed on test.381chan.org where early adopters are testing it. The 381chan, as the name suggest, is yet another chan,...
Jan 9th
16 notes