4 ms·
They don't use a global data bus AFAICT. It's all driven by rpc through finagle (i.e. thrift). Finding service endpoints is likely done through zookeeper or som
by lumpypua 13y ago
They don't use a global data bus AFAICT. It's all driven by rpc through finagle (i.e. thrift). Finding service endpoints is likely done through zookeeper or some equivalent.
- deleted 13y ago[deleted]
- alecthomas 13y agoThat is correct. The service discovery is called ServerSets and is available here: https://github.com/twitter/commons/blob/master/src/java/com/twitter/common/zookeeper/ServerSetImpl.java https://github.com/twitter/commons/blob/master/src/java/com/...
- amirouche 13y agoI understand that there is finagle and also a service discovery backed by zookeeper. I fail to understand how twitter's data stays consistent without something like linkedin's databus. Doesn't twitter manage a single point of thruth or a single version of thruth and propagate changes to secondary databases like social graph & search indexes?