Giter VIP home page Giter VIP logo

Comments (1)

alexander-myltsev avatar alexander-myltsev commented on July 28, 2024

Notes: fuzzy for edit distance as 2 in stems

Code part 1 name (exact) 1 name (fuzzy, no stemming) 302 names 906 names
Exact match ~50ms ~50ms ~93ms for 301 uuid and 296 can uuid, 159 matched; exact match for ~255ms 117ms for 301 uuid and 296 can uuid, 477 matched; exact match for 440ms
Fuzzy match (svc response) - ~12ms 10ms initial filtering, 540ms: 141 recs for 532ms, 89 recs for 2ms 150ms for initial filtering, 1721ms: 423 recs for 1561ms, 267 recs for 1ms, 200ms for transfer
Fuzzy match (db response) - ~46ms 68ms for 180 recs 2527ms for 540 recs
Fuzzy total - ~63ms 608ms 4254ms

Todos:

  • 2527ms for 540 recs is too slow. Explore Explain for PostgreSQL. Try to assemble canonical names table.
  • check bug: fuzzy is launched even match is successful?
  • optimise creation of inner structures from Slick response (even exact match is too slow)
  • optimise Thrift data from Matcher
  • limit fuzzy matched data from Matcher
  • check UUIDs existence in RAM instead of DB request

from gnindex.

Related Issues (20)

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.