{"id":48325,"date":"2013-03-05T13:05:25","date_gmt":"2013-03-05T10:05:25","guid":{"rendered":"https:\/\/www.altoros.com\/blog\/?p=48325"},"modified":"2020-10-26T14:49:16","modified_gmt":"2020-10-26T11:49:16","slug":"2-days-with-solr-or-25x-speed-up-of-reindex","status":"publish","type":"post","link":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/","title":{"rendered":"Two Days with Solr, or 25x Speed Up of Reindexing"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#Increasing_the_speed_of_reindexing_with_Solr\" >Increasing the speed of reindexing with Solr<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#Further_reading\" >Further reading<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Increasing_the_speed_of_reindexing_with_Solr\"><\/span>Increasing the speed of reindexing with Solr<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I have chosen <a href=\"https:\/\/solr.apache.org\/\" rel=\"noopener noreferrer\" target=\"_blank\">Solr<\/a> for my Ruby-on-Rails application, because the platform allows for using flexible fields for indexing. However, when deploying the app to production, I faced the <code style=\"color: black; background-color: #e6e6e6;\">negative argument<\/code> error. This was due to <a href=\"https:\/\/github.com\/sunspot\/sunspot\/issues\/139\">progress_bar<\/a>. It was easy to fix. I moved it to the development section in Gemfile.<\/p>\n<p>However, the database was already quite big (300,000 records for indexing), and reindexing took approximately an hour. I decided to investigate the problem.<\/p>\n<p>After reading <a href=\"https:\/\/www.hathitrust.org\/blogs\/large-scale-search\/forty-days-and-forty-nights-re-indexing-7-million-books-part-1\" rel=\"noopener noreferrer\" target=\"_blank\">this article<\/a>, I uncommented <code style=\"color: black; background-color: #e6e6e6;\">mergeScheduler<\/code> in <code style=\"color: black; background-color: #e6e6e6;\">solr\/conf\/solrconfig.xml<\/code>, as well as set <code style=\"color: black; background-color: #e6e6e6;\">ramBufferSizeMB<\/code> to 960, <code style=\"color: black; background-color: #e6e6e6;\">mergeFactor<\/code> to 40, and <code style=\"color: black; background-color: #e6e6e6;\">termIndexInterval<\/code> to 1024. It didn\u2019t increase speed at all, though. I checked how busy my virtual machine was. There was about 50% of free memory, and a central processing unit (CPU) was loaded with 100%. After adding two more cores to CPU, it used 33% of each core on average.<\/p>\n<p>After that, I started to investigate possible options for indexing. The first option is <code style=\"color: black; background-color: #e6e6e6;\">batch_size<\/code>. There are a lot of suggestions to increase indexing to 1,000 records (no more because of the Java garbage collector). However, the <code style=\"color: black; background-color: #e6e6e6;\">rake sunspot:solr:reindex[1000]<\/code> task still worked slowly. I tried to run indexing from the <code style=\"color: black; background-color: #e6e6e6;\">Model.solr_reindex(:batch_size =&gt; 1000)<\/code> console, and it took less time than the <code style=\"color: black; background-color: #e6e6e6;\">rake<\/code> task!<\/p>\n<p>I have found two more interesting options: <code style=\"color: black; background-color: #e6e6e6;\">include<\/code> and <code style=\"color: black; background-color: #e6e6e6;\">batch_commit<\/code>. <code style=\"color: black; background-color: #e6e6e6;\">Include<\/code> allows to select the same batch of rows from a database, as you defined to avoid the <code style=\"color: black; background-color: #e6e6e6;\">n+1<\/code> problem. <code style=\"color: black; background-color: #e6e6e6;\">batch_size<\/code> indexes all rows at once and, after that, commits it. Using <code style=\"color: black; background-color: #e6e6e6;\">include<\/code> and <code style=\"color: black; background-color: #e6e6e6;\">batch_size<\/code>, I got much better results. I created the <code style=\"color: black; background-color: #e6e6e6;\">rake<\/code> task that reindexes all my models using the discovered options and got speed of approximately 750 records per second.<\/p>\n<p>It was still strange for me why the <code style=\"color: black; background-color: #e6e6e6;\">rake<\/code> task worked so slow. After looking into the <code style=\"color: black; background-color: #e6e6e6;\">:sunspot<\/code> namespace, it became obvious. <code style=\"color: black; background-color: #e6e6e6;\">sunspot:solr:reindex<\/code> is a deprecated task, and it just runs <code style=\"color: black; background-color: #e6e6e6;\">sunspot:reindex<\/code> without any options. Ok. I have found out how to pass <code style=\"color: black; background-color: #e6e6e6;\">batch_size<\/code>. How to pass <code style=\"color: black; background-color: #e6e6e6;\">include<\/code> and <code style=\"color: black; background-color: #e6e6e6;\">batch_commit<\/code> then?<\/p>\n<p>Fortunately, <code style=\"color: black; background-color: #e6e6e6;\">sunspot_solr<\/code> and <code style=\"color: black; background-color: #e6e6e6;\">sunspot_rails<\/code> were recently updated, and they were able to pass <code style=\"color: black; background-color: #e6e6e6;\">include<\/code> from the <code style=\"color: black; background-color: #e6e6e6;\">searchable<\/code> method in the model and hardcode <code style=\"color: black; background-color: #e6e6e6;\">batch_commit<\/code> to <code style=\"color: black; background-color: #e6e6e6;\">false<\/code>. I started from 80 records per second, and, by this moment, I got around 1,100 records per second.<\/p>\n<p>New, the error I got was <code style=\"color: black; background-color: #e6e6e6;\">undefined method `closed?' for nil:NilClass<\/code>. In the source code of <a href=\"https:\/\/github.com\/rsolr\/rsolr\/blob\/v1.0.7\/lib\/rsolr\/connection.rb#L20\" rel=\"noopener noreferrer\" target=\"_blank\">rsolr<\/a>, I have found that this is a confirmed Ruby bug. I updated Ruby to Ruby 1.9.3-p362 and got around 2,000 records per second!<\/p>\n<p>There is just one small issue with <a href=\"https:\/\/github.com\/sunspot\/sunspot\/pull\/372\" rel=\"noopener noreferrer\" target=\"_blank\">speed decrease<\/a>. You can use your own <code style=\"color: black; background-color: #e6e6e6;\">rake<\/code> task until it\u2019s fixed.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>These are the major lessons learned:<\/p>\n<ul>\n<li style=\"margin-bottom: 6px;\">uncomment <code style=\"color: black; background-color: #e6e6e6;\">mergeScheduler<\/code> in <code style=\"color: black; background-color: #e6e6e6;\">solr\/conf\/solrconfig.xml<\/code>, as well as set <code style=\"color: black; background-color: #e6e6e6;\">ramBufferSizeMB<\/code> to 960, <code style=\"color: black; background-color: #e6e6e6;\">mergeFactor<\/code> to 40, and <code style=\"color: black; background-color: #e6e6e6;\">termIndexInterval<\/code> to 1024<\/li>\n<li style=\"margin-bottom: 6px;\">use the latest version of Ruby and gems<\/li>\n<li style=\"margin-bottom: 6px;\">use the <code style=\"color: black; background-color: #e6e6e6;\">rake<\/code> task correctly: <code style=\"color: black; background-color: #e6e6e6;\">rake sunspot:reindex[1000]<\/code><\/li>\n<li style=\"margin-bottom: 6px;\">define related tables in your models using <code style=\"color: black; background-color: #e6e6e6;\">:include<\/code><\/li>\n<li style=\"margin-bottom: 6px;\">remember that the <code style=\"color: black; background-color: #e6e6e6;\">searchable<\/code> methods\u2014<code style=\"color: black; background-color: #e6e6e6;\">if<\/code>, <code style=\"color: black; background-color: #e6e6e6;\">unless<\/code>, <code style=\"color: black; background-color: #e6e6e6;\">ignore_attribute_changes_of<\/code>, and <code style=\"color: black; background-color: #e6e6e6;\">only_reindex_attribute_changes_of<\/code>\u2014accept a lot of interesting options that can speed up you application<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Further_reading\"><\/span>Further reading<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/why-should-startups-investors-and-developers-care-about-ruby-on-rails\/\">Why Should Startups, Investors, and Developers Care About Ruby on Rails?<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/research-papers\/performance-comparison-of-ruby-frameworks-app-servers-template-engines-and-orms\/\">Performance Comparison of Ruby Frameworks, App Servers, Template Engines, and ORMs<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/s3-storage-for-your-rails-application\/\">Amazon S3 for Your Ruby-on-Rails App<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>How to speed up solr reindex.<\/p>\n","protected":false},"author":62,"featured_media":58253,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[214],"tags":[1000,895],"class_list":["post-48325","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-github","tag-research-and-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Two Days with Solr, or 25x Speed Up of Reindexing | Altoros<\/title>\n<meta name=\"description\" content=\"This blog post shares best practices and lessons learned on how to increase the speed of reindexing with Solr in a Ruby-on-Rails app.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Two Days with Solr, or 25x Speed Up of Reindexing | Altoros\" \/>\n<meta property=\"og:description\" content=\"How to speed up solr reindex.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/\" \/>\n<meta property=\"og:site_name\" content=\"Altoros\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-05T10:05:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-26T11:49:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2013\/03\/two-days-with-solr-or-25x-speed-up-of-reindexing.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Eugene Melnikov\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eugene Melnikov\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/\",\"url\":\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/\",\"name\":\"Two Days with Solr, or 25x Speed Up of Reindexing | Altoros\",\"isPartOf\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2013\/03\/two-days-with-solr-or-25x-speed-up-of-reindexing.png\",\"datePublished\":\"2013-03-05T10:05:25+00:00\",\"dateModified\":\"2020-10-26T11:49:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/2347aafc28e3658aea99b1b6671f7b70\"},\"description\":\"How to speed up solr reindex.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#primaryimage\",\"url\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2013\/03\/two-days-with-solr-or-25x-speed-up-of-reindexing.png\",\"contentUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2013\/03\/two-days-with-solr-or-25x-speed-up-of-reindexing.png\",\"width\":1024,\"height\":576},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.altoros.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Two Days with Solr, or 25x Speed Up of Reindexing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#website\",\"url\":\"https:\/\/www.altoros.com\/blog\/\",\"name\":\"Altoros\",\"description\":\"Insight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.altoros.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/2347aafc28e3658aea99b1b6671f7b70\",\"name\":\"Eugene Melnikov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2020\/03\/melnikov-96x96.jpg\",\"contentUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2020\/03\/melnikov-96x96.jpg\",\"caption\":\"Eugene Melnikov\"},\"description\":\"Eugene Melnikov is a senior software engineer at Altoros. He mainly specializes in Ruby and Ruby-based frameworks, as well as in JavaScript development, including Node.js, jQuery, and AngularJS. Working at Altoros, Eugene has also designed and implemented a variety of SQL and NoSQL database solutions. He recently became engaged in creating data-driven software for IoT applications. Check out Eugene's GitHub profile.\",\"url\":\"https:\/\/www.altoros.com\/blog\/author\/eugene-melnikov\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Two Days with Solr, or 25x Speed Up of Reindexing | Altoros","description":"This blog post shares best practices and lessons learned on how to increase the speed of reindexing with Solr in a Ruby-on-Rails app.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/","og_locale":"en_US","og_type":"article","og_title":"Two Days with Solr, or 25x Speed Up of Reindexing | Altoros","og_description":"How to speed up solr reindex.","og_url":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/","og_site_name":"Altoros","article_published_time":"2013-03-05T10:05:25+00:00","article_modified_time":"2020-10-26T11:49:16+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2013\/03\/two-days-with-solr-or-25x-speed-up-of-reindexing.png","type":"image\/png"}],"author":"Eugene Melnikov","twitter_misc":{"Written by":"Eugene Melnikov","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/","url":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/","name":"Two Days with Solr, or 25x Speed Up of Reindexing | Altoros","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#primaryimage"},"image":{"@id":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2013\/03\/two-days-with-solr-or-25x-speed-up-of-reindexing.png","datePublished":"2013-03-05T10:05:25+00:00","dateModified":"2020-10-26T11:49:16+00:00","author":{"@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/2347aafc28e3658aea99b1b6671f7b70"},"description":"How to speed up solr reindex.","breadcrumb":{"@id":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#primaryimage","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2013\/03\/two-days-with-solr-or-25x-speed-up-of-reindexing.png","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2013\/03\/two-days-with-solr-or-25x-speed-up-of-reindexing.png","width":1024,"height":576},{"@type":"BreadcrumbList","@id":"https:\/\/www.altoros.com\/blog\/2-days-with-solr-or-25x-speed-up-of-reindex\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.altoros.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Two Days with Solr, or 25x Speed Up of Reindexing"}]},{"@type":"WebSite","@id":"https:\/\/www.altoros.com\/blog\/#website","url":"https:\/\/www.altoros.com\/blog\/","name":"Altoros","description":"Insight","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.altoros.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/2347aafc28e3658aea99b1b6671f7b70","name":"Eugene Melnikov","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2020\/03\/melnikov-96x96.jpg","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2020\/03\/melnikov-96x96.jpg","caption":"Eugene Melnikov"},"description":"Eugene Melnikov is a senior software engineer at Altoros. He mainly specializes in Ruby and Ruby-based frameworks, as well as in JavaScript development, including Node.js, jQuery, and AngularJS. Working at Altoros, Eugene has also designed and implemented a variety of SQL and NoSQL database solutions. He recently became engaged in creating data-driven software for IoT applications. Check out Eugene's GitHub profile.","url":"https:\/\/www.altoros.com\/blog\/author\/eugene-melnikov\/"}]}},"_links":{"self":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/48325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/comments?post=48325"}],"version-history":[{"count":16,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/48325\/revisions"}],"predecessor-version":[{"id":58250,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/48325\/revisions\/58250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media\/58253"}],"wp:attachment":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media?parent=48325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/categories?post=48325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/tags?post=48325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}