The key to preventing your shallots from becoming bitter is to make sure you don't over cook them, low and slow will do it.