You would need to create vibe-aware alternatives to TSSLSocket and TSocket. You would need a server that can assign requests to new fibers. That's about it. You could easily make this its own library. No need to modify thrift.