Share to: share facebook share twitter share wa share telegram print page

Scribe (log server)

Scribe
Developer(s)Facebook, Inc.
Initial releaseOctober 24, 2008 (2008-10-24)
Repository
Written inC++, PHP, Python
LicenseApache License 2.0
WebsiteScribe homepage (Github)

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.

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

Notes and references

  1. ^ "Log in or sign up to view". www.facebook.com. Retrieved 2023-02-28.
  2. ^ McCarthy, Caroline. "Facebook to developers: Here, have some code!". CNET. Retrieved 2023-02-28.
  3. ^ a b https://www.facebook.com/note.php?note_id=32008268919&id=9445547199 [user-generated source]


Kembali kehalaman sebelumnya