Search found 95 matches

by TerryE
Sat Apr 09, 2011 4:27 pm
Forum: [3.x] Discussion
Topic: Improving phpBB performance for small installations
Replies: 34
Views: 40330

Re: Improving phpBB performance for small installations

Perhaps one of the key reasons for my slightly different perspective on this issue of performance is that my IT background wasn't one of classic applications development, but more one of modelling, real-time and systems development moving in more general systems engineering. From a systems ...
by TerryE
Wed Apr 06, 2011 5:27 pm
Forum: [3.x] Discussion
Topic: Resource locking and cache coherency within phpBB
Replies: 6
Views: 8870

Re: Resource locking and cache coherency within phpBB

Just out of interest, I've put the latest version of this cache on my OOo forums, which are running 5-10 page-views per sec depending on the time of day (that's about 60x greater than the design sweet-spot), (though I do map my 10 forums cache directories to /tmp sub-directories which are mounted as ...
by TerryE
Tue Apr 05, 2011 8:29 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] HipHop for PHP compatibility
Replies: 7
Views: 21553

Re: [RFC|Accepted] HipHop for PHP compatibility

I've added a few lines of audit to my OOo forums so I collect the microtimes between session start and both the entry to page_header and the return from page_footer. There are very few apps lines before this (mostly compiling and loading which won't be there in an HipHop environent), and these ...
by TerryE
Sun Apr 03, 2011 6:27 pm
Forum: [3.x] Discussion
Topic: Improving phpBB performance for small installations
Replies: 34
Views: 40330

Re: Improving phpBB performance for small installations

I think to say that "it doesn't work with an opcode cache" is a little strong. +1 on there's absolutely no point in doing this if you have an opcode cache installed, but as the compactor would only need to be rerun after code updates which is a pretty rare occurrence. The main problem is that you'll ...
by TerryE
Sun Apr 03, 2011 6:12 pm
Forum: [3.x] Discussion
Topic: Resource locking and cache coherency within phpBB
Replies: 6
Views: 8870

Re: Resource locking and cache coherency within phpBB

AFAIK, the pair of routines _safe_file_read() and _safe_file_write() (that I posted here ) are the only easy way to implement this locked read/write pair with collision detection and resilience against access contention that works in both *nix FS and NTFS (accepting that there may be alternative ...
by TerryE
Sun Apr 03, 2011 5:43 pm
Forum: [3.x] Discussion
Topic: Improving phpBB performance for small installations
Replies: 34
Views: 40330

Re: Improving phpBB performance for small installations

Let me address this point on this thread: Resource locking and cache coherency within phpBB. I am going to have dinner soon, so I'll do it later tonight. :)
by TerryE
Sun Apr 03, 2011 3:25 pm
Forum: [3.x] Discussion
Topic: Improving phpBB performance for small installations
Replies: 34
Views: 40330

Re: Improving phpBB performance for small installations

N, when nn- first raised this specific point which is not really to do with the main topic of this thread: improving phpBB performance for small installations, I did raise a separate specific topic in attempt to cover this, but I can't moderate or control where other contributors post follow-up Qs ...
by TerryE
Thu Mar 31, 2011 5:06 pm
Forum: [3.x] Discussion
Topic: Access Control and File naming
Replies: 11
Views: 10846

Re: Access Control and File naming

again I'm not sure there benefit is worth it
It's that entropy issue again. Having script files in a public directory which implements the phpBB requests apart -- from modules A and B which shouldn't be called. Yuck! :roll:

I take it by "external phpBB integrations" you are mainly talking about ...
by TerryE
Thu Mar 31, 2011 4:52 pm
Forum: [3.x] Discussion
Topic: Sorting out the "includes" strategy
Replies: 3
Views: 4377

Re: Sorting out the "includes" strategy

All I am trying to do here is to float a discussion point. One primary benefit comes down to entropy. If we don't enforce standards and go through the code from time-to-time to clean up non-conformance then disorder rules and the application slowly becomes unmaintainable, and IMHO, this is a messy ...
by TerryE
Thu Mar 31, 2011 4:18 pm
Forum: [3.x] Discussion
Topic: A small CSS optimisation
Replies: 6
Views: 9607

A small CSS optimisation

At the moment the core generated HTML document loads five styles: print.css , style.php?id=<style_no>&lang=<lang> and the three one-liners: normal.css , medium.css , large.css . Surely these last three are really just obsolete? All modern browsers allow you to change the base font size by zooming ...