performance - Grizzly and Jersey standalone transport data very slow, and how to improve/configurate it? -


i using jersey 1.12 grizzly, using jackson generate json output. if generated result bigger, data transport speed slow.

i run server , client on same box, , transport speed 350kb data around 350kb/sec, pretty slow, right? how tuning this? monitored api generate list of object ready serialized json, 50ms after first time.

i set number of grizzly nio worker threads 40.

i run server on

linux 2.6.18-274.7.1.el5 #1 smp thu oct 20 16:21:01 edt 2011 x86_64 x86_64 x86_64 gnu/linux 

this server has 8 cores.

maybe running out of heap space, causing vm try gc more aggressively causing longer , more frequent gc cycles? how big data? using logging filter (it buffers entity - loading memory)? try increasing heap size or ensuring send/receive data in streaming fashion rather keeping in memory.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -