proycon / gecco

Generic Environment for Context-Aware Correction of Orthography
GNU General Public License v3.0
22 stars 7 forks source link

Threading too slow #2

Closed proycon closed 9 years ago

proycon commented 9 years ago

Current threading model is too slow and not concurrent enough, in part due to Python's global interpreter lock - migrate to full multiprocessing solution: hold Folia document in one thread, collect FQL queries, execute them sequentially in that thread. Have other threads communicate concurrently with the various servers.

proycon commented 9 years ago

Fixed