'Alif the Unseen' by G. Willow Wilson.
Almost impossible to describe. It's about a young man, half indian, half arab, who lives in an Arab country and earns his living by finding ways to access the internet on behalf of customers, who use it both legally and illegally, as there is a lot of censorship. He is gradually becoming aware that someone is even better than he is at hacking, and that they work for the government and wish to harm him and other hackers, who are gradually disappearing all around the world.
He hopes to marry a girl who is of a far higher caste than he is, but she has a marriage arranged for her. They meet up for the last time and she hands him an ancient book. The book turns out to be a book written by a djinn, or djinns, the equivalent of the Bible or Quran. The govt. hacker tracks him down and he has to go on the run, taking a childhood girl friend with him.
I'm only halfway through it, but it's fascinating. The combination of life in the present, on so many levels, the descriptions of the city and way of life, the ancient legends as well as what appears to be magic at times, without descending into the sort of vampire/witch/werewolf type genre.