Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7430159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:05:39+00:00 2026-05-29T09:05:39+00:00

I wanted your advice for the best design approach at the following Python project.

  • 0

I wanted your advice for the best design approach at the following Python project.
I am building a web service system that is split into 2 parts:

  1. This part grabs realtime data from a 3rd party API and puts the data in a DB.
  2. This part exposes a json API to access data from the DB mentioned in 1).

Some background info – 2) runs on django, and exposes the API via view methods. It uses SQLAlchemy instead of the django ORM.

My questions are:
– Should 1) and 2) run on the same machine, considering that they both access the same MySQL DB?
– What should 1) run on? I was thinking about just running cron jobs with Python scripts that also use SQLAlchemy. This is because I don’t see a need for an entire web framework here, especially because this needs to work super fast. Is this the best approach?
– Data size – 1) fetches about 60,000 entries and puts them in the DB every 1 minute (an entry contains of about 12 Float values and a few Dates and Integers). What is the best way to deal with the ever growing amount of data here? Would you split the DB? If so, into what?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:05:40+00:00Added an answer on May 29, 2026 at 9:05 am

    I would say, run the two on the same machien to start with, and see how the performance goes. Why spend money on a second machine if you don’t have to?

    As for “dealing with the ever growing amount of data”—do you need to keep old data around? If not, your second task can simply delete old data when it’s done with it. Provided all the records are properly time-stamped, you don’t need to worry about race conditions between the two tasks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanted some of those spiffy rounded corners for a web project that I'm
I just wanted to see if I could have your thoughts on the design
Assuming you wanted to develop your Controllers so that you use a ViewModel to
I'm currently working on an ASP.NET 3.5 project, and I wanted to know your
I wanted to get your opinions on the easiest way to track changes that
I wanted to start a discussion about the details that you cover in your
I'm new to git and wanted your opinion/advice on how I should set up
I wanted to know if you suggest (in your opinion) using / building a
Just wanted to ask some advice when building a database with mongodb, I have
Just wanted your expert opinions on declarative transaction management for Spring. Here is my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.