-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How should we integrate superset with django CMS #7
Comments
@akshay2905 okay so I have cms running on my system, do we have superset samples or something based on the way you are already using ? |
The superset samples can be taken from the instance we have and embed them as an iframe in the cms. That embedded iframe code would be part of the content on the cms. |
I was able to embed the complete dashboard using the following code <iframe
width="1600"
height="1600"
seamless
frameBorder="0"
scrolling="yes"
src="http://52.214.125.248:8088/superset/dashboard/8/?preselect_filters=%7B%2252%22%3A%7B%22source%22%3A%5B%22Police.csv%22%5D%2C%22particulars_1%22%3A%5B%22Establishment%20Expenditure%20of%20the%20Centre%22%5D%2C%22particulars_2%22%3A%5B%22Central%20Armed%20Police%20Forces%22%5D%7D%7D&standalone=true&height=1600"
>
</iframe> Tip from here apache/superset#1170 |
the speed would be a concern though, we will have to optimize on our views, but @akshay2905 your thoughts ? |
I guess setting up Redis as cache may optimize speed a lot plus configuring Gunicorn server is something we need to explore. |
It loaded pretty fast after caching. Also we can design our views/dashboard in a manner that it doesn't have that much data transfer. The question is of design simplification required for our user Base and making it usable |
The performance issue, I believe can be solved by Gaurav's proposal, also as he had mentioned, it is running on a development server. Would do a check of how data can be managed at front-end, to make sure we minimise queries. Also, a single page won't have many visualizations, we might need to test the turn-around time while we are surfing multiple pages. |
No description provided.
The text was updated successfully, but these errors were encountered: