Skip to content
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

Evaluate session service architecture #6005

Closed
inodb opened this issue Apr 23, 2019 · 5 comments
Closed

Evaluate session service architecture #6005

inodb opened this issue Apr 23, 2019 · 5 comments

Comments

@inodb
Copy link
Member

inodb commented Apr 23, 2019

With session service becoming more and more an integral part of cBioPortal, we should re-evaluate its architecture.

Questions to answer:

  • Should we combine session service with cbioportal repo?
    • is there any performance benefit to having sessions in the mysql database versus pulling sample lists from session service and then querying them in the mysql database?
    • do cbioportal maintainers find it more complicate to install both mysql and mongo database?
    • why did we choose the current design?
  • What is the scope of session service? The name implies it stores sessions, but it's storing both sessions and user data like virtual studies, groups, study view customizations.
  • Should session service by a requirement for running cBioPortal?
    • maybe localStorage goes a long way?
  • How do we test the system?

CC: @mandawilson @n1zea144 @kalletlak @alisman @adamabeshouse

@adamabeshouse
Copy link
Contributor

From a development POV of a session service consumer, I think it's better to require session service because otherwise we would have to maintain two parallel systems: using session service, and using localStorage.

@jjgao
Copy link
Member

jjgao commented Apr 30, 2019

Should we combine session service with cbioportal repo?

It may be a good idea to do that ultimately, but definitely not this round v3.0.0. We should evaluate the options.

What is the scope of session service?

see #5771

Should session service by a requirement for running cBioPortal?

Agreed and we have decided to make sessions service a requirement #5773.

We also decide not to use local storage b/c user data cannot be maintained between computers.

How do we test the system?

??

@inodb
Copy link
Member Author

inodb commented Apr 30, 2019

Thanks @jjgao !

Regarding testing session service. We currently have no tests of session service standalone. I made an issue of what I think should be doable:

cBioPortal/session-service#23

There's also a known issue with testing review apps. You could still use the localStorage trick to test, but one can't use the review app directly to log in. Maybe not that big of a deal

@stale
Copy link

stale bot commented Mar 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 10, 2020
@jjgao
Copy link
Member

jjgao commented Mar 13, 2020

@inodb I am going to close this one. Please create separate issues if still relevant, e.g. testing.

@jjgao jjgao closed this as completed Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants