Eighty miles up the coast , Chennai -- formerly Madras , the first big British settlement in India -- has millennium-old temples and a thriving technology industry , zoos and markets where whole streets are devoted to selling single products -LRB- from lentils to gray-market digital cameras -RRB- , cricket grounds and one of the longest beaches in the world .