Mysteries of Telegram Data Centers

(dev.moe)

74 points | by theanonymousone 2 hours ago ago

12 comments

  • _ink_ 7 minutes ago

    They claim that they store user data on different servers in different jurisdictions so it becomes more difficult for authorities to gain access [1]. Maybe that's true and it has something to do with these DCs that seem to be unused.

    [1] - https://telegram.org/privacy

  • strebz 34 minutes ago

    DC2 is the first connection point of all MTProto clients.

    Any DC may refuse a request and force the client to switch DC.

    Profile URL doesn't show where messages/chats/channels are stored, as telegram has two dedicated DCs mostly for media. The rest DCs allow media with bandwidth being throttled.

  • AntronX 28 minutes ago

    DC in Miami, explains why Telegram app is snappy fast for me. I notice similar speed improvement with Meta and other big tech apps when I'm on the west coast. I guess latency matters when your app is making tons of requests.

  • londons_explore an hour ago

    This strikes me as a huge amount of custom code and technical debt. Every new software dev probably has to learn this.

    Why not a sticky master election per user, and have no special data centers?

    • codedokode 35 minutes ago

      It makes sense: European users are assigned to EU data center, and Chinese to the one closer to them. The "custom code" should not be complicated, just a map of country to DC.

      You are suggesting to develop a compicated solution (spend money) when current simple one is working ok without any elections.

    • fullstop an hour ago

      From what I have read, they only have ~30 employees. They're not exactly onboarding a lot of new people here.

  • hocuspocus 26 minutes ago

    I'm on DC5 since I lived in Korea when signing up, but I cannot say I've noticed many outages.

  • hashtag-til an hour ago
  • dgroshev 23 minutes ago
  • DOGMATICA an hour ago

    i'm far from an authority on content delivery or whatever, but the first thing I thought of was what a bizarre way to setup your infrastructure!

    • Ghoelian 44 minutes ago

      idk, they probably tried to get people on DC's as close to their location as possible. Using your phone number's country code might seem like a good way to do this at first, and they probably didn't give it much more thought before building the whole thing on this idea.

  • hhh an hour ago

    something smells suspicious about this kind of data routing