HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


ocPortal relatively slow on XAMPP

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#71838 (In Topic #15098)
Avatar

Fan in action

Currently I am hosting using XAMPP - fresh and new install. Some CMS scripts are fast and snappy while others are slows. ocPortal is one of them which is slow. I installed ocPortal on a shared Apache server: $4.00 per mo. and page loads are fast, what is going on?

All the installs are on a hosted remote server. In a last effort to host ocPortal on a Window box, I will be installing WAMP on a test VPS remote server. Any ideas?


Last edit: by Caps
Back to the top
 
Posted
Rating:
#71840
Avatar

I have observed disk IO being very slow on Windows. ocPortal uses a lot of different files to load, particularly different templates. Installing something like APC might help.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71844
Avatar

Fan in action

IO access is slow on Windows compared to Linux - makes sense. Thank you for your assessment. I perhaps will abandon the test server idea.
Back to the top
 
Posted
Rating:
#71932
Avatar

Fan in action

Hi Chris,

Mounted on Apache/Linux and now fast. Question, why does ocPortal request so many I/O reads/writes? Is that poor design within the core?
Back to the top
 
Posted
Rating:
#71933
Avatar

Modularisation


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71938
Avatar

Fan in action

Hi Chris,

Could you next time create a much short response?  :cool:

So modularization means that plugins/mods are bound to the core? Is not most CMS modular?
Back to the top
 
Posted
Rating:
#71941
Avatar

Could you next time create a much short response?

1

So modularization means that plugins/mods are bound to the core? Is not most CMS modular?

No, the opposite. Things are really split up a lot in order to ensure things aren't too bound together. Plus there is no XHTML in the PHP, so there are quite a few templates that need to get loaded.
Most CMS's are modular, perhaps not quite as much as ocPortal, but probably the one big difference is that ocPortal has a lot more. Things do get faster if you remove a lot of the bundled addons, but at the expense of some of the functionality that makes ocPortal so good.
But yeah remember this all comes down to Windows being a bit lame sometimes. As I say, APC should make a big difference, because then PHP should definitely cache a lot more between page loads, rather than each individual PHP file being loaded and compiled on-the-fly.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71943
Avatar

Fan in action

I noticed you did not mention Zend Optimizer as an alternative.
Back to the top
 
Posted
Rating:
#71944
Avatar

yeah, that should be okay too, and of these opcode caches.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#72052
Avatar

Fan in action

Chris,

I found the ultimate Windows Apache solution: UniFormServer. This has an extremely small footprint. is packaged with Zend Optimizer, there nothing to install, configured to run on a thumb drive (for development). ocPortal is now quick and responsive. LAMPP is not compatible with Zend Optimizer nor any other.

This should make it to "FAQ" and "How to Optimize on Windows."
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: