Task #6946

VRE #6301: VRE for ICES training course (ICES MSY): 25-26 Jan. 2017

Task #6938: Reinforce RStudio support to make it scalable and robust

Enhance RStudio Wrapper portlet to support multiple Rstudio instances discovery

Added by Massimiliano Assante over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:Feb 07, 2017
Priority:HighDue date:Feb 09, 2017
Assignee:Massimiliano Assante% Done:

100%

Category:Default
Sprint:RStudio elastic management
Infrastructure:
Milestones:
Duration: 3

Related issues

Blocked by BlueBRIDGE - Task #6947: Provide 3 new VMs hosting Rstudio in /gCube/devNext/NextNext Closed Feb 07, 2017 Feb 09, 2017

History

#1 Updated by Massimiliano Assante over 2 years ago

  • Blocked by Task #6947: Provide 3 new VMs hosting Rstudio in /gCube/devNext/NextNext added

#2 Updated by Massimiliano Assante over 2 years ago

  • Status changed from New to In Progress

#3 Updated by Massimiliano Assante over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Feedback

The RStudio Wrapper portlet snapshot has been updated to support multiple Rstudio instances discovery and balance them within the VRE members. Once a RStudio instance is allocated this is maintained. Works on NextNext here: https://next.d4science.org/group/nextnext/rstudio

I verified the user allocation for 6 different users and it seems working, each time a new allocation is defined the allocation maps is printed in the log.

user.rstudio_wrapper_portlet.server.RStudioServiceImpl - VRE - RStudio allocaiton map as follows: 
org.gcube.portlets.user.rstudio_wrapper_portlet.server.RStudioServiceImpl - VRE /gcube/devNext/NextNext has totalUsers = 35
org.gcube.portlets.user.rstudio_wrapper_portlet.server.RStudioServiceImpl - Host rstudio3.d4science.org:443 has # users=2
org.gcube.portlets.user.rstudio_wrapper_portlet.server.RStudioServiceImpl - Host rstudio1.d4science.org:443 has # users=1
org.gcube.portlets.user.rstudio_wrapper_portlet.server.RStudioServiceImpl - Host rstudio-dev.d4science.org:80 has # users=1
org.gcube.portlets.user.rstudio_wrapper_portlet.server.RStudioServiceImpl - Host rstudio2.d4science.org:443 has # users=1

org.gcube.portlets.user.rstudio_wrapper_portlet.server.RStudioServiceImpl - User Fabio Sinibaldi RStudio Instance set calculated = rstudio2.d4science.org:443

#4 Updated by Massimiliano Assante over 2 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF