https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • s

    SirJosh

    01/11/2021, 2:15 AM
    i like the concepts elixir brings to the table, but it's got a super niche usecase imo - if you don't have millions of users, the performance doesn't justify a comparable rust solution (with just vertical scaling)
  • s

    SirJosh

    01/11/2021, 2:16 AM
    haven't used python though
  • j

    joe

    01/11/2021, 2:17 AM
    Elixir fits Discord bots pretty well, and most real-time chat integrations I'd assume.
  • j

    joe

    01/11/2021, 2:17 AM
    Web development is nice as well with frameworks like Phoenix.
  • a

    advaith

    01/11/2021, 2:27 AM
    i dont think ive actually heard of any elixir bots
  • s

    SirJosh

    01/11/2021, 2:29 AM
    discord is written in elixir so it'd make logical sense at least, but i guess people prefer other languages
  • a

    ai

    01/11/2021, 2:30 AM
    if there isn't a library for the API there's probably not going to be bots in that language that said, there's libraries for discord in every language
  • j

    joe

    01/11/2021, 2:31 AM
    here is one I help maintain for Elixir
  • a

    advaith

    01/11/2021, 2:32 AM
    well only for the gateway and maybe some other parts
  • a

    advaith

    01/11/2021, 2:33 AM
    rest api is in python and they also use rust
  • j

    joe

    01/11/2021, 2:37 AM
    I know of at least a couple, but the language isn't public knowledge
  • a

    advaith

    01/11/2021, 2:47 AM
    oh yeah nostrum
  • a

    advaith

    01/11/2021, 2:47 AM
    the meme channel of dapi
  • j

    joe

    01/11/2021, 2:50 AM
    we made it less memey now
  • j

    joe

    01/11/2021, 2:50 AM
    you rarely find us in starboard!
  • a

    advaith

    01/11/2021, 2:51 AM
    f
  • w

    wilbo007

    01/11/2021, 3:23 AM
    they should change this to the cloudflare discord
  • p

    Pugo

    01/11/2021, 4:28 AM
    hi workers!
  • m

    macedonian

    01/11/2021, 4:57 AM
    Are there any plans to lower latency of Workers KV in Australia? AFAIK the data is currently stored in US and EU, but it would be great if more central locations could be added to lower the latency even further.
  • m

    mrparker

    01/11/2021, 5:20 AM
    @User AFAIK workers KV is per datacenter, and replicates globally
  • m

    mrparker

    01/11/2021, 5:20 AM
    durable objects is per-datacenter
  • m

    macedonian

    01/11/2021, 5:25 AM
    I’m 99% sure that Workers KV stores the data in two central locations (one in US and one in EU). And it is cached on each edge location, but only if it’s accessed frequently enough. For my use case I’ll have millions of objects that are not all accessed frequently so the latency when objects are not cached is crucial. Therefore I was wondering if Cloudflare has any plans on added more central locations where all objects are permanently stored.
  • m

    mrparker

    01/11/2021, 5:26 AM
    it says in their documentation that it takes 60 seconds to propagate to all their datacenters
  • m

    mrparker

    01/11/2021, 5:26 AM
    "Workers KV is a global, low-latency, key-value data store. It supports exceptionally high read volumes with low-latency, making it possible to build highly dynamic APIs and websites which respond as quickly as a cached static file would."
  • m

    macedonian

    01/11/2021, 5:29 AM
    I don’t think you really understand how Workers KV works. Check this article: https://blog.cloudflare.com/catching-up-with-workers-kv/
  • m

    macedonian

    01/11/2021, 5:30 AM
    “Very infrequently read values are stored centrally, while more popular values are maintained in all of our data centers around the world.”
  • m

    macedonian

    01/11/2021, 5:30 AM
    “Recently, we have rolled out a major internal change. We have added a second source of truth on the European continent. These two sources of truth will still coordinate between themselves, ensuring that any data you write or update will be available in both places as soon as possible. But latencies from Europe, as well as places closer to Europe than the United States, should be much faster, as they do not have to go the full way to the US.”
  • a

    albert-zhao

    01/11/2021, 5:35 AM
    It's a good question! I don't have the best answer since this may be more suited for someone who works on infrastructure. As you may know, bandwidth in Australia is particularly expensive, so this question will eventually be addressed when Cloudflare is generally able to negotiate with providers and get more P.O.Ps in that region.
  • m

    macedonian

    01/11/2021, 5:38 AM
    Perhaps Singapore could be considered. I think the bandwidth is a lot cheaper there but it would still significantly lower the latency in Australia as well as most of Asia.
  • m

    macedonian

    01/11/2021, 5:40 AM
    Or perhaps it would be an idea to let users choose (and pay) for which locations they want to act as a source of truth.
1...383940...2509Latest