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

Connection to Influx database via UDP #4

Open
caspianron opened this issue Mar 29, 2018 · 4 comments
Open

Connection to Influx database via UDP #4

caspianron opened this issue Mar 29, 2018 · 4 comments

Comments

@caspianron
Copy link

Hi,

I was trying to access influx database via UDP but cannot succeed. The situation here is that I have a specific database name which I have to access everytime, but via UDP connection there is no option to provide a database name. Also what needs to be changed in the influx.conf file for UDP configuration settings?
I tried the my project with HTTP and all works fine. Thanks for that. But I would really love to use UDP for my connection as it is much faster and has less overheads.
Thanks and waiting for your response.

Regards
rG

@caspianron
Copy link
Author

Hello,

Could you help me on this issue?

Thanks
rG

@orca-zhang
Copy link
Owner

Hi, Raunak

I've considered your issue for several days.

Here're my solutions as below:
1 Modify code or grammar of InfluxDB server to support db selection hints.

shortages: not easy to do and update

2 Add administration service to handle db creation.

shortages: this solution may require restart of InfluxDB server to enable latest configuration, this may interrupt continuous business, it maybe intolerable for high-available systems.

3 Deploy InfluxDB as multi-server mode, and new DBs use new instances (new configurations and new ports).

And this solution is my most recommended one.

4 More solutions are on the way.....

I'll commit them ASAP once I've came up with.

Thank you once more.

Orca

@orca-zhang
Copy link
Owner

orca-zhang commented May 7, 2018

Hi,

I think you can also consider to use measurement to do the db-like separation such like add some db prefix for measurement's name inside the SDK. InfluxDB is schema free, so you can dynamically add measurements in one db.

Thanks
Orca

@bigOconstant
Copy link

bigOconstant commented Jun 23, 2021

Is this still a problem?

这仍然是一个问题吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants