Skip to content

App is slow... #1

@MichaelMartinez

Description

@MichaelMartinez

The app is unbearably slow due to the IO bound nature of multiple network calls in Python. This can be solved a few ways as I see it.

  1. Concurrent download of feeds using asyncio, multiprocessing, genvent or twisted
  2. Refactor current front end to javascript and back feed the app db
  3. Add Celery task queue
  4. Pre-fetch the feeds with scrape cron job and write the results to a file, parse the file at run time
  5. Write a Go lang .so file that can be run like C
    #5 is super interesting for a variety of reasons. Although it doesn't seem like the most practical approach to this problem, it surely represents something I've never attempted. Also, provides some new learning opportunities. However, Celery and the various concurrent modules are provide learning opportunities as well.

Not ready to make a decision yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions