Giter VIP home page Giter VIP logo

Comments (9)

jourdain avatar jourdain commented on September 25, 2024

We provide docker images that will allow you to bundle your trame app so you can serve multiple user automatically.

from trame.

jourdain avatar jourdain commented on September 25, 2024

Examples can be found in the cookiecutter and here

from trame.

chiyandetaotie avatar chiyandetaotie commented on September 25, 2024

In actual use, different users need to display different post-processing models and may perform different operations at the same time. I need to open an independent "trame" application for each user. There is no limit to the number of users who can log into the platform. How should I deploy it?

from trame.

jourdain avatar jourdain commented on September 25, 2024

Once you go with "no limit to the number of users at the same time", a single machine won't be enough and you need to start scaling dynamically based on the load. At that point, you need something like Kubernete or leverage an HPC. An option can be to look at a JupyterHub setup but with a trame app instead of a JupyterLab notebook.

If you want to work with Kitware to guide you through the specificities of your setup, you can reach out here.

from trame.

chiyandetaotie avatar chiyandetaotie commented on September 25, 2024

I donot know how to use "JupyterHub" or "Kubernete" to run "trame" independently for different users.
image
I have submitted the form, but no one responded. Please tell me how to deploy it to meet my requirements.

from trame.

jourdain avatar jourdain commented on September 25, 2024

How long ago did you sent the request?

from trame.

chiyandetaotie avatar chiyandetaotie commented on September 25, 2024

2 days ago

from trame.

chiyandetaotie avatar chiyandetaotie commented on September 25, 2024

I try to use the "trame docker" to run the example (trame-master\examples\06_vtk\Applications\MultiFilter\app.py).
The directory structure is as follows:
image
the apps.yml:
image
the requirements:
image
the Dockerfile:
image
but it has error as follows:
image
How should I solve this problem?

from trame.

jourdain avatar jourdain commented on September 25, 2024

You are not sharing the right log, but the issue you are running into is because you are using a regular vtk in and headless system (docker).
To solve that, you need to use vtk-osmesa or vtk-egl if you have an NVIDIA GPU and you are using docker with their runtime. See Docker/EGL guide for more information.

You can find a VTK example with docker here.

from trame.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.