DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Peter Zaitsev's picture

Unregistered

Feeds

aliases

  • Peter Zaitsev

Peter Zaitsev

1 år dage siden

in Using Sphinx for Non-Fulltext Queries on Homo-Adminus Blog
Brian,

There are two different techniques - one is adding pseudo keywords and other is using filters and "Full Table Scan" query.

Pseudo keywords works if there are few of them in the query and they are well selective.

If you will have 10 keywords each with 90% selectivity this would not work well.

Filters w full table scan however can be slower with good selectivity but you can have a lot of non selective filters with very low penalty.

Also note Sphinx "full table scan" has optimizations so it often can skip a lot of "blocks" based on filters which makes it kind of similar to indexed lookup

2 år dage siden

in High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx on Homo-Adminus Blog
Как и все удивлен почему FastCGI не тестировался... Касаемо Lighttpd - reverse proxy у него несколько кривой не держит keep-alive что я думаю и является причиной тормозов в данном случае.
Returning? Login