{"id":54657,"date":"2023-05-30T09:34:55","date_gmt":"2023-05-30T07:34:55","guid":{"rendered":"https:\/\/phrase.com\/?p=54657"},"modified":"2023-06-22T21:24:10","modified_gmt":"2023-06-22T19:24:10","slug":"phrase-strings-search-improvements","status":"publish","type":"post","link":"https:\/\/phrase.com\/blog\/posts\/phrase-strings-search-improvements\/","title":{"rendered":"Phrase Strings Just Got Even Snappier with ~4x Faster Search Response Time"},"content":{"rendered":"\n<div id=\"acf\/text-block_0ed8ec68b871ad540355ce6b927c9d9f\" class=\"pxblock pxblock--text spacing--default bg--white\">\n\n\t\n\t<div class=\"container\">\n\t\t<div class=\"wysiwyg animate-in\">\n\t\t\t<p><span style=\"font-weight: 400;\">In the fast-changing SaaS landscape, software users expect lightning-fast response\u2014and translation automation technology isn\u2019t an exception. For <\/span><a href=\"https:\/\/phrase.com\/platform\/strings\/\"><span style=\"font-weight: 400;\">Phrase Strings<\/span><\/a><span style=\"font-weight: 400;\">, the software localization platform within the Phrase Localization Platform, time to result is a key indicator of a seamless user experience (UX) for businesses that look to launch multilingual software quickly and efficiently.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As one of <\/span><a href=\"https:\/\/phrase.com\/careers\/\"><span style=\"font-weight: 400;\">Phrase\u2019s values<\/span><\/a><span style=\"font-weight: 400;\"> is showing up to make a difference, our engineers proactively looked into ways to boost the search and discovery experience in Phrase Strings. With optimized data storage space and more balanced load distribution within nodes, users can now enjoy an approx. 4x faster time to result for search queries. Here&#8217;s how the improvements elevate the UX for Phrase Strings customers.<\/span><\/p>\n<p><a href=\"https:\/\/phrase.com\/wp-content\/uploads\/2023\/05\/phrase-strings-search-cluster.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-54675 size-full\" src=\"https:\/\/phrase.com\/wp-content\/uploads\/2023\/05\/phrase-strings-search-cluster.png\" alt=\"Phrase Strings search cluster improvements\" width=\"2193\" height=\"583\" srcset=\"https:\/\/phrase.com\/wp-content\/uploads\/2023\/05\/phrase-strings-search-cluster.png 2193w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/05\/phrase-strings-search-cluster-300x80.png 300w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/05\/phrase-strings-search-cluster-1024x272.png 1024w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/05\/phrase-strings-search-cluster-768x204.png 768w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/05\/phrase-strings-search-cluster-1536x408.png 1536w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/05\/phrase-strings-search-cluster-2048x544.png 2048w\" sizes=\"(max-width: 2193px) 100vw, 2193px\" \/><\/a><\/p>\n<p class=\"utility\" style=\"text-align: center;\">When downward trends are positive: Phrase Strings now delivers a faster time to result for search queries<\/p>\n<h2><span style=\"font-weight: 400;\">Optimizing the search cluster in 3 key steps<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">OpenSearch is a robust search and analytics engine that helps business users find and understand insights in large amounts of data. In Phrase Strings, it powers both the <\/span><span style=\"font-weight: 400;\">search service and translation memory feature. Any time a user searches for a keyword or needs to auto-translate a key\/string using translation memory, OpenSearch is called to carry out either action\u2014which is why speed is essential.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To ensure Phrase Strings keeps meeting the growing enterprise needs of its customers at speed, our engineers delivered 3 key improvements to the OpenSearch cluster in the backend, resulting in an approx. 4x faster search response time:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Adjusted data structure<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Decoupled stats<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Optimized sharding<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-weight: 400;\">Adjusting data structure<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">One of the first steps we took was to adjust the structure of our data for OpenSearch to handle smaller documents, allowing us to store and retrieve data more efficiently. In return, the reduction in document size led to faster and more responsive search functionality. Going from 2TB down to 600GB, <\/span><b>Phrase Strings has saved approx. 75% of the storage space used before<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Decoupling stats<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Another area we focused on was decoupling stats from the search cluster. In the past, we were making too many requests to OpenSearch to retrieve stats, causing unnecessary strain on our system. After decoupling the stats and fetching them from the database instead, Phrase Strings<\/span><span style=\"font-weight: 400;\"> now has instant statistic updates in most cases. <\/span><b>This change<\/b> <b>has<\/b> <b>reduced the number of requests made to our search service by approx. 50%.<\/b><\/p>\n<h3><span style=\"font-weight: 400;\">Optimizing sharding<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Finally, we fine-tuned our sharding strategy to get a more even distribution of shards loaded across our OpenSearch nodes. The adjustment resulted in a more balanced data distribution and reduced node failure risk due to overloading. <\/span><b>Both improvements have further strengthened the stability and reliability of Phrase Strings\u2019 search service.<\/b><\/p>\n<h2><span style=\"font-weight: 400;\">Seamless UX: Driving Phrase Strings&#8217; improvements<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">With these meaningful changes to its search cluster, Phrase Strings users now get a search response approx. 4x more quickly than in April 2023. Laying a solid foundation for uninterrupted, high performance, this milestone adds to a more streamlined search experience in Phrase Strings. The next one won\u2019t be long in coming: Our team stays committed to continuous improvement to provide the best possible UX for its customers.<\/span><\/p>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n\n<div id=\"acf\/blog-cta-block_03cece94a0e0b572a4b7ca9dceda1c56\" class=\"pxblock pxblock--blog-cta bg--yellow image--orientation-landscape\">\n\t<div class=\"block-container\">\n\t\t\t\t\t<div class=\"image image--align-middle\">\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1890\" height=\"1730\" src=\"https:\/\/phrase.com\/wp-content\/uploads\/2023\/03\/phrase-localization-suite.png\" class=\"attachment-original size-original\" alt=\"Phrase localization platform key visual | Phrase\" srcset=\"https:\/\/phrase.com\/wp-content\/uploads\/2023\/03\/phrase-localization-suite.png 1890w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/03\/phrase-localization-suite-300x275.png 300w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/03\/phrase-localization-suite-1024x937.png 1024w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/03\/phrase-localization-suite-768x703.png 768w, https:\/\/phrase.com\/wp-content\/uploads\/2023\/03\/phrase-localization-suite-1536x1406.png 1536w\" sizes=\"(max-width: 1890px) 100vw, 1890px\" \/>\t\t\t<\/div>\n\t\t\t\t<div class=\"content\">\n\t\t\t<p class=\"h6\">Join our international team<\/p>\n<p class=\"small\">Want to become part of Phrase&#8217;s success story? We&#8217;re always looking for talented and motivated people to help in pushing the boundaries of language technology!<\/p>\n<p><a class=\"btn btn--outline\" href=\"https:\/\/phrase.com\/careers\/jobs\/\">See open positions<\/a><\/p>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>With enhancements to its search cluster, Phrase Strings offers business users faster and more responsive search and discovery experiences than ever before.<\/p>\n","protected":false},"author":58,"featured_media":54666,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_stopmodifiedupdate":false,"_modified_date":"","_searchwp_excluded":"","footnotes":""},"categories":[42],"class_list":["post-54657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-phrase-and-beyond"],"acf":[],"_links":{"self":[{"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/posts\/54657"}],"collection":[{"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/comments?post=54657"}],"version-history":[{"count":30,"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/posts\/54657\/revisions"}],"predecessor-version":[{"id":56373,"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/posts\/54657\/revisions\/56373"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/media\/54666"}],"wp:attachment":[{"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/media?parent=54657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phrase.com\/wp-json\/wp\/v2\/categories?post=54657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}