{"id":1142,"date":"2015-08-03T12:48:39","date_gmt":"2015-08-03T10:48:39","guid":{"rendered":"http:\/\/laxstrom.name\/blag\/?p=1142"},"modified":"2015-08-03T12:48:39","modified_gmt":"2015-08-03T10:48:39","slug":"translatewiki-net-harder-better-faster-stronger","status":"publish","type":"post","link":"https:\/\/laxstrom.name\/blag\/2015\/08\/03\/translatewiki-net-harder-better-faster-stronger\/","title":{"rendered":"translatewiki.net &#8211; harder, better, faster, stronger"},"content":{"rendered":"<p>I am very pleased to announce that <a href=\"https:\/\/translatewiki.net\/?utm_source=saavi&amp;utm_medium=blog&amp;utm_campaign=server-hhvm\">translatewiki.net<\/a> has been migrated to new servers sponsored by\u00a0<a href=\"https:\/\/www.netcup.de\/\">netcup GmbH<\/a>. Yes, that is right, we now have <strong>two servers<\/strong>, both of which are more powerful than the old server.<\/p>\n<p>Since the two (virtual) servers are located in the same data center and other nitty gritty details, we are not making them redundant for the sake of load balancing or uptime. Rather, we have split the services: ElasticSearch runs on one server, powering the search, translation search and translation memory; everything else runs on the other server.<\/p>\n<p>In addition to faster servers and continuous performance <a href=\"https:\/\/gerrit.wikimedia.org\/r\/#\/c\/227082\/1\">tweaks<\/a>, we are now faster thanks to the migration from PHP to <a href=\"http:\/\/hhvm.com\/\">HHVM<\/a>. The Wikimedia Foundation did this a while ago with <a href=\"http:\/\/blog.wikimedia.org\/2014\/12\/29\/how-we-made-editing-wikipedia-twice-as-fast\/\">great results<\/a>, but HHVM has been crashing and freezing on translatewiki.net for unknown reasons. Fortunately, recently I\u00a0found <a href=\"https:\/\/github.com\/facebook\/hhvm\/issues\/5528#issuecomment-122076641\">a lead<\/a> that the issue is related to a <code>ini_set<\/code> function, which I was easily able to work around while the investigation on the root cause continues.<\/p>\n<div id=\"attachment_1143\" style=\"width: 431px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/laxstrom.name\/wordpress\/wp-content\/uploads\/2015\/07\/cxnewnew1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1143\" class=\"wp-image-1143\" src=\"http:\/\/laxstrom.name\/wordpress\/wp-content\/uploads\/2015\/07\/cxnewnew1.png\" alt=\"Non-free Google Analytics confirms that we now server pages faster. \" width=\"421\" height=\"100\" srcset=\"https:\/\/laxstrom.name\/wordpress\/wp-content\/uploads\/2015\/07\/cxnewnew1.png 760w, https:\/\/laxstrom.name\/wordpress\/wp-content\/uploads\/2015\/07\/cxnewnew1-300x71.png 300w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/a><p id=\"caption-attachment-1143\" class=\"wp-caption-text\">Non-free Google Analytics confirms that we now serve pages faster: the small speech bubble indicates migration day to new servers and HHVM. Effect on the actual page load times observed by users seems to be less significant.<\/p><\/div>\n<p>We now have again lots of room for growth and I challenge everyone to make us grow with more translations, new projects or other legitimate means, so that we reach a point where we will need to upgrade again ;). That&#8217;s all for now, stay tuned for more updates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am very pleased to announce that translatewiki.net has been migrated to new servers sponsored by\u00a0netcup GmbH. Yes, that is right, we now have two servers, both of which are more powerful than the old server. Since the two (virtual) servers are located in the same data center and other nitty gritty details, we are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2,9,11],"tags":[108,69,124],"class_list":["post-1142","post","type-post","status-publish","format-standard","hentry","category-english","category-mediawiki","category-translatewiki-net","category-vapaasuomi","tag-elasticsearch","tag-hiphop","tag-translatewiki-net"],"_links":{"self":[{"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/posts\/1142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/comments?post=1142"}],"version-history":[{"count":8,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/posts\/1142\/revisions"}],"predecessor-version":[{"id":1152,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/posts\/1142\/revisions\/1152"}],"wp:attachment":[{"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/media?parent=1142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/categories?post=1142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/tags?post=1142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}