rust-prometheus VS Sphinx

Compare rust-prometheus vs Sphinx and see what are their differences.

rust-prometheus

Prometheus instrumentation library for Rust applications (by tikv)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
rust-prometheus Sphinx
5 12
1,023 1,781
1.9% 0.3%
4.2 0.0
about 1 month ago 4 months ago
Rust C++
Apache License 2.0 GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

rust-prometheus

Posts with mentions or reviews of rust-prometheus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-03.
  • Exporter for Digital Ocean Metrics to Prometheus
    3 projects | /r/rust | 3 May 2023
    I used the prometheus library because it was the most popular and easiest to find. Some unusual and unexpected aspects were that, to delete metrics, all labels must be specified at once, and to record metrics, I always needed the full list of labels that were used during creation. However, these issues were manageable.
  • The importance of SemVer for your applications
    6 projects | dev.to | 23 Jan 2022
    [dependencies] prometheus = { git = "https://github.com/tikv/rust-prometheus", rev = "ac86a264223c8d918a43e739ca3c48bb4aaedb90", features = ["process"] }
  • Monitoring Rust web application with Prometheus and Grafana
    8 projects | dev.to | 6 Jan 2022
    Metrics exposition is implemented with prometheus crate.
  • Vinted Search Scaling Chapter 6: 4th generation of Elasticsearch metrics
    6 projects | dev.to | 21 Dec 2021
    The new Elasticsearch exporter is written in the Rust programming language and is open-sourced on GitHub: github.com/vinted/elasticsearch-exporter-rs. The exporter uses asynchronous Tokio runtime, Rust Prometheus instrumentation library and the official Elasticsearch client library. Metrics collection is decoupled from the serving /metrics endpoint. In addition, Elasticsearch time-based metrics in milliseconds are converted into seconds to comply with Prometheus best practices (metrics ending in “millis” are replaced by “seconds”, “_bytes” and “_seconds” and postfixes are added where appropriate).
  • New Ada Folks (<2 years), what made you pick up (or leave) Ada?
    10 projects | /r/ada | 14 Sep 2021
    Rust has a popular binding: https://github.com/tikv/rust-prometheus

Sphinx

Posts with mentions or reviews of Sphinx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-06.
  • Searchcode – search 75B lines of code from 40M projects
    1 project | news.ycombinator.com | 9 Apr 2024
  • Revisiting site search + SQLite as a search engine
    2 projects | dev.to | 6 Apr 2023
    Sphinx - https://sphinxsearch.com
  • Best 5 Ecommerce Search Engines for Developers
    4 projects | dev.to | 23 Feb 2023
    Sphinx is a search engine that can be integrated into a website to provide advanced search functionality such as full-text, Boolean, and faceted search. It is a powerful open-source search engine that can handle large amounts of data and quickly return results.
  • Question about embedding for search vs clustering applications
    1 project | /r/GPT3 | 21 Feb 2023
    Have been using Sphinx. It does some processing around suffixes, tenses, and so on, and looks at word proximity (BM25), but is definitely limited.
  • grep like search with preprocessing
    4 projects | /r/linux | 12 Dec 2022
    Lucene is the thing you think you need. Elastic Search is a nice wrapper for it. But these are Java, so maybe you want Sphinx Search (C++) or MeiliSearch (Rust).
  • Search MySQL table for multiple keywords and return number of occurrences for each keyword per row
    1 project | /r/PHPhelp | 7 Aug 2022
    Using a natural language search will almost certainly be a better solution and PHP may not be the best tool for this task. Figure out how you are going to get the text out of the PDF and where you are going to put it. Look at things like sphinx and full text search in boolean mode for doing the keyword matching.
  • How to do a Scryfall-like search?
    1 project | /r/howdidtheycodeit | 29 Jul 2022
    In practice though you don't do any of this, you get a library to do it for you. I've used Sphinx Search in the past for some fairly hefty (In the order of terabytes), and there's a good book covering how to get it all set up and started.
  • Manticore: a faster alternative to Elasticsearch in C++ with a 21-year history
    2 projects | dev.to | 28 Jul 2022
    Five years ago Manticore began as a fork of an open source version of the once popular search engine Sphinx Search. We had two bags of grass, seventy-five pellets of mescaline, three C++ developers, a support engineer, a power user of Sphinx Search / backend team lead, an experienced manager, a mother of five helping us part-time, and a ton of bugs, crashes, and technical debts. So we got a shovel and other digging tools and started working to get it up to the search engine industry standards. Not that Sphinx was impossible to use, but many things were missing, and existing features weren’t quite stable or mature. And we had pushed it about as far as we could. So after 5 years and hundreds of new users, we’re ready to say that Manticore Search can be used as an alternative to Elasticsearch for both full-text search and (now) data analytics too.
  • Remarkable update 2.14
    1 project | /r/RemarkableTablet | 31 May 2022
    Finally if you really want a full fledged solution the most popular are good old Sphinx http://sphinxsearch.com or Apache Solr https://solr.apache.org but as these take a bit of time to setup I'd make sure that's truly needed. Chances are unless your collection is the size of the Library of Congress you are probably fine with ripgrep on your own indexes as text or some R package or sqlite FTS5 extension https://www.sqlite.org/fts5.html
  • Vinted Search Scaling Chapter 6: 4th generation of Elasticsearch metrics
    6 projects | dev.to | 21 Dec 2021
    An old fact from 2014 December 12th was significant for Vinted: the company switched from Sphinx search engine to Elasticsearch 1.4.1. At the time of writing this post, we use Elasticsearch 7.15. Without a doubt, a lot has happened in between. This chapter will focus on Elasticsearch metrics, we will share our accumulated experiences from four generations of collecting metrics.

What are some alternatives?

When comparing rust-prometheus and Sphinx you can also consider the following projects:

tonic - A native gRPC client & server implementation with async/await support.

manticoresearch - Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon

node_exporter - Exporter for machine metrics

remarkable-hacks - additional functionality via binary patching

prometheus-client - Haskell client library for exposing prometheus.io metrics.

elasticsearch-rs - Official Elasticsearch Rust Client

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

grpc-rust - Rust implementation of gRPC

elasticsearch-exporter-rs - Proper Elasticsearch exporter

portable_ada

prometheus - The Prometheus monitoring system and time series database.