nimbus

command module
v0.0.0-...-cfcc9fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2015 License: GPL-3.0 Imports: 11 Imported by: 0

README

Nimbus

Nimbus is the back-end powering Litenin.

Motivation

The initial prototype of Litenin was powered by the Google Feeds API. This allowed for swift prototyping, but unfortunately the API has some major drawbacks:

  • Doesn't pass along GUID's from feeds.
  • Needs wrapper in order to abstract away complex API.
  • Insufficient polling frequencies for regularly updated feeds.
  • No support for batch feed requests.

Goal

The goal of Nimbus is to have none of the drawbacks of the Google Feeds API, while fulfilling the following two roles:

  • Keep feeds up to date in a reliable fashion. Reliablity and consistency are the main goals while speed is a commodity.
  • Respond quickly to batch feed requests. Speed and stability are the main goals.

Concept

Nimbus stores feed information in a PostgreSQL database and maintains shallow JSON representations of feeds in a Redis cache. When handling batch feed requests Nimbus concatenates cache hits into a single JSON array of feeds and adds any missing feeds to the polling queue afterwards.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL