-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize PermissionChecker performance && adjust jsonrpc configuration #13034
Conversation
b649430
to
c631924
Compare
960f8cf
to
3b9e278
Compare
4c0fefd
to
ba3b9b3
Compare
ba3b9b3
to
314eb9f
Compare
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
Signed-off-by: Sergii Kabashniuk <[email protected]>
314eb9f
to
a0a32c7
Compare
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
ci-test |
...c/main/java/org/eclipse/che/multiuser/permission/workspace/server/model/impl/WorkerImpl.java
Show resolved
Hide resolved
…d workspaceid Signed-off-by: Sergii Kabashniuk <[email protected]>
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
…erId and workspaceid Signed-off-by: Sergii Kabashniuk <[email protected]>
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
crw-ci-test |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
crw-ci-test |
ci-build |
ci-test |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
...c/test/java/org/eclipse/che/multiuser/permission/workspace/server/spi/tck/WorkerDaoTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Sergii Kabashniuk <[email protected]>
@ScrewTSW do we override those values on rh-che side ? |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
ci-test |
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
What does this PR do?
It's an attempt to reduce the time needed to execute a single json-rpc call.
To test that I was using a scenario that is emulating Che6 workspace startup. It has 10 times more minor events aka logs in comparison to major aka statuses.
Figure 1:
this is how che server behaves without changes
![Знімок екрана о 21 40 21](https://user-images.githubusercontent.com/1614429/64535325-5da03600-d317-11e9-8d8c-3b39e6419e54.png)
![Знімок екрана о 15 43 53](https://user-images.githubusercontent.com/1614429/64536047-ae645e80-d318-11e9-8e56-3bd29a21f4a4.png)
what we can see here is
Figure 2:
this is how che server behaves with queue adjustmens and query cache
![Знімок екрана о 21 38 24](https://user-images.githubusercontent.com/1614429/64536215-ff745280-d318-11e9-8f4e-82189982abec.png)
![Знімок екрана о 15 26 54](https://user-images.githubusercontent.com/1614429/64536243-0bf8ab00-d319-11e9-9a3f-ae83bac5001f.png)
what we can see here is :
Figure 3
The number of rows fetched with and without query cache.
what we can see here is :
What issues does this PR fix or reference?
#13221
#13131
redhat-developer/rh-che#1323