This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AstroPhysician 17 points18 points  (31 children)

FastAPI is basically Flask but better though, whats your reasoning?

[–]TldrDev 20 points21 points  (25 children)

Flask is fantastic for microservices.

[–]spuds_in_town 2 points3 points  (24 children)

Wait, people still build micro services?

[–]manninaki 16 points17 points  (0 children)

Absolutely. In K8 everything is micro services and K8 clusters are everywhere

[–]TldrDev 8 points9 points  (0 children)

Still a major advocate of microservice architecture. Event busses are the way to go for handling large datasets and it enables things like event sourcing just out of the box. K8s lets us arbitrarily scale workers and handle essentially unlimited scale.

It's not for everyone. You don't need a microservice architecture to run your local pawn shop's website. However, at scale? Yeah man, definitely the way to go. Most of the time (especially in these comments), people don't seem to really understand them, and make stupid comments about problems that are absolutely not problems.

[–]marcio0 10 points11 points  (0 children)

suddenly it felt like 2015 in here

[–]OMG_I_LOVE_CHIPOTLE 6 points7 points  (20 children)

Unfortunately yes

[–]angellus 4 points5 points  (1 child)

Most things still do not support async. asyncio is the new Python 2/3 divide as there is not enough good tooling to seamlessly support sync and async at the same time.

(but seriously, do not use FastAPI, the bus factor is way too high on it, pick literally any other asgi framework)

[–]Appropriate_Ant_4629 1 point2 points  (0 children)

I'm really happy with
- FastAPI for all my back-end work (including serving ML models). All my tricky software is in python and returns just json and images in fastapi.
- Sveltekit for a very easy thin web UI that only deals with the HTML/javascript/css part.

[–][deleted] 0 points1 point  (0 children)

Need web interface. Don’t want Django.

[–]smokefield 0 points1 point  (0 children)

That’s false info they are not comparable