In type 2 diabetes, insulin resistance and excess hepatic glucose production results in elevated fasting glucose. In a research study it is observed that after taking low carb protein rich [egg] food before half hour to sleep there is reduction in fasting and nocturnal glucose compared to the people who take no food or high carb protein rich food before sleep.