Is Python suitable for a huge, enterprise size app?

keirr keir.robinson at gmail.com
Wed May 18 13:19:01 EDT 2005


>> I wouldn't, especially[1] if your thousands of business objects get
>> allocated/deallocated as the system runs.  Currently python's memory
>> usage can grow rapidly (from the perspective of the o/s) when large
>> numbers of objects are repeatedly created and freed.

>Isn't it true that in recent Python releases, one may replace the
>default GC with custom one?

Good point.  Indeed, since you have the source code you can change
anything you like. My warning was aimed at a specific situation,  and
was meant to be a 'keep this in mind' comment (I phrased it as "don't
use python" really because I expected the majority of the responses to
be "do use python", and thought a bit of balance would be helpful).

 As for a custom garbage collector, there has been a little discussion
about the gc code (on this group). My feeling is, if it was easy to
make it better someone would have done it already.  Note I don't say
it's impossible (particularly with the resources the op mentioned),
just not straight-forward.

Of course, I wouldn't use Java, but that's another story '-)

Cheers,

 Keir.




More information about the Python-list mailing list