Ayende about RavenDB’s HiLO id generator:
this is perfect for most scenarios. Except one very common scenario, bulk import. When you need to load a lot of data into RavenDB, you will very quickly note that most of the time is actually spent just getting new ranges. More time than actually saving the new documents takes, in fact.
But, notice what happens as times goes by (and not that much time) before RavenDB recognizes that you need bigger ranges, and it gives you them.
Original title and link: RavenDB HiLo Id Generation for Bulk Imports ( ©myNoSQL)