That's a fast parse! I'm assuming the 4GB is preloaded in RAM before the parse starts? Or the read and parse are parallel.

Reply to this note

Please Login to reply.

Discussion

Right now the contact list is loaded into ram and then memcpied for every call to ndb_process_event, this is a share-nothing architecture so no ownership state is assumed at the start of the pipeline, but the ownership is transferred between ingester and writer threads without a memcpy.

Eventually when I integrate web sockets into this it would then transfer the ownership off the socket to the ingester thread with no memcpy.