Mysteries of Telegram Data Centers

(dev.moe)

67 points | by theanonymousone 1 hour ago

8 comments

  • strebz 25 minutes ago
    DC2 is a 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 19 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.
  • hocuspocus 17 minutes ago
    I'm on DC5 since I lived in Korea when signing up, but I cannot say I've noticed many outages.
  • londons_explore 1 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 26 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 57 minutes ago
      From what I have read, they only have ~30 employees. They're not exactly onboarding a lot of new people here.
  • hashtag-til 39 minutes ago
  • DOGMATICA 1 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 35 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.
    • 486sx33 59 minutes ago
      [dead]
  • dgroshev 14 minutes ago
  • hhh 52 minutes ago
    something smells suspicious about this kind of data routing