Maybe it is a FAQ, yet what is the best (efficient) way to multithread Jython scripts?
I need several threads to run a single Jython script. Each thread makes HTTP requests and measures time it takes and then writes these metrics into the SQLite DB. If I get it right, there are the following options for multithreading in my case:
1) Use Python thread library in Jython (?)
2) Every Java thread runs its own Jython interpreter.
What way is efficient in terms of speed and memory allocation?
Dmitri O. Kondratiev