workers-chat-demo VS e2core

Compare workers-chat-demo vs e2core and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
workers-chat-demo e2core
6 9
800 718
2.8% 0.1%
4.2 6.6
about 2 months ago 8 months ago
JavaScript Go
BSD 3-clause "New" or "Revised" License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

workers-chat-demo

Posts with mentions or reviews of workers-chat-demo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-02.
  • asyncio + multiprocessing. Issues with pickling complex python objects.
    2 projects | /r/learnpython | 2 Sep 2022
    This idea was also sparked from cloudflares chat room example using something on their platform the call durable objects. But instead of offloading each chat room to a durable object I wanted to try to offload it to a process.
  • When Serverless really shines (and when to avoid it)
    1 project | /r/programming | 2 Jun 2022
    If you want to see a code example of a stateful serverless worker, this durable object chat demo is kinda neat: https://github.com/cloudflare/workers-chat-demo
  • Ask HN: What's a global, low throughput, low latency message bus
    1 project | news.ycombinator.com | 24 Apr 2022
    If you wanted something where you could get pretty far without spending any money, Cloudflare Workers + Durable Objects would be an interesting path. You would have to implement some of the functionality yourself, but there are some examples.

    Like this example chat app: https://github.com/cloudflare/workers-chat-demo/blob/master/... It supports private chat rooms, which is somewhat analogous to a pub sub topic.

  • OAuth with Cloudflare Workers on a Statically Generated Site
    7 projects | news.ycombinator.com | 15 Nov 2021
  • Cloudflare’s Pace of Innovation
    2 projects | news.ycombinator.com | 21 Oct 2021
    Durable Objects[0] let you store data on the edge and provide a lot more than a key/value store. This is a primitive you could build arbitrary databases on top of.

    The edge chat demo[1] is a working, scalable real-time chat service hosted entirely on the edge using Workers + Durable Objects, even featuring per-user cross-room rate limiting. As written, it can support millions of chat rooms and users, and it's about 500 lines of code.[2]

    The benefit here is that it's much easier to build scalable distributed systems on Workers and Durable Objects than on other platforms. The fact that they run on the edge as close to end users as possible is just a bonus.

    [0] https://blog.cloudflare.com/introducing-workers-durable-obje...

    [1] https://edge-chat-demo.cloudflareworkers.com/

    [2] https://github.com/cloudflare/workers-chat-demo/blob/master/...

    (Disclosure: I'm the tech lead for Cloudflare Workers.)

  • DoS Attacks against my Online Game
    3 projects | news.ycombinator.com | 27 Sep 2021
    Have you looked into using a serverless pub/sub model, like Cloudflare's Workers KV? The example they give is a simple IRC-like distributed chatroom (https://github.com/cloudflare/workers-chat-demo), but theoretically it may work for games too.

    Player state can be stored in a decentralized key-value store that Cloudflare manages. They absorb all the DDoS and handle replication between edge nodes. You don't see any of that. https://www.cloudflare.com/products/workers-kv/

    Or maybe it was their Durable Objects product... I forget how that's different from Workers KV: https://developers.cloudflare.com/workers/learning/using-dur...

    Then each game client uses a worker to access that KV, and Cloudflare will route that worker to its nearest edge node and retrieve the state from there (which was previously replicated a moment ago, internal to Cloudflare's infrastructure).

    https://workers.cloudflare.com/

    I don't know if this would result in acceptable latency, but it could help with DDOS at least.

e2core

Posts with mentions or reviews of e2core. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-15.
  • Are V8 isolates the future of computing?
    12 projects | news.ycombinator.com | 15 Jun 2022
    > If one writes Go or Rust, there are much better ways to run them than targeting WASM

    wasm has its place, especially for contained workloads that can be wrapped in its strict capability boundaries (think, file-encoding jobs that shouldn't access anything else but said files: https://news.ycombinator.com/item?id=29112713).

    > Containers are still the defacto standard.

    wasmedge [0], atmo [1], krustlet [2], blueboat [3] and numerous other projects are turning up the heat [4]!

    [0] https://github.com/WasmEdge/WasmEdge

    [1] https://github.com/suborbital/atmo

    [2] https://github.com/krustlet/krustlet

    [3] https://github.com/losfair/blueboat

    [4] https://news.ycombinator.com/item?id=30155295

  • OAuth with Cloudflare Workers on a Statically Generated Site
    7 projects | news.ycombinator.com | 15 Nov 2021
  • Show HN: Sat, the tiny WebAssembly compute module
    3 projects | news.ycombinator.com | 7 Oct 2021
    One of the first things we've used it for internally is to run one-off isolated tests on WebAssembly modules instead of feeding them through a production Atmo[0] instance. It basically serves as a dumb pipe for feeding data in and out of a Wasm module.

    0: https://github.com/suborbital/atmo

  • Atmo: Serverless WebAssembly
    1 project | /r/serverless | 3 Feb 2021
  • WebAssembly Landscape 2020
    1 project | /r/WebAssembly | 2 Feb 2021
    Excited to see Atmo on there 🙂 https://github.com/suborbital/atmo
  • Choosing building blocks to move faster
    4 projects | dev.to | 1 Feb 2021
    My open source focus for this year is building Atmo, and there is one aspect of the process that I would like to highlight. Since early 2020 I knew roughly what I wanted to build. The specifics of that thing changed over time, but the core idea of a server-side WebAssembly platform was consistent all throughout the year. I didn't write a single line of code for Atmo until late October, even though that was what I wanted to build the entire time. I want to talk about why.
  • Building for a future based on WebAssembly
    2 projects | dev.to | 21 Jan 2021
    I am also open to any and all contributions from the community. I am more than happy to meet with anyone interested in working alongside me to build these capabilities so that I can help get you started developing Atmo, Vektor, Grav, Hive, and Subo. Developers with no experience working with WebAssembly, distributed systems, web services, or Go are encouraged to join and I will do whatever I can to help you learn what's needed to contribute. Open Source is not just about developing in the open, it's also about helping others learn.
  • Meshing a modern monolith
    2 projects | dev.to | 14 Dec 2020
    With SUFA systems, multiple ASGs are created, each designated as a capability group. Each capability group is given access to the resources required for the associated function namespace to operate (such as the datastore or secrets), and can then scale independently of one another. Since the application's functions are decoupled entirely from one another, it's possible for some functions to run on the host that receives the request, and functions from particular namespaces to be meshed into other capability groups. A SUFA framework such as Atmo is responsible for handling the meshed communication, completely absorbing the complexity.
  • Building a better monolith
    1 project | dev.to | 7 Dec 2020
    The SUFA pattern was designed in concert with Atmo, which is an all-in-one framework upon which SUFA systems can be built. Atmo uses a file known as a 'Directive' to describe all aspects of your application, including how to chain functions to handle requests. You can write your functions using several languages to be run atop Atmo, as it is built to use WebAssembly modules as the unit of compute. Atmo will automatically scale out to handle your application load, and includes all sorts of tooling and built-in best practices to ensure you're getting the best performance and security without needing to write a single line of boilerplate ever again.

What are some alternatives?

When comparing workers-chat-demo and e2core you can also consider the following projects:

miniflare - 🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.

quilkin - Quilkin is a non-transparent UDP proxy specifically designed for use with large scale multiplayer dedicated game server deployments, to ensure security, access control, telemetry data, metrics and more.

wasm-micro-runtime - WebAssembly Micro Runtime (WAMR)

krustlet - Kubernetes Rust Kubelet

Sprocket

grav - Embedded decentralized message bus

wrangler-legacy - 🤠 Home to Wrangler v1 (deprecated)

sat - Tiny & fast WebAssembly edge compute server

awesome-paas - A curated list of PaaS, developer platforms, Self hosted PaaS, Cloud IDEs and ADNs.

workers-sdk - ⛅️ Home to Wrangler, the CLI for Cloudflare Workers®