firstimpression reacted to KirkM in Cookie Changes to SameSite
I'm sure that you are allaware of the changes to how cross-site cookies are going to be handled by browsers. Please see - https://blog.chromium.org/2019/10/developers-get-ready-for-new.html For anyone serving ads to Ad Exchanges and/or Networks this is going to be an issue. Are there any plans to roll out a solution? Or am I missing a solution that already exists (my programming skills are somewhat rusty)? Any assistance in the matter would be appreciated.
firstimpression got a reaction from kanuns in Master Slave Configuration
@kanuns, this is totally possible.
If you set up MySQL replication you can replicate your set up whenever MySQL slaves will be able to connect to master.
If you know IP addresses of your remote servers then you can run maintenance-distributed to pull statistics to master server.
With this scheme you will have all the stats on the master server. To have all the rest of the stuff synchronized you will have to write a few scripts that will put graphic assets to your remote servers.
firstimpression got a reaction from andrewatfornax in Serving Ads Over Https Fails
Had exactly the same problem.
In the end the problem was that if you supply an HTML banner, and the zone is rendered under SSL, Revive performs a check if there is any SSL-unsafe code in the banner. If it does detect that kind of code, the the banner is simply not delivered.
In my case, I have added banner with the following type of code: <iframe src=http://...></iframe>
The snippet that loaded from SSL URL of Revive did not serve that banner, while non-SSL version of snippet did.
firstimpression got a reaction from andrewatfornax in Decrase Bandwith Usage
You can also try enabling gzipping on your webserver, this will save about 50% of HTML/JS (although, it will not compress your images any more).
If you have multiple zones, then try to implement single page call, this will significantly save overhead bandwidth of querying code per each zone.
firstimpression got a reaction from andrewatfornax in Images not displaying in Admin UI
According to this webserver config, any request like mydomain.com/images/image.jpeg would be fetched from /opt/revive-adserver-4.0.1/www/images/image.jpeg.
You have to configure your webserver accordingly if you want to serve over HTTP anything that is outside of www folder. You can use Alias or RewriteRule directives.
firstimpression got a reaction from andrewatfornax in Ads Stopped Appearing after Low Disk Space
@Accuraty, from my experience, after you run out of disk space, and after you solve the issue by freeing up some space, you have to restart MySQL. Otherwise it just continues to behave as if there is still no space available.
firstimpression got a reaction from andrewatfornax in In iframe code, lg.php is not called. Is this normal?
Thank you for your reply. In the end it was something that I edited in Revive's core code.
Just wanted to confirm that it was an incorrect behavior.
firstimpression got a reaction from bdamage in php7 and mysql
Solved this by compiling PHP's pecl mysql extension from source:
$ git clone https://github.com/php/pecl-database-mysql mysql --recursive Go to directory of the downloaded files, and then:
$ phpize $ ./configure $ make $ make install Then you have to register the extension in php.ini:
extension=/usr/local/lib/php/[. . . path to PHP extensions]/mysql.so Then restart Apache, and Revive works fine.
PS. When I ran "configure" I also had to specify path to php_config:
firstimpression got a reaction from andrewatfornax in Revive Is Slowing Down My Vps
Your hosting provider is absolutely correct, although, this is a very wide question, and you did not even provide any details on the system that serves 1M impressions.
You should find bottlenecks - analyze CPU load, system load, memory availability, etc. You should also check limitations that you have set on your web server (max processes, and such) by monitoring your server with different tools.
I am sure you haven't exploited yet the optimization boost that can give you memcached, mysql query cache, xcache, eAccelerator, nginx, and a whole bunch of other approaches that you can easily find on the internet.
If the number of campaigns, zones, banners, etc, is low, then it should be enough 2 CPUs/4GB RAM with proper system settings to serve 1M daily.
Either way, what you describe sounds like Apache is thrashing as it reaches ServerLimit, try checking that.