Code Monkey home page Code Monkey logo

Comments (9)

mattkrick avatar mattkrick commented on September 27, 2024

Thanks for this, client-side caching/realtime data fetching is probably the fastest moving area of the JS ecosystem, and where the JS community has chosen some clear winners in other areas (react for frontend, webpack for building, etc.) The data/transport layer is still the wild west & I'd love a list of things like deepstream to compare and see if there's a clear winner. If you know of any other services like this one send em my way so we can compare & pick the best.

My ideal solution would:

  • allow for offline-first (via serviceWorkers)
  • use websockets that scale vertically (and horizontally with a MQ like redis or rabbitmq)
  • plug into a redux store (no one does this yet)
  • use webWorkers to keep the UI snappy
  • use graphQL (facebook uses event-driven subscriptions instead of websockets, so this is gonna have to come from the community)

RethinkDB is coming out with something on the client, which I'm really excited about, although that would kill the whole "client is database agnostic" approach that I've got going on right now.

from meatier.

abastardi avatar abastardi commented on September 27, 2024

Thanks for the reply. Sounds like some great ideas.

I'll keep an eye out. So far, deepstream is the only thing I've seen that seems somewhat comparable to SocketCluster (the deepstream Github repo hasn't been too active recently, but they have announced that they're working on a hosted platform). Regarding RPC specifically, it appears avs-rpc supports SocketCluster.

RethinkDB is coming out with something on the client, which I'm really excited about, although that would kill the whole "client is database agnostic" approach that I've got going on right now.

Yes, I read about their plans -- interested to see what they come up with (according to their timeline, should be soon). It sounded like they eventually hope to support graphQL as well.

from meatier.

niallobrien avatar niallobrien commented on September 27, 2024

Anyone got any further info on what RethinkDB are coming out with exactly & when? Thanks.

from meatier.

mattkrick avatar mattkrick commented on September 27, 2024

From my understanding it's a package allowing you to write something like
r..insert directly from the client, and will later be pluggable into
graphql, but I'm not in the beta group so I don't know any details. I'm
slowly rewriting meatier using graphql and it's already pretty painless, so
I'm not sure what they're gonna improve unless they offer a really
intelligent client side cache

On Fri, Jan 15, 2016, 5:55 AM niallobrien [email protected] wrote:

Anyone got any further info on what RethinkDB are coming out with exactly
& when? Thanks.


Reply to this email directly or view it on GitHub
#40 (comment).

from meatier.

niallobrien avatar niallobrien commented on September 27, 2024

Thanks @mattkrick - I know they mentioned the fact that they weren't overly happy that the GraphQL spec wasn't fully where they'd like it to be.

from meatier.

abastardi avatar abastardi commented on September 27, 2024

Anyone got any further info on what RethinkDB are coming out with exactly & when? Thanks.

Regarding timing: rethinkdb/rethinkdb#3711 (comment)

from meatier.

mattkrick avatar mattkrick commented on September 27, 2024

Yeah, it's still a young spec and needs a little more work, especially on
error handling, but overall it's pretty great and a LOT simpler than
bloggers make it seem. Relay is the piece that needs the bulk of the change.

On Fri, Jan 15, 2016, 8:28 AM abastardi [email protected] wrote:

Anyone got any further info on what RethinkDB are coming out with exactly
& when? Thanks.

Regarding timing: rethinkdb/rethinkdb#3711 (comment)
rethinkdb/rethinkdb#3711 (comment)


Reply to this email directly or view it on GitHub
#40 (comment).

from meatier.

mattkrick avatar mattkrick commented on September 27, 2024

After reviewing deepstream it doesn't look flexible enough for what I want to do here. Deepstream is a really cool idea & I could see myself using it in another project, but the client cache & server are tightly coupled & non-extensible. I'm holding out for a solution that let's me use a redux store as a cache.

from meatier.

abastardi avatar abastardi commented on September 27, 2024

After reviewing deepstream it doesn't look flexible enough for what I want to do here. Deepstream is a really cool idea & I could see myself using it in another project, but the client cache & server are tightly coupled & non-extensible.

Got it. Have you considered adding SocketCluster compatible RPC functionality, such as avs-rpc?

from meatier.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.