I am using Influx-Java client and trying to push 1M data to my influxDB instance.
i.e One single measurement having 1m rows. ( which is ideal production use case for us ) Issue 1: It randomly writes ( influxDB.write()) to few records to DB. For example, if I try to write 100 records ( points) for one measurement , it writes only 2 records. ( Please note, batch is disabled ) Issue 2. When I try to write 1M data for a single measurement. *Exception in thread "main" **java.lang.RuntimeException**: * *java.net.SocketTimeoutException**: timeout* * at org.influxdb.impl.InfluxDBImpl.execute(* *InfluxDBImpl.java:390**)* * at org.influxdb.impl.InfluxDBImpl.write(* *InfluxDBImpl.java:247**)* at com.ariba.bpm.common.influxdb.<MyCustomeInfluxDatabaseConnector>.<writeToDatabase>( X.java:154) at com.ariba.bpm.common.influxdb.<MyDataGeneratorClass>.<writeForSingleMeasurement>( y.java:47) at com.ariba.bpm.common.influxdb. <MyDataGeneratorClass>.main(z.java:182) Caused by: java.net.SocketTimeoutException: timeout at okio.Okio$4.newTimeoutException(Okio.java:227) at okio.AsyncTimeout.exit(AsyncTimeout.java:284) at okio.AsyncTimeout$2.read(AsyncTimeout.java:240) at okio.RealBufferedSource.indexOf( RealBufferedSource.java:325) at okio.RealBufferedSource.indexOf( RealBufferedSource.java:314) at okio.RealBufferedSource.readUtf8LineStrict( RealBufferedSource.java:210) at okhttp3.internal.http1.Http1Codec.readResponse( Http1Codec.java:191) at okhttp3.internal.http1.Http1Codec.readResponseHeaders( Http1Codec.java:132) at okhttp3.internal.http.CallServerInterceptor.intercept( CallServerInterceptor.java:54) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:92) at okhttp3.internal.connection.ConnectInterceptor.intercept( ConnectInterceptor.java:45) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:67) at okhttp3.internal.cache.CacheInterceptor.intercept( CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:67) at okhttp3.internal.http.BridgeInterceptor.intercept( BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:92) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept( RetryAndFollowUpInterceptor.java:120) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:67) at org.influxdb.impl.GzipRequestInterceptor.intercept( GzipRequestInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:67) at okhttp3.logging.HttpLoggingInterceptor.intercept( HttpLoggingInterceptor.java:145) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed( RealInterceptorChain.java:67) at okhttp3.RealCall.getResponseWithInterceptorChain( RealCall.java:179) at okhttp3.RealCall.execute(RealCall.java:63) at retrofit2.OkHttpCall.execute(OkHttpCall.java:174) at org.influxdb.impl.InfluxDBImpl.execute( InfluxDBImpl.java:382) ... 4 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead( SocketInputStream.java:116) at java.net.SocketInputStream.read( SocketInputStream.java:170) at java.net.SocketInputStream.read( SocketInputStream.java:141) at okio.Okio$2.read(Okio.java:138) at okio.AsyncTimeout$2.read(AsyncTimeout.java:236) ... 32 more Any suggestion? -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+unsubscr...@googlegroups.com. To post to this group, send email to influxdb@googlegroups.com. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/cfd13059-4a30-4aae-b163-6af329815103%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.