In a small saucepan, mix sugar and water together and bring to a boil. Cook, stirring, just until sugar dissolves, about 1 to 2 minutes. Remove from heat and let cool for 5 minutes.
While simple syrup is cooling, prepare vegetables: Quarter cucumbers lengthwise and slice to form triangles. Finely chop shallot and mince garlic.
Place cucumbers, shallots, and garlic in a medium bowl. Toss with simple syrup, vinegar, and salt and red pepper to taste.
Sprinkle with cilantro and peanuts.
Recipe Courtesy of Quick & Kosher: Meals in Minutes by Jamie Geller (Feldheim 2010)