Some advice: will my setup be production ready?

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rq-scheduler

    A lightweight library that adds job scheduling capabilities to RQ (Redis Queue)

  • Some thoughts: - Storing API keys in Redis with AOF and RDB persistence turned on is going to be way faster than storing those keys in Mongo. - Did you mean RQ (redis-queue)/django-rq? If so, it works well as long as you don't need a scheduler for cron-like tasks, which it doesn't include. You can add rq-scheduler for that though: https://github.com/rq/rq-scheduler - Make sure your redis instance has a password -- redis 6 supports ACLs as well - The problem with slow requests is that they tie up app server processes and usually also database connections. That may be fine with a small number of consumers, but if you point your web site at this API, you may run into problems. Consider that if an app server serving web site traffic is waiting for a slow request to your API, then both app servers are affected -- you're now holding resources on the web site and the API, effectively. - HTTP clients often use a default timeout value for requests, and it's a best practice to use such a timeout -- so you'll need to coach your partners consuming this API not to use timeouts for your API.

  • redis-sitesearch

    Real-time search and indexing for any website

  • You can see what a production setup for supervisord looks like in this app I made for work: https://github.com/redislabs-training/redis-sitesearch/blob/master/supervisord.conf

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • supervisor

    Supervisor process control system for Unix (supervisord)

  • Side note -- are these processes (Django app, mongo, etc.) running on the same server? If that's the case then something like supervisord can help you organize the processes you want to start and keep them running: http://supervisord.org/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts