19 June 2013

The Ruby Reflector

Topic

Solr

  Source Favicon
By Seth Falcon of Opscode Blog 1 month ago.
Email

http://SOLR IP: SOLR PORT

stop runit_service supervise/ok race condition

Currently we wait 10 seconds for a runit service's supervise/ok named pipe. On slower systems ( cough CentOS 5.x) this 10 second wait is not long enough. This commit updates the embedded runit cookbook that ships in omnibus-chef to match the indefinite block used in the current version of community cookbook:

https://github.com/opscode-cookbooks/runit/blob/1.1.0/libraries/provider runit service.rb#L151-L153…

opscode.com Read
  Source Favicon
Email

What's the problem?

As a developer, you'll work on hundreds of different projects in your career. The biggest pain in the ass when changing projects is having to get started in a new development environment. If you're moving to a different Rails project you have to install new Rubies and bundle - plus you might need to install Redis, Solr or jam your public key on a server somewhere. Even worse, after bundling you notice this is a Rails 2.3 project not a Rails 3.2 and …

thefrontiergroup.com.au Read
  Source Favicon
By Todd Hoff of High Scalability 2 months ago.
Email

…performers; failure free as possible; free. Using these criteria they selected: MySQL, Solr, Memcache, and Redis. Cassandra and Mongo were dropped.

These two lessons are interrelated. Tools following the principles in (2) can scale by adding more boxes. And as load increases mature products should have fewer problems. When you do hit problems you'll at least have a community to help fix them. It's when your tools are too tricky and too finicky that you hit walls so high …

highscalability.com Read
  Source Favicon
By Joshua Timberman of Opscode Blog 3 months ago.
Email

RabbitMQ, Nginx and so on are here, including the PostgreSQL database, SOLR indexes.

/var/log/chef-server - All the runit services write their output here.

The design of the system is such that this is self contained and maintained using the chef-server-ctl program, rather than modifying the underlying components themselves.

Chef Server Configuration

The main configuration file for the Chef Server in Chef 11 is /etc/chef-server/chef-server.rb . It uses a Ruby DSL similar …

opscode.com Read
  Source Favicon
By Bryan McLellan of Opscode Blog almost 2 years ago.
Email

[ CHEF-1054 ] - Chef SOLR gem has an empty README.rdoc

[ CHEF-1287 ] - speed up yum provider

[ CHEF-1588 ] - knife cookbook upload should have a -d option to upload the specified cookbooks dependencies

[ CHEF-1790 ] - Modify package/yum.rb upgrade_package to support "downgrade" in certain situations

[ CHEF-1929 ] - ‘knife ssh' should read config file for attribute, ssh-user, identity-file …

opscode.com Read
  Source Favicon
By Bryan McLellan of Opscode Blog 4 months ago.
Email

Solr Security Fix

The default solr configuration has some tunables that are enabled for updating data and debugging that provide a remote attack surface. The configuration in this release disables those features.

Chef 11

Omnibus packaging makes this easy:

Download the new package and install it

Run sudo chef-server-ctl reconfigure

Chef 10

If you have an existing Chef 10 Server installation, you'll need to use the chef-solr-installer tool after installation to replace …

opscode.com Read
  Source Favicon
By Bill Karwin of MySQL Performance Blog 10 months ago.
Email

…evaluated MySQL vs Solr. I was able to index all the data from the database into Solr and make it queryable from a browser within four days plus some customization on the search algorithm. It would have taken me two to three weeks to do something equivalent with MySQL and it wouldn't be as flexible and customizable as Solr. With Solr, I was able to fine tune search and I still feel there are tons of additional features that will help me address future needs.

Great points Hernan…

mysqlperformanceblog.com Read
  Source Favicon
By Dan DeLeo of Opscode Blog 2 years ago.
Email

[ CHEF-1054 ] - Chef SOLR gem has an empty README.rdoc

[ CHEF-1089 ] - Private Amazon S3 remote file resource

[ CHEF-1287 ] - speed up yum provider

[ CHEF-1290 ] - Cookbook loading must support versioned dependencies

[ CHEF-1423 ] - Support versions of recipes on the run list

[ CHEF-1428 ] - Update to use rackspace cron-based execution of chef-client instead of ssh

opscode.com Read
  Source Favicon
By Bill Karwin of MySQL Performance Blog 10 months ago.
Email

Tomorrow, August 22 at 10:00am PDT, I'll present a webinar called Full Text Search Throwdown . This is a no-nonsense performance comparison of solutions for full text indexing for MySQL applications, including:

LIKE predicates and regular expressions

MyISAM FULLTEXT indexes

InnoDB FULLTEXT indexes

Apache Solr

Sphinx Search

Trigraphs

I'll compare the performance for building indexes and querying indexes.

mysqlperformanceblog.com Read
  Source Favicon
Email

With PostgreSQL there is no need to deploy a standalone full-text search engine like Apache Solr, Sphinx, or ElasticSearch. Right out of the box you can easily discover word matches (even on singular and plural words) and also use different dictionaries. There are several gems that make full-text search on PostgreSQL extremely easy to use and we encourage you to give them a try.

Less locking

Some database objects, such as indexes, can be created without holding a lock on the table. …

engineyard.com Read