This article discusses Gremlin query optimization for DSE Graph, focusing on identifying bottlenecks and measuring improvements to achieve performant real-time transactional Gremlin queries. It highlights common mistakes in writing Gremlin queries and provides techniques to avoid them. The article also covers the use of as/select steps, where step, match step, .or condition, paging with range step, and using search index for paging. Additionally, it mentions the timeLimit step for speeding up query iterations during troubleshooting. As DSE Graph's optimizer matures, some manual optimizations may become unnecessary in the future.