4 ms·
Have you listened to Cal Henderson's friendly rant against Django from a scalability perspective? http://www.youtube.com/watch?v=i6Fr65PFqfk http://www.youtube.
by wensing 18y ago
Have you listened to Cal Henderson's friendly rant against Django from a scalability perspective? http://www.youtube.com/watch?v=i6Fr65PFqfk http://www.youtube.com/watch?v=i6Fr65PFqfk
For example, did you modify the source to support multiple databases for read/write? Or is that not an issue and it's OK that it's coming later in the framework's roadmap?
- markessien 18y agoThe framework may not offer it as part of the framework, but there is nothing stopping you from doing it yourself. It's python, it's a database, what's the difficulty here? Django is not the type of framework where you run deep within it and you cannot break out - nothing stops you from doing anything you want to do.
- wensing 18y agoOf course you're right. Then it's just a matter of assessing the cost of modifying Django vs. another framework.
- markessien 18y agoWhat I mean is that you do not need to modify Django. You can just write a routine that duplicates whatever you are writing to the database manually. The Django process is easy to break out of from within your app.
- ealar 18y agoAs I see it, if we get enough traffic to be worried about scaling issues we'll deal with it then. Django isn't terribly designed and going in and hacking multi-db and sharding in should take less than a week from a competent developer. Discussing this before starting a startup sort of feels like trying to figure out how to do salary for hundreds of employees before getting your first one.
- wensing 18y agoI think it's worth discussing these things in depth. Choosing a web framework for your web company is a serious commitment, isn't it?
- deleted 18y ago[deleted]
- ealar 18y agoI agree it's worth discussing (especially if you're unsure about future malleability of the web framework to your needs), and I apologize if I was excessively curt.
- bdr 18y agoWe're running multiple databases, live, with the Django ORM. Confirming that it's not very hard.
- ealar 18y agoAh I knew there was the checkin, I wasn't aware it was currently useable. Thanks for the info, I will have to check it out.
- simonw 18y agoDjango has had low level, undocumented hooks for talking to multiple databases for ages (Malcolm talked about these at DjangoCon, the same conference that hosted Cal's excellent keynote). A very recent checkin makes those hooks easier to use: http://code.djangoproject.com/changeset/10026 http://code.djangoproject.com/changeset/10026
- wensing 18y agoVery cool. Thanks for this insight.