The Challenges of Writing a Massive and Complex Go Application
40.2 هزار بار بازدید -
8 سال پیش
-
Author: Ben Darnell
Abstract:
We
Author: Ben Darnell
Abstract:
We opted for Go when building CockroachDB, a scale-out, relational database, because of its support for libraries, interfaces, and tooling. However, it has come with its own frustrations, often related to performance and synchronization. And as for Cgo, RocksDB, and other critical external libraries, we've had to hunt down or develop creative workarounds to ensure they work well the rest of the toolchain. In this talk, we'll share how we've optimized our memory usage to mitigate issues related to garbage collection and improved our use of channels to avoid deadlocks. We will also share creative techniques to integrate non-Go dependencies into the Go build process.
ACM DL: dl.acm.org/citation.cfm?id=2960085
DOI: dx.doi.org/10.1145/2959689.2960085
8 سال پیش
در تاریخ 1395/04/02 منتشر شده
است.
40,224
بـار بازدید شده