nicloay
Forum Replies Created
-
Forum: Plugins
In reply to: [bbPress] [Plugin: bbPress] Can't find Russian localization?Russian localization available here
http://translate.ww.wp.xz.cn/projects/bbpress/plugin/ru/default
discussion forum:
http://ru.forums.ww.wp.xz.cn/topic/Перевод-на-русский-bbpressForum: Plugins
In reply to: [bbPress] [Plugin: bbPress] Where should I place the language files?There is now translation for ru_RU on this page http://translate.ww.wp.xz.cn/projects/bbpress/plugin/
Is there a way to adapt files from
http://svn.automattic.com/bbpress-i18n/
for bbpress plugin?Thanks
Forum: Plugins
In reply to: [NGINX Manager] [Plugin: NGINX Manager] Purge cache on 10 proxiesIt’s just my test project, like for fun. But i’m planing to use this architecture for news site.
Forum: Plugins
In reply to: [NGINX Manager] [Plugin: NGINX Manager] Purge cache on 10 proxiesNo, i’m not sure that in same, i bought on different providers, and i think in different data centers around the world.
And even if all of RP will be in one lan, it will be impossible to mitigate 2GByte/s attack.
but when we don’t have centralized cache, we just need to deploy more RP.Forum: Plugins
In reply to: [NGINX Manager] [Plugin: NGINX Manager] Purge cache on 10 proxiesHpatoio,
Thanks, for your suggestion.
I use reverse proxy, because my site can be ddosed,
and i use cheep VPS as RP to distribute the load for several boxes.
In case if i’ll use one shared cache – all traffic will come to one machine.Please correct me if i’m wrong:
Assume if i am having a 500 MB/s attack and 5 reverse proxy, each proxy will work on 100 MB/S. but in case of one shared proxy i will get 100 MB/S per each host and 500 MB/S for shared cache box.anyway current implementation works well, thanks again for a great job. just only one remark – that i need to rewrite a purgeUrl function to execute a purge statements to RP in parallel.
Forum: Plugins
In reply to: [NGINX Manager] [Plugin: NGINX Manager] Purge cache on 10 proxiesprobably i found solution, i changed this function
/** * Purge the URL, if 'feed' then purge related feed page also. * Used in the external script to purge the homepage. * * @param $url * @param $feed * @return unknown_type */ function purgeUrl($url, $feed = true) { $serverList=array("257.257.257.257","257.257.257.258","257.257.257.259"); foreach ($serverList as $ip ) { $this->log( "- [".$ip."] Purging URL | ".$url ); $parse = parse_url($url); $_url_purge = $parse['scheme'].'://'.$ip.'/purge'.$parse['path']; if ( $parse['query'] ) { $_url_purge .= '?'.$parse['query']; } $this->_do_remote_get( $_url_purge ); if ($feed) { $feed_string = (substr($parse['path'], -1) != '/') ? "/feed/" : "feed/"; $this->_do_remote_get($parse['scheme'].'://'.$ip.'/purge'.$parse['path'].$feed_string); } } }