News for hackers. Stuff that matters.
Re:Django 4.2 Released by karlosos on Monday April 03, 2023 @04:24PM (#35430739)
In what scenarios it would be beneficial to rewrite the Django app in Go? Do you mean something specific when saying that Go would be good replacement?. I/O heavy or computation heavy service?
Re:Django 4.2 Released by chocolatkey on Monday April 03, 2023 @04:51PM (#35431095)
I actually did to rewrite parts of django's auth, caching in go in order to be compatible with a grpc-based mobile app. The django source code is well documented and easy enough to understand, so it wasn't a probablem signing sessions, creating users etc in go and then using them in django.

For django itself, once I slapped a database caching layer on top and tuned gunicorn/uvicorn, there were no performance issues. Go is faster, but django is fast enough.

Re:Django 4.2 Released by winrid on Tuesday April 04, 2023 @12:18AM (#35434998)
You don't need to do a full rewrite usually. Just pull one or two CPU intensive routes out into their own service.