How to Insert 1000+ records into Write to datastore Entity at a time

Certified Senior Developer

for example my array size is 3400

in the first write - 1 to 1000
2nd time write 1001 to 2000
3rd time write 2001 to 3000
4th time write 3001 to 3400

How we can achieve this one 

can anyone help me out 

TIA

  Discussion posts and replies are publicly visible