Python execution is obviously not a bottleneck, but cluster startup/shutdown 
and lengthy waits due to lack of visibility to state changes in the tests quite 
probably are. The python tests are also IME quite rudimentary compared to their 
java equivalents, and more brittle, due to worse tooling for e.g. data 
generation, interfering with message delivery etc.

They are also comparatively poorly maintained, due to most on the project not 
wanting to touch them beyond what is necessary. It would be hugely beneficial 
to migrate to a platform the majority uses, and that can produce more powerful 
tests that are also able to execute faster (for reasons of integration, not 
language).


From: Brandon Williams <dri...@gmail.com>
Date: Wednesday, 26 January 2022 at 16:09
To: dev <dev@cassandra.apache.org>
Subject: Re: Have we considered static type checking for our python libs?
On Wed, Jan 26, 2022 at 7:43 AM bened...@apache.org <bened...@apache.org> wrote:
> I might even venture to predict that it might payoff with lower development 
> overhead, as we can run our tests much more quickly, and debug failures much 
> more easily.

I don't think in practice these will happen at all, let alone 'much
more.'  Python execution is nowhere near the bottleneck, not that
either of these would speed it up significantly.  I'm unable to think
of an instance where typing in python could have helped me, at least
in the dtest tickets I've worked on.  Maybe someone with more
experience has a different estimation?

Reply via email to