Giter Site home page Giter Site logo

hasura / 3factor Goto Github PK

View Code? Open in Web Editor NEW
179.0 38.0 17.0 208 KB

3factor app is an architecture pattern for modern fullstack apps. 3factor apps are fast to build and are highly scalable.

Home Page: https://3factor.app/

Ruby 0.41% HTML 35.63% SCSS 63.96%
3factor realtime-graphql async-serverless architecture-pattern event-handlers

3factor's People

Contributors

coco98 avatar frontsideair avatar rhymes avatar rodolfosilva avatar shahidhk avatar tirumaraiselvan avatar wawhal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

3factor's Issues

how to handle errors

The backend may be down. Although 3factor ensures that we receive a success when it comes back up but what about the duration till the backend is down?

network error

Error!: Error: Network error: Failed to fetch

trying to run your demo app but it's failing

image

GraphQL Subscriptions in "serverless"

The documentation notes many times that this is a server-less architecture, but I'm having trouble understanding how you would achieve this without a running graphql server to handle the publisher-subscriber websocket notifications.

It also mentions numerous times that the microservices write to the state, and that the graphql API subscribe to the state changes, but this does not really fit into the graphql pub sub format either.

From all documents I've seen, the subscription logic, and subscription events are handled inside the graphql mutation functions:

Mutation: {
   addEvent() {
      do crud on db
      send websocket notification to subscribers with crud data
   }
}

The diagrams seem to point that graphql is somehow listening on the database for changes which is not the case.

Can you clarify how a graphql subscribes to state changes without actually adding the pub sub logic in the graphql layer?

Canonical 3F app

Hey there, interesting ideas. They seem well-aligned with the current zeitgeist in various fronts (backend, devops, frontend).

However these ideas are presented without context/references, specific technologies, and detailed-enough examples.

While there are obviously multiple ways of addressing those concerns, I would propose that you create a sample app that one can actually deploy and evaluate. One could review personally that the claims about reliability, latency, etc have an actual basis.

Hope it doesn't sound too fanciful!

Victor

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.