November 2018 Summaries
2 posts from Nylas
Filter
Month:
Year:
Post Summaries
Back to Blog
Nylas extensively utilizes Python and various open-source libraries to enhance its email API codebase and streamline operations, highlighting the importance of community-driven code maintenance and development. Key libraries include ptpython for efficient internal tooling, enabling rapid debugging and experimentation; exchangelib for seamless Microsoft data syncing with its well-commented code that aids in navigating complex documentation; tldextract for URL parsing to manage diverse domain suffixes; vcr for optimizing API testing by recording and replaying HTTP interactions to enhance test speed and reliability; and expiringdict for managing ordered caches, ensuring that frequently accessed data is served quickly while preventing cache overload. These tools reflect Nylas' commitment to Python and its role in maintaining efficient, scalable systems, alongside its active engagement in the wider Python community through projects, talks, and meetups.
Nov 29, 2018
786 words in the original blog post.
Nylas places a strong emphasis on ensuring high-speed performance for its API, which is central to its product and business operations. Achieving this involves setting clear, measurable goals, such as a P90 total request time of less than 500 milliseconds, and employing a range of tools and techniques for diagnosis, profiling, and monitoring. Tools like Honeycomb facilitate efficient data visualization and pattern recognition, aiding in the identification and resolution of performance issues. Profiling tools, including cProfile and the custom-built nylas-perftools, help pinpoint sources of slowness, with visualizations such as flame charts offering insights into performance bottlenecks. The process is iterative, involving regular monitoring and alerting through systems like Honeycomb and Graphite to ensure ongoing performance optimization. The approach highlights the importance of visualization, effective tool use, and focused effort in maintaining and improving API speed and reliability.
Nov 01, 2018
1,541 words in the original blog post.