• 33 Posts
  • 194 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle















  • I am yet to go search about that Quart framework, this is the first time I heard of it. Yet, I am sure this is all about scalability. If you have an app with too many concurrent users, like an e-commerce for a huge brand, then it does make a significant difference to use async. Meanwhile, most projects deal with 20 concurrent users at peak time and see no performance difference, just the cost of having to debug a sophisticated tooling. So, I’d recommend to follow simpler principles. Of course, the curiosity is there and trying out cool new stuff is fun. Oh, one more thing 1 worker can serve N concurrent users easily, it’s not 1:1 in practice. Depends on the code and what you’re app offers. Say for example you offer generation of PDF report, if you have 100 concurrent users at peak time, but even then only 5 ask for such a report for downloading, you can get away with 2 workers on a VM with just 1 cpu easily.







  • adr1an@programming.devtoScience Memes@mander.xyzThe Code
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    2
    ·
    15 days ago

    Oh, government email domain would scare anyone off. It’s as bad as a “fbi.com” address. I doubt the permission is really there as the post says, what I have seen is the contrary. Anyway, try with a regular email address. If you want, as background story, say you’re a student in a third-world country. That’s how I lived before Sci-Hub (via VPN) and it worked out most of the time (e.g. ~75% success rate).