trandoshan-io / persister

Go process used to abstract database interaction. It consumes messages from queue and put result in database allowing asynchronous saving operation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

persister

Go Report Card

Persister is a Go written program designed to persist/archivate crawled resources

features

  • use scalable messaging protocol (nats)
  • use scalable database system

how it work

  • The Persister process connect to a nats server (specified by env variable NATS_URI) and set-up a subscriber for message with tag contentSubject
  • When resource data is received the persister will aggregate the data if possible (f.e extract page title, etc...)
  • Then data will be persisted to the database

About

Go process used to abstract database interaction. It consumes messages from queue and put result in database allowing asynchronous saving operation

License:GNU General Public License v3.0


Languages

Language:Go 93.1%Language:Dockerfile 6.9%