31
Herko
Re: OK, here is the update
  • 2004/5/4 8:58

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


This is serious indeed. We are constantly watching for speed issues, but some are harder to tackle then others. But I agree that we should keep the number of queries to an absolute minimum.

What strikes me as odd is that your site isn't the biggest site around using XOOPS, and we've asked for stress test results, but none of the bigger sites do those (strangely enough). XOOPS.org runs on a dedicated server with -I think- a 1.5 Ghz AMD processor, 1GB RAM and Red Hat Linux. The only times this site gets into trouble is when it is under attack (2-3 times a month), or when a bot slips though and exectues too many simultaneous queries (50+ connections at a time for the bot only). And we had some issues with the wiki, where the search feature didn't close the connections.
XOOPS benefits a lot from caching, as it brings down the number of queries a lot (potentially).

But again, I agree that speed and resource use are very important issues. So yes, we are listening (this has ALWAYS been one of the top issues with XOOPS development). But don't discount the idea of the server being inadequate or misconfigured yet. I've experienced a lot of changes in resource availability with different versions and combo's with apache, php and linux distros. Server config is very important as well... And then there are the optimisers like Zend has. And the MySQL server config as well. Lots and lots of factors are at play here. It is a complex matter indeed.

Herko

32
brash
Re: OK, here is the update
  • 2004/5/4 8:58

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Quote:

ylw633 wrote:
i really find it amazing XOOPS can't handle our traffic with this kind of resource since our XOOPS is a very typical one and don't use a lot of modules (only FreeContent). No pconnect is used, and so far no cache is enabled.


And this may well be your problem. Apart from my own sites, I also help admin an IIS support site which gets between 20~30 users (actual users, not what's reported by the "who's online" module as it's known to be inaccurate) at any one time. Still not as much as your site granted, but we extensively use the block caching & module caching feature which drastically decreased sever load using very similar system specs, except running Microsoft OS and IIS. Have a look at the performance gains I found here on my own site through the use of caching. Finding the right balance between caching and ensuring up to date data is a tricky thing to get right, but a very worthwhile investment in time.

The other very influencial factor is your theme and template structure. According to IBM Page Detailer (must have free software) loading your site (http://www.roundballcity.com) over my 512/512 SDSL connection from Australia took 9.35 seconds, which isn't too bad. however, total site sized weighed in at 155kb, with 21 http requests, which again isn't too bad, but could be optimised to vastly increase loading times and decrease server load and bandwidth usage.

Finally, you really need to look at optimising your news posts. You have over 700 news items which are not archived, plus the fact you are not using cache would mean you'd be spanking the heck out of any server you throw at your site. This would be regardless of what CMS you are using.

I understand your frustration, I really do. But I'd advise you to get back to the basics of optimizing XOOPS to serve you better. At the moment you have a huge content & user base using what looks to be an almost out of the box implementation of Xoops. I'd be glad to help if you need it.

33
WarDick
Re: OK, here is the update
  • 2004/5/4 9:11

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


I believe this site has been bumped from several providers because of resouce consumption.

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.roundballcity.com%2Fxoops%2Fmodules%2Fnews%2F

It may be advantageous to clean up your code. Click on the above link. It is the W3C validator. It shows 338 errors.

34
Herko
Re: OK, here is the update
  • 2004/5/4 9:22

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


And the server may not be up to the task. 1.7 Ghz may be minimal but ok, but I think 512 mb RAM is too little for MySQL and Apache.

Herko

35
brash
Re: OK, here is the update
  • 2004/5/4 9:25

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Being non compliant for XHTML and CCS is fairly common place among themes & template systems used in Xoops. There are some very slick themes out there though that will significantly reduce page weight. Have a look at a few themes by 7dana and StudioC.

http://www.studiocreativ.net/

This is a particulary good example of how lean an XOOPS theme & template system can be. This site is XHTML & CSS compliant, and only weighs in at around 70k with 11 http requests. That's less than half of what your site generates in size and http requests each time a new user connects, and in the instance of having a large user base it is easy to see how thiswould have enormous impact on performance.


36
Herko
Re: OK, here is the update
  • 2004/5/4 9:33

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Maybe someone can scourge through these forums and create a FAQ on site performance and optimisation? This is valuable info...

Herko

37
WarDick
Re: OK, here is the update
  • 2004/5/4 9:40

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


One more thought on the subject.

You may be taking the problem with when you change sites. As I have mention before. Your database may need to be optimized. If you just back-it up and take it with you, so will you take the problem with you. I am not a MySql expert but I have been advised by one that it is necessary, also to add index fields to make the queries go faster. I would look here before looking anywhere else. I got the information from dotgeek.org I believe his username was gurugeek.

I can not emphasize this enough. With a hundred queries per page the problem will lie here.

38
brash
Re: OK, here is the update
  • 2004/5/4 9:55

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Quote:

Herko Coomans wrote:
Maybe someone can scourge through these forums and create a FAQ on site performance and optimisation? This is valuable info...

Herko


A very good idea, and one I'd take on myselft if I didn't already have a full plate. Maybe in another few months when I have freed myself of the few tasks I have set myself I have a go at tackling it.

39
WarDick
Re:Optimize the Database
  • 2004/5/4 15:17

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


If you have MySQL Admin:
Login, select catalogs, select your database, highlight all tables, and click "optimize";

40
Stewdio
Re:Optimize the Database
  • 2004/5/4 15:37

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Quote:

WarDick wrote:
If you have MySQL Admin:
Login, select catalogs, select your database, highlight all tables, and click "optimize";


A minor upkeep job that easily gets overlooked, thanks for the reminder

Login

Who's Online

254 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits