multithreading - Running Stanford CoreNLP server multithreadedly -


i running stanford corenlp server:

java -mx4g -cp "*" edu.stanford.nlp.pipeline.stanfordcorenlpserver -port 9001 -timeout 50000 

it seems uses 1 core when processing texts. possible run stanford corenlp server multithreadedly, utilizes more 1 core?

this correct; every request server uses 1 core. can parallelism making multiple server requests @ once. run in parallel number of cores on server (or, value of -threads passed server executable), , after it'll queue jobs in thread pool.


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -