murmurhash VS python-mysql-replication

Compare murmurhash vs python-mysql-replication and see what are their differences.

murmurhash

💥 Cython bindings for MurmurHash2 (by explosion)

python-mysql-replication

Pure Python Implementation of MySQL replication protocol build on top of PyMYSQL (by julien-duponchelle)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
murmurhash python-mysql-replication
2 5
42 2,255
- -
5.0 9.1
6 months ago 30 days ago
C++ Python
MIT License -
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.

murmurhash

Posts with mentions or reviews of murmurhash. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-31.
  • Is anyone using PyPy for real work?
    13 projects | news.ycombinator.com | 31 Jul 2023
    If you have very large dicts, you might find this hash table I wrote for spaCy helpful: https://github.com/explosion/preshed . You need to key the data with 64-bit keys. We use this wrapper around murmurhash for it: https://github.com/explosion/murmurhash

    There's no docs so obviously this might not be for you. But the software does work, and is efficient. It's been executed many many millions of times now.

  • Data Ingestion - Build Your Own "Map Reduce"?
    4 projects | dev.to | 24 Dec 2021
    Some notes: We don't need Sha256 and not evey base64; nothing will happen if keys will not distribute very equally. we could take MMH3; googling "python murmurhash" gives 2 interesting results; and since both use the same cpp code, let's take the one with most stars Other options would be to simply do (% NUM_SHARDS) or even shift right (however must have shards count == power of 2).

python-mysql-replication

Posts with mentions or reviews of python-mysql-replication. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-31.
  • Is anyone using PyPy for real work?
    13 projects | news.ycombinator.com | 31 Jul 2023
    I'm maintaining an internal change-data-capture application that uses a python library to decode mysql binlog and store the change records as json in the data lake (like Debezium). For our most busiest databases a single Cpython process couldn't process the amount of incoming changes in real time (thousands of events per second). It's not something that can be easily parallelized, as the bulk of the work is happening in the binlog decoding library (https://github.com/julien-duponchelle/python-mysql-replicati...).

    So we've made it configurable to run some instances with Pypy - which was able to work through the data in realtime, i.e. without generating a lag in the data stream. The downside of using pypy was increased memory usage (4-8x) - which isn't really a problem. An actually problem that I didn't really track down was that the test suite (running pytest) was taking 2-3 times longer with Pypy than with CPython.

    A few months ago I upgraded the system to run with CPython 3.11 and the performance improvements of 10-20% that come with that version now actually allowed us to drop Pypy and only run CPython. Which is more convenient and makes the deployment and configuration less complex.

  • Why Binlog size grows drastically when isolation level set to "Repeatable Read" & When isolation level set to "Read Committed" the size of Binlog file reduces ?
    1 project | /r/mysql | 21 Apr 2023
    doing the using Python, https://github.com/julien-duponchelle/python-mysql-replication, the recommended way of doing this
  • How to Use BinLogs to Make an Aurora MySQL Event Stream
    3 projects | dev.to | 3 Oct 2022
    The BinLogStreamReader has several inputs that we need to retrieve. First we'll retrieve the cluster's secret with the database host/username/password and then we'll fetch the serverId we stored in S3.
  • How is everyone ingesting backend relational data?
    1 project | /r/dataengineering | 28 Jul 2021
    From backend relational tables to data warehouses my team has mostly relied on change data capture replication. We use MySQL upstream, and historically used AWS DMS or Attunity Replicate to replicate directly to SQL server. Recently we made the switch to Snowflake, and used mostly AWS DMS to replicate CDC data to S3 (lists individual inserts, updates, deletes), and then from there use snowpipes to copy to snowflake and then a job to merge that data into the target table to get the latest state. In addition we've used this library in production https://github.com/noplay/python-mysql-replication, and still use it today for one high volume, critical data source. Generally we see data go end to end in a matter of minutes, but occasionally there are spikes in latency.
  • Robust data transfer mechanism?
    1 project | /r/learnpython | 24 Apr 2021

What are some alternatives?

When comparing murmurhash and python-mysql-replication you can also consider the following projects:

mmh3 - Python extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions.

AWS Data Wrangler - pandas on AWS - Easy integration with Athena, Glue, Redshift, Timestream, Neptune, OpenSearch, QuickSight, Chime, CloudWatchLogs, DynamoDB, EMR, SecretManager, PostgreSQL, MySQL, SQLServer and S3 (Parquet, CSV, JSON and EXCEL).

mrjob - Run MapReduce jobs on Hadoop or Amazon Web Services

PyMySQL - MySQL client library for Python

preshed - 💥 Cython hash tables that assume keys are pre-hashed

PonyORM - Pony Object Relational Mapper

sparc-curation - code and files for SPARC curation workflows

psycopg2cffi - Port to cffi with some speed improvements

MurMurHash - This little tool is to calculate a MurmurHash value of a favicon to hunt phishing websites on the Shodan platform.

mycli - A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.