Nanshu Chen is a Principal Software Engineer in Sunnyvale with a decade of experience architecting and delivering high-performance distributed systems. At Roblox, he leads as Principal Software Engineer, applying his breadth of experience across RPC, routing, and backend infrastructure. Previously at Meta, he served as Tech Lead on Thrift-Python and ServiceRouter, building scalable RPC and routing solutions powering Instagram Business and large data/ML platforms. He has deep open-source contributions to fbthrift, hhvm, and folly, including bringing Python bindings to folly tasks, SSL support, and concurrency-safe patterns for multithreaded environments. He combines a foundation in materials science and optoelectronics with a strong software engineering career spanning VMware and GlobalFoundries, focusing on reliable, scalable engineering culture and cross-team collaboration. Based in Sunnyvale, California, he bridges systems research and production software, turning complex distributed challenges into robust, observable services.
11 years of coding experience
19 years of employment as a software developer
BS, Materials Science, BS, Materials Science at Fudan University
PhD, Optoelectronics, PhD, Optoelectronics at Nanyang Technological University
Facebook's branch of Apache Thrift, including a new C++ server.
Role in this project:
Back-end Developer
Contributions:183 commits, 1 comment, 1 issue in 3 years 4 months
Contributions summary:Nanshu primarily worked on modifying and improving the `fbthrift` library. Their contributions included changing the way client and channel shared pointers are handled during disconnects to prevent race conditions in multithreaded environments. Additionally, they introduced a function to create default instances and made changes to the Cython code to optimize the process of getting default values, addressing stack overflow issues. Furthermore, the user added SSL support and exposed chunk buffer size options to Python, contributing to the project's security and flexibility.
An open-source C++ library developed and used at Facebook.
Role in this project:
Back-end Developer
Contributions:14 commits in 3 years 2 months
Contributions summary:Nanshu primarily contributed to the folly library, focusing on enhancements related to Python integration. They implemented features bridging `folly::coro::Task` and `folly::coro::AsyncGenerator` with Python's asyncio, enabling asynchronous operations. Code changes involved creating and modifying Cython files for Python bindings and adding C++ code to support the bridging functionality. The user also refactored exception handling and made performance improvements.
facebookcppc-library
Find and Hire Top DevelopersWe’ve analyzed the programming source code of over 60 million software developers on GitHub and scored them by 50,000 skills. Sign-up on Prog,AI to search for software developers.
Request Free Trial
Nanshu Chen - Principal Software Engineer at Roblox