Hacker News new | past | comments | ask | show | jobs | submit login

> I'm curious about real world examples where a change has lead to a significant positive outcome in performance, code quality/maintainability, etc.

Another example: same language, new framework: In a Python web app, we needed to have websockets. But at that time Django had no real websocket support. But there is future proof framework that does: aiohttp! Also one might argue that you can use old django with websocket using another process. But it leads to a more complicated architecture. We want to keep monolith the app as long as possible/sane.




Is the Django-websockets story ok now?


Not really. There is the "channels" project which brings it closer to proper websocket capabilities, but it still isn't great to work with. I tried using it for a production project and gave up as I encountered too many issues. Ended up rewriting the app in phoenix as we needed really solid websocket support. Phoenix makes websocket seriously nice to work with and we've found the performance to be quite impressive.


That's nice to hear. I'm trying https://github.com/olahol/melody in a smallish project right now, and it seems very promising.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: