Skip to content
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

the rest api is too slow for get connection #19

Open
huzelong0 opened this issue Mar 26, 2020 · 0 comments
Open

the rest api is too slow for get connection #19

huzelong0 opened this issue Mar 26, 2020 · 0 comments

Comments

@huzelong0
Copy link

huzelong0 commented Mar 26, 2020

hi,Mr Scott:
I am a developer from China,I have two questions on below:
1.we want to import mondrian-rest to our project ,but I found the rest api is too slow,all the request entry,they all need to get connection again and again, so whether we could make a Connection Pool to save time?

2 .I see there is a dependency in pom.xml:
<dependency>
<groupId>net.hydromatic</groupId>
<artifactId>foodmart-data-hsqldb</artifactId>
<version>${foodmart-hsqldb-version}</version>
</dependency>

if I need mysql, I have to change the jar to below, I can't connect the databases without it:

<dependency>
<groupId>net.hydromatic</groupId>
<artifactId>foodmart-data-mysql</artifactId>
<version>0.10</version>
</dependency>

the question is the jar was named "foodmart-data-mysql" ,so I guess it can be only work for foodmart, so how can I get connection on my own database ? does I need to overwrite the jar? or does there have a common jar for all database for connection?

thanks for your time and God bless all Americans for healthy

@huzelong0 huzelong0 changed the title the rest api is too slow , the rest api is too slow for get connection Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant