can we support export()-ing to a remote orca server?
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- R
- Sterne
- 2.7k
- Forks
- 641
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Funktion orca_serve() und der Exportmethode, die sie zurückgibt, und verfolge dann, wie der aktuelle Server gestartet und kontaktiert wird. Definiere die Änderung so, dass Graphen an einen bereits laufenden entfernten Orca-Server exportiert werden, ohne einen weiteren Server zu starten, einschließlich des hier beschriebenen Anwendungsfalls mit Shiny und Docker Compose.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- docker, r
- Bereich
- api, data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 32/100