first try implementing mmaped journal