nikepan / clickhouse-bulk

Collects many small inserts to ClickHouse and send in big inserts
Apache License 2.0
474 stars 86 forks source link

Request Timeout if send more then X rows at once #68

Closed igolka97 closed 6 months ago

igolka97 commented 11 months ago

Hello, Nikolay!

I got Request Timeout while sending more then X (about 1000 in my case) rows at ones. I batching requests on client side (nodejs) and sending this batch every 2500 ms. Everything goes well until my batch size reaches about 1000-1100 rows. I'm using offiсial clickhouse client for nodejs.

bulk instance deployed on another instance available via 1Gbit network.

Have you any idea why and how it could happen?

igolka97 commented 6 months ago

Idk, but it solves totally itself