julian
julian

Reputation: 408

WebLogic staging mode affects runtime performance?

As a general question, are there any reasons that setting the Staging Mode to "nostage" instead of "stage" could cause performance hits? I was originally using "stage" mode, but after some issues with redeployments, I decided to try "nostage". This caused the application to perform almost two times slower. After switching the staging mode back to "stage" in the console, the slowdown was gone.

I was under the impression that the staging mode only "determines how deployment files are made available to target servers" (from the Oracle documentation page), and would not affect the runtime. Is this normal behaviour? I'm having trouble finding information on any links between staging mode and runtime performance.

Upvotes: 0

Views: 1415

Answers (1)

Lan
Lan

Reputation: 6660

Stage or nostage should not impact runtime performance. It is hard for me to find out what might cause your performance slowdown without further information, but one thing I can suggest is to switch back to staging mode if that seems to give you the better performance before you figure out the root cause. As to the redeployment issue you mentioned in your answer, you did not provide any details, but I guess it might be related to WLS still picking up the old files instead of new files. You can do some extra steps during your deployment to fix that

  1. Undeploy your app
  2. Shutdown the whole domain
  3. Delete the tmp/stage/cache directories under each managed servers
  4. Start the servers in the domains
  5. Do a new deployment.

Of course, it sounds cumbersome, but you can automate all these into your deployment scripts.

Upvotes: 1

Related Questions