Giter Site home page Giter Site logo

mmap-bloom-filter's Introduction

基于虚拟内存映射的布隆过滤器

  • 基于硬盘的位数组
  • 使用murmurhash作为hash函数,高效&碰撞率低
  • 使用硬盘进行去重,相对于内存型过滤器可扩容千倍
  • 自定义容纳元素个数与误差率
  • 百亿去重约使用33g硬盘空间(误差率百万分之一情况)
  • 支持多进程,多个程序可持有同一文件句柄
  • 性能及空间高于数据库去重,单条数据最多占用hash函数个数*1bit空间(误差率百万分之一情况下为19bit)

###测试

京东京造 SATA3 西部数据SN550 NVME
8k op/s 5w op/s

mmap-bloom-filter's People

Contributors

dream2333 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.