Comments (2)
FeedHQ uses RQ which is redis-only. Redis is also used as a cache backend for sessions and static files. PostgreSQL has listen/notify capabilities but technically FeedHQ is SQL-agnostic so relying on Postgres means ditching SQLite / MySQL / Oracle support provided by the Django ORM.
There is the trick of setting RQ to eager mode by adding ?eager=True
to the REDIS_URL
environment variable but that would work only if you're able to process tasks very quickly (or if you have few feeds to process). The eager mode makes the async backend synchronous, meaning every time something is enqueue()
'd it gets processed immediately.
This would be fine for small loads, when a single worker would be enough. Probably fine for a single user on shared hosting.
There are a couple of places where stuff is made async in the views:
- OPML import
- Sending to Readitlater / readability / instapaper
- Saving a feed object
Eager mode would make these views slow. The worst case being OPML import :)
from feedhq.
Bad news: the scheduling code now uses Redis instead of the database. It's also much more efficient :). I have very little interest in making the redis dependency optional now, so I'll just close the bug. Postgres and Redis are both hard dependencies.
from feedhq.
Related Issues (20)
- Readability is dead at EOM HOT 1
- Wallabag support as external service HOT 9
- Installation process : missing details HOT 1
- How do I run this application? HOT 2
- Items received twice for some feeds HOT 3
- Dark theme
- Numbers not matching
- Switch home link to navigate to dashboard
- Upgrade to Django 2.0
- screenshots in website and README file?
- Auto-fill feed name?
- TransportError at /login/
- Docker
- JIRA authentication HOT 2
- RequestError due to ElasticSearch HOT 8
- SSL certificate issues?
- PubSubHubbub support? HOT 2
- Relative URL in HTML should be relative to the blog article HOT 1
- Can't change category of feed with nonvalid URL
- Category view article list differs from feeds in category
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feedhq.