this post was submitted on 15 Jun 2024
77 points (91.4% liked)

Python

6337 readers
3 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] FizzyOrange@programming.dev 1 points 4 months ago (2 children)

Profiling is an extremely useful tool for optimising the system that you have. It doesn't help if you have the wrong system entirely though.

[–] mapto@lemmy.world 2 points 4 months ago

Upfront analysis and design is very close to independent from the technology, particularly at the I/O level

That's why you need an architect to design the project for the expected requirements. They'll ask the important questions, like:

  • how many users (if it's a server)
  • any long-running processes? If so, what will those be doing?
  • how responsive does it need to be? What's "fast enough"?
  • what's more important short term, feature delivery or performance? Long term? How far away is "long term"?
  • what platforms do we need to support?
  • is AI or similar in the medium term goals? What's the use case?
  • how bad is downtime? How much are you willing to spend if downtime isn't an option?

You don't need all the answers up front, but you need enough to design a coherent system. It's like building a rail system, building a commuter line is much different than a light rail network, and the planners will need to know if those systems need to interact with anything else.

If you don't do that, you're going to end up overspending in some area, and probably significantly.