The first step, made the whole dish
Every Malay dish starts by frying a chilli paste. Sambal tumis is what happens when you do not stop.
Malay cooking begins, nine times out of ten, with the same act: a ground paste of chilli, shallot and garlic goes into hot oil and is fried until it smells cooked. This is menumis, and everything else, the meat, the coconut milk, the vegetables, comes after.
Sambal tumis is that first step carried all the way through and treated as the dish. Keep frying, add sourness and sweetness, and what was a base becomes a relish that will keep for weeks. In a hot climate without refrigeration, a jar of something this intensely flavoured and this well preserved was worth an afternoon’s work.

Why dried chillies
Fresh chillies are bright and sharp. Dried ones are deeper, fruitier and a little smoky, and they give a darker colour. They also keep for months, which mattered to cooks who could not always get fresh.
The raw sambal, belacan, is made with fresh chillies. The cooked one is made with dried. The difference in flavour between the two starts there.
Three parts of the method
Soaked dried chillies ground with shallots, garlic and belacan.
Fried slowly in generous oil until the oil breaks free of the paste.
Tamarind for sourness, palm sugar for sweetness and depth.
The relations
Indonesia has a huge family of cooked sambals. Sambal goreng is the general term, usually with something fried in it: potato, tempeh, liver, prawns. In West Sumatra the Minangkabau make balado, with fresh red chillies, quickly fried and not sweetened. The Peranakans have their own, sweeter and fragrant with lime leaf.
Where it is eaten
With nasi lemak, and as a base for seafood.
A wide family of fried sambals.
Under the same name.
Bottled nasi lemak sambal is a growing export.