Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

  1.  

    Hello!

    We recently developed a internet web portal for news about fashion sector in Spain, and we integrate the OIO plugin and delimited 9 different zones for the adds.

    The site is completely developed in Wordpress, with more than 500.000 images and more than 15.000 news.

    We are using for the design Visual Composer, all plugins updated.

    http://www.pinkermoda.com

    Banners are distributed inside different specific zones created in our template for that. Header as an specific one, home page has 3 positions inside the body using inside the design of the wordpress page the Visual Composer.

    In this particular add positions, we include the java code to call the banner position, and works fine.

    Also in the right side bar, there are three widgets with OIO areas and works fine.

    Also we modify other files that are not affected by the Visual Composer, as the single.php page, including there the OIO php code for create the add zone.

    In terms of coding, neither the installation, creation of zones, statistics, nor the banners we upload, was creating any problem.

    So everything was ok until the customer decided to make the banner rotation not only in the normal way ( when you move to another url inside the web), they also want the banners to change every 5 seconds.

    So, a week ago, I’d reprogramed again the whole site, changing in every banner position the java code to ad in the end “&refresh=X” like this example:

    <script type="text/javascript" src="http://www.pinkermoda.com/wp-content/plugins/oiopub-direct/js.php#type=banner&align=center&zone=2 &refresh=7"></script>

    So after that, we start to suffer malfunction on the server about a continuously number of calls from OIO plugin to the server, as you can check with firebug or Chrome tools.

    Also the OIO Sidebar widgets was replace with text widgets with the OIO add zone in java.

    The actual database size is 1 GB, and we have 4 gb ram memory in a dedicated server.

    We have a secondary hard disk running in paralel with a backup, so when the web crash, automatically the second had disk retake the position, so the customers don’t appreciate the failure, but this is a critical situation that we need to solve.

    How to avoid the continuously java calls to the server? there is another method to do the rotation of the banners in this way or another kind of solution?

    We are considering to increase the ram memory, but we are not very sure that this can help, or to do a caché system, but I think that the massive java calls didn’t stop.

    To avoid all at the same time, I’d changed the initial 5 seconds for every banner, to different times, so the time to start the call from java it’s different in every banner.
    Any help is welcome.
    Kindest Regards.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJan 31st 2016
     
    Project Admin

    To be honest, my only recommendation at this stage would be to not use the refresh option, as it is a lot more resource intensive and is probably not optimal itself for large numbers of quickly rotating ads. There's no different way to do it without re-writing how that all works (and even then it might not make much difference).

    Users also won't generally appreciate constantly changing ads.

    Removing the refresh option would also allow you to go back to using widgets / php code for displaying the ads, which performs better than the javascript option in general.

    Need help?  Quick start guide | Troubleshooting | All help topics