plotly / plotly/plotly.R

can we support export()-ing to a remote orca server?

Aperta
#1,905 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
R
Stelle
2.7k
Fork
641
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It looks like the orca_serve() function starts up a server and returns a method that I can use to export a graph to the server.

What if I already have a server running on another machine? I would like to be able to export a graph to that already running server without starting a new server.

The reason I ask for this feature: I want to export my graph inside of a Shiny app that is deployed in a containerized environment. Both my app and orca have really big dependency trees and I have spent a lot of time (so far unsuccessfully) trying to build a Docker image that can support both my app and orca.

If this feature existed, I would not need to create a new docker image. I could use the off-the-shelf orca container. I could use docker-compose to start up both my app and the orca server, and then in my app I could submit to the running orca server.

Is this something you would be interested in supporting? I imagine orca_serve() with a couple extra arguments, like hostname="localhost", start_server=TRUE which I could override to point to an already-running server on another host.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia dalla funzione orca_serve() e dal metodo di esportazione che restituisce, quindi traccia come viene avviato e contattato il server attuale. Definisci la modifica in modo da esportare grafi verso un server Orca remoto già in esecuzione, senza avviare un altro server, includendo il caso d’uso con Shiny e Docker Compose descritto qui.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
docker, r
Ambito
api, data-visualization
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
32/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.