{"action":"opened","issue":{"url":"https://api.github.com/repos/openlvc/portico/issues/74","labels_url":"https://api.github.com/repos/openlvc/portico/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/openlvc/portico/issues/74/comments","events_url":"https://api.github.com/repos/openlvc/portico/issues/74/events","html_url":"https://github.com/openlvc/portico/issues/74","id":54660834,"number":74,"title":"Portico cannot keep up with object create messages in high-traffic environment","user":{"login":"timpokorny","id":912209,"avatar_url":"https://avatars.githubusercontent.com/u/912209?v=3","gravatar_id":"","url":"https://api.github.com/users/timpokorny","html_url":"https://github.com/timpokorny","followers_url":"https://api.github.com/users/timpokorny/followers","following_url":"https://api.github.com/users/timpokorny/following{/other_user}","gists_url":"https://api.github.com/users/timpokorny/gists{/gist_id}","starred_url":"https://api.github.com/users/timpokorny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timpokorny/subscriptions","organizations_url":"https://api.github.com/users/timpokorny/orgs","repos_url":"https://api.github.com/users/timpokorny/repos","events_url":"https://api.github.com/users/timpokorny/events{/privacy}","received_events_url":"https://api.github.com/users/timpokorny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openlvc/portico/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-17T12:48:41Z","updated_at":"2015-01-17T12:48:41Z","closed_at":null,"body":"Summary\r\n----\r\nStack traces are being reported from a user who is registering a _lot_ of objects (and doing it quickly). \r\n\r\n> When registering more than around 10,000 object instances the following error message appears:\r\n> \r\n> ERROR [AWT-EventQueue-0] portico.lrc: org.portico.lrc.compat.JRTIinternalError: Problem sending message: channel=SEMSim, error message=Task org.jgroups.protocols.TP$5@2e95db03rejected from java.util.concurrent.ThreadPoolExecutor@45d6ff96[Running, pool size = 10, active threads = 1, queued tasks = 1000, completed tasks = 11782]\r\n> \r\n> It seems that items of the internal queue with the size 1000 cannot be polled fast enough. Registering new object instances is faster than processing items of this queue making it grow until around 10,000 items (11,782 in this example but this number varies in each execution). \r\n> \r\n> We helped ourselves in just letting our pushing thread wait for a couple of milliseconds and retry registering object instances. This way we were able to register around 200,000 object instances. But it seems that there is no way of configuring the queue size in the RTI.rid file. Is there any other workaround for this problem, maybe increasing the queue size?\r\n\r\n_via email from David Ciechanowicz, TUM Create, testing with Portico on large traffic simulator_\r\n\r\nEnvironment and Logs\r\n----\r\n - Portico `v2.0.0`\r\n - Windows 7 SP1 64-bit w/Java 1.8\r\n \r\nReproduction Steps\r\n----\r\n 1. Create a truck-load of objects quickly\r\n 2. Watch the logs for the crashy\r\n"}}