Home / Companies / Rollbar / Blog / Post Details
Content Deep Dive

Real-time Search for Exceptions and Errors

Blog post from Rollbar

Post Details
Company
Date Published
Author
-
Word Count
657
Language
English
Hacker News Points
-
Summary

A new real-time search feature has been introduced, allowing users to search exceptions, errors, and log messages by title, with the search index updating approximately every two seconds as new items are added. This feature, utilizing Sphinx's real-time indexing capabilities, involves a straightforward setup on a dedicated machine and accounts for full-text fields and scalar attributes, with considerations for supporting infix queries through tokenization. While Sphinx's integration with MySQL offers convenient connectivity for debugging, it has limitations like unsupported "OR" conditions and "COUNT(*)" methods, necessitating additional handling for client connections. The system supports re-indexing using the REPLACE command despite potential memory concerns, ensuring flexibility for updates and maintenance operations.