Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  New feature: caching  (Read 1330 times)
0 Members and 1 Guest are viewing this topic.
Online Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Posted 2011-11-27 16:31:35 »

I can honestly say I appreciate the lengthy posts you guys write. Those huge threads took rather long to load and my brand new VPS was struggling on those pages, with 250-900ms CPU time per page load. Obviously something had to be optimized. As some of you may know, SMF doesn't cache messages, it simple interprets every message as if it has seen it for the first time: all UBB tags have to be found, verified, transformed, etc, using a vast array of regexes.  Needless to say, long pages took some time to process, resulting in the slowdown of the entire forum.

Long story short: I wrote a caching layer.

The forum should be much faster now, on some pages the CPU time was reduced by a factor of 10.

Please report any anomalies in this thread.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline ra4king

JGO Kernel


Medals: 337
Projects: 2
Exp: 5 years


I'm the King!


« Reply #1 - Posted 2011-11-27 22:17:01 »

Thanks for keeping this forum great Riven!

Online Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #2 - Posted 2011-11-27 22:20:55 »

Thanks for keeping this forum great Riven!
I prefer to think of it as making SMF suck less... Emo

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Z-Man
« Reply #3 - Posted 2011-11-27 22:40:58 »

Thanks for keeping this forum great Riven!
I prefer to think of it as making SMF suck less... Emo
There isn't any other *good* forum software you could use?

EDIT: Also thanks for the new feature Tongue
Offline Cero
« Reply #4 - Posted 2011-11-27 22:45:02 »

I like phpBB

Online kappa
« League of Dukes »

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Reply #5 - Posted 2011-11-27 22:46:01 »

Just curious, why not switch to SMF 2.x ? Its suppose to be a lot better.
Online Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #6 - Posted 2011-11-27 22:49:03 »

Just curious, why not switch to SMF 2.x ? Its suppose to be a lot better.
If you look at the sourcecode of SMF 2.x, you'll see that it's not much better. It's an incompetent bunch overthere. Besides, I have way too much invested in the current source (hundreds of tiny modifications).

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline appel

JGO Wizard


Medals: 50
Projects: 4


I always win!


« Reply #7 - Posted 2011-11-27 23:12:13 »

Yea, I agree with Riven there. Nice one.

I've looked at source codes for various php forums, phpBB, smf, etc. and it all sucks. Its a spaghetti clustermess from hell. It is beyond me why these systems are so popular.

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #8 - Posted 2011-11-27 23:16:02 »

You could probably do a better job making the code better, faster than they can. You got nobody to argue with about implementations :-P

I really enjoy all your small tweaks Smiley

Online Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #9 - Posted 2011-11-27 23:24:15 »

You could probably do a better job making the code better, faster than they can. You got nobody to argue with about implementations :-P
In the end I'd have spent months to get the functionality SMF already has. What would be the point? It might reduce the server load from 0.40 to 0.04, but nobody would notice.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline JL235

JGO Coder


Medals: 10



« Reply #10 - Posted 2011-11-27 23:26:04 »

Personally I think all old style forums suck; including SMF, phpBB, and similar. Far too much visual noise, navigation and other cruft around them. I much prefer layouts like Reddit and Stack Overflow, which give a much more fluid and streamlined feel.

However building something with half as much functionality as any of those takes time.

But congratulations on getting caching! The board feels much faster then it used to.

Online Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #11 - Posted 2011-11-27 23:35:13 »

Personally I think all old style forums suck; including SMF, phpBB, and similar.
...
I much prefer layouts like Reddit and Stack Overflow, which give a much more fluid and streamlined feel.

  • StackOverflow excels at Q&A with very high signal to noise ratio.
  • Reddit excels at rapid discussion with very low signal to noise ratio.
  • Forums excel at creating a community with moderate signal to noise ratio.

Converting JGO to either StackOverflow or Reddit style, would instantly vaporate the community.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline ReBirth
« Reply #12 - Posted 2011-11-28 12:30:05 »

I still love SMF Grin
Stack Overflow is good, especially when you searching for the right answer because it'll tell you which one and let other replies into black hole. But still I prefer SMF. It's not broke after all~

Offline JL235

JGO Coder


Medals: 10



« Reply #13 - Posted 2011-11-28 16:10:17 »

I was mainly thinking out loud, I don't seriously think JGO should drop SMF any time soon. I just really don't like the mass of categories you get on these old style boards (in general, not in particular aimed at JGO), and they are rarely that ajaxy. Lots of modern alternatives tend to allow you to do just as much, with less page changes and clicks.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (6 views)
2014-07-29 12:53:52

Dwinin (7 views)
2014-07-29 10:59:34

E.R. Fleming (22 views)
2014-07-29 03:07:13

E.R. Fleming (8 views)
2014-07-29 03:06:25

pw (39 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21

Zero Volt (51 views)
2014-07-17 23:47:54
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!