Re: Improve Python + Influxdb import performance

2017-04-10 Thread Prathamesh
Hi I've installed Jython 2.7 and was able to get weblogic running as a Jython 2.7 module following https://technology.amis.nl/2015/10/04/how-to-use-wlst-as-a-jython-2-7-module/ I got the requests module 2.7 installed as well But am facing an issue when invoking it related to SSL certificates an

Re: Improve Python + Influxdb import performance

2017-04-04 Thread Prathamesh
Hi Inada Thank you for your response Weblogic works on Jython 2.2.1 and I think the Python requests module requires >= python 2.6 Please correct me if I'm wrong or if there is another way to get this to work Thanks P On Monday, April 3, 2017 at 9:52:38 PM UTC+5:30, INADA Naoki wrote: > You can

Re: Improve Python + Influxdb import performance

2017-04-03 Thread Prathamesh
On Monday, April 3, 2017 at 9:52:38 PM UTC+5:30, INADA Naoki wrote: > You can reuse connection, instead of creating for each request. (HTTP > keep-alive). > > On Tue, Apr 4, 2017 at 1:11 AM, Prathamesh > wrote: > > Hello World > > > > The following script is an extract from > > > > https://githu

Re: Improve Python + Influxdb import performance

2017-04-03 Thread INADA Naoki
You can reuse connection, instead of creating for each request. (HTTP keep-alive). On Tue, Apr 4, 2017 at 1:11 AM, Prathamesh wrote: > Hello World > > The following script is an extract from > > https://github.com/RittmanMead/obi-metrics-agent/blob/master/obi-metrics-agent.py > > <> > > import ca

Improve Python + Influxdb import performance

2017-04-03 Thread Prathamesh
Hello World The following script is an extract from https://github.com/RittmanMead/obi-metrics-agent/blob/master/obi-metrics-agent.py <> import calendar, time import sys import getopt print '---' # Check the arguments to this script are as expected. # argv[