Scribe (log server)
Scribe was a server for aggregating log data streamed in real-time from many servers. It was designed to be scalable, extensible without client-side modification, and robust to failure of the network or any specific machine.
Developer(s) | |
---|---|
Initial release | October 24, 2008 |
Repository | |
Written in | C++, Python |
License | Apache License 2.0 |
Website | Scribe homepage (Github) |
Scribe was developed at Facebook and released in 2008 as open source.[1][2]
Scribe servers are arranged in a directed graph, with each server knowing only about the next server in the graph. This network topology allows for adding extra layers of fan-in as a system grows, and batching messages before sending them between datacenters, without having any code that explicitly needs to understand datacenter topology, only a simple configuration.[3]
Scribe was designed to consider reliability but to not require heavyweight protocols and expansive disk usage. Scribe spools data to disk on any node to handle intermittent connectivity node failure, but doesn't sync a log file for every message. This creates a possibility of a small amount of data loss in the event of a crash or catastrophic hardware failure. However, this degree of reliability is often suitable for most Facebook use cases.[3]
See also
- Apache Flume
- Fluentd: Log Everything in JSON
Notes and references
- Robert Johnson. "Scribe Makes Its Open Source Debut". Retrieved 2009-01-27.
- Caroline McCarthy. "Facebook to developers: Here, have some code!". Retrieved 2009-01-27.
- https://www.facebook.com/note.php?note_id=32008268919&id=9445547199
External links