M4R7iNP / markov

Markov Chain in Postgres and Nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markov chain in Nodejs and Postgresql Build Status

This project aims to be very Postgres centered, so that we can run several indexing processes at the same time. Just keep track of which process indexed what, and this should be lightning fast.

Requirements

  • PostgreSQL (>= 9.5) 😍
  • NodeJS πŸ’Š
  • Something to index πŸ“•
  • Patience 😣

Postgresql performance

  • Turn off synchronous_commit if you can.
  • Increase your usual settings like shared_buffers and work_mem.
  • One instance of Markov runs one Postgresql connection. Either run multiple instances or switch to node pg pooling.
  • You can remove the fulltext index while inserting your data.

About

Markov Chain in Postgres and Nodejs


Languages

Language:JavaScript 100.0%