Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.
/ persister Public archive

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

License

Notifications You must be signed in to change notification settings

trandoshan-io/persister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks