Vespa Product Updates, February 2019: Boolean Field Type, Environment Variables, and Advanced Search Core Tuning
<p>In <a href="http://blog.vespa.ai/post/182378865716/vespa-product-updates-january-2019-parentchild">last month’s Vespa update</a>, we mentioned Parent/Child, Large File Config Download, and a Simplified Feeding Interface. Largely developed by Yahoo engineers, <a href="https://github.com/vespa-engine/vespa">Vespa</a> is an open source big data processing and serving engine. It’s in use by many products, such as Yahoo News, Yahoo Sports, Yahoo Finance, and Oath Ads Platforms. Thanks to helpful feedback and contributions from the community, Vespa continues to grow.<br/></p><p>This month, we’re excited to share the following updates:</p><p><br/></p><p><b>Boolean field type</b></p><p>Vespa has released a boolean field type in <a href="https://github.com/vespa-engine/vespa/issues/6644">#6644</a>. This feature was requested by the open source community and is targeted for applications that have many boolean fields. This feature reduces memory footprint to 1/8 for the fields (compared to byte) and hence increases query throughput / cuts latency. Learn more about choosing the field type <a href="https://docs.vespa.ai/documentation/performance/feature-tuning.html#boolean-numeric-text-attribute">here</a>.</p><p><br/></p><p><b>Environment variables</b></p><p>The Vespa Container now supports setting environment variables in services.xml. This is useful if the application uses libraries that read <a href="https://docs.vespa.ai/documentation/reference/services-container.html#environment-variables">environment variables</a>.</p><p><br/></p><p><b>Advanced search core tuning</b></p><p>You can now configure index warmup - this reduces high-latency requests at startup. Also, reduce spiky memory usage when attributes grow using resizing-amortize-count - the default is changed to provide smoother memory usage. This uses less transient memory in growing applications. More details surrounding search core configuration can be explored <a href="https://docs.vespa.ai/documentation/content/setup-proton-tuning.html">here</a>.</p><p><br/></p><p>We welcome your <a href="https://github.com/vespa-engine/vespa/blob/master/CONTRIBUTING.md">contributions</a> and feedback (<a href="https://twitter.com/vespaengine">tweet</a> or <a href="mailto:info@vespa.ai">email</a>) about any of these new features or future improvements you’d like to see. </p>