Put a large pot of water on the on the stove and salt when it comes to a boil.
Add the spaghetti and cook until al dente, about 10 minutes.
As soon as the pasta is cooking, heat the oil in a heavy bottomed pan.
Add the pancetta and cook until crisped, about 5 minutes.
While the pancetta is cooking, mix the Parmesan and eggs until smooth and set aside.
Grate the garlic cloves into the pan and cook for an additional minute.
As soon as the pasta is cooked, remove a half cup of pasta water and set aside.
Take the pasta from the pot and add it to the pan with the garlic and pancetta.
Mix the pasta with the oil and pancetta for two to three minutes to coat it.
Take the pan off the heat and add the egg and Parmesan mixture.
Mix quickly to ensure the pasta is evenly coated.
Add the reserved pasta water and mix until smooth.