question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple instances of the same Dashboard

See original GitHub issue

For various purposes it sounds like a tempting idea to launch several instances of the same Dashboard. However, currently all ws connections use Genie.config.webchannels_default_route as channel. Different instances should have different channels.

I propose to allow for an additional parameter channel that can be passed to Stipple.init(), which assures that the model as well as the js backend communicate via this channel. I currently use it for a multi-user scenario, with a load balancer sitting in front that manages security and sets a unique id that cannot be modified by the client. I will submit a series of PRs for Genie, Stipple and StippleUI to show how this may look like.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:62 (28 by maintainers)

github_iconTop GitHub Comments

2reactions
essenciarycommented, Nov 16, 2020

@hhaensel Btw, would you like to contribute this example to the demos repo? https://github.com/GenieFramework/StippleDemos

1reaction
essenciarycommented, Nov 16, 2020

@hhaensel Thanks for the example, very useful for the tests 😃

I’ve been digging into this and type piracy is a big issue, so that’s a no go. And with the computational cost of exceptions being high, I came up with this solution: https://github.com/GenieFramework/Stipple.jl/commit/e78440f9f478a625f14f12fdd87ec72abc68c2d2

Julia is very fast at checking types so we can use that to our advantage. So I just added explicit support for Int to Float conversions, without extending parse or convert (so no type piracy). Seems to work great so I registered v0.7.1 with the patch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing multiple instances of the same report
We have different dashboards for different departments or different subject areas. In each are multiple reports. However, a few of the reports ...
Read more >
Multiple dashboard server instances running in single machine
This article explains the topic, How to deploy multiple instances of Dashboard Server in a single machine?
Read more >
How to combine dashboards from multiple instances of the ...
If you have mutlitple instances of, for example, PitStop Pro, within the company, and want a combined dashboard, is that possible? Answer. Yes....
Read more >
Multiple instace of a dashboard opened in server
Using thhe Ajax QV version , if we open the same dashboard on two or more different tabs in the browser, any filter...
Read more >
Use Dashboard to display several instance of a single report ...
Use Dashboard to display several instance of a single report with different filters ... and it seems this is a limitation today. Reports...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found