My recording is laggy and/or has a low frame rate
Screen recording is an inherently CPU-intensive process. Therefore, some lag is possible if you have many competing programs, applications and processes running while you're recording.
Screencastify runs completely locally (i.e. it never connects to the internet while recording), so internet connection has no impact on lag or video quality.