Giter Site home page Giter Site logo

eventualconsistencydemo's Introduction

eventualconsistencydemo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eventualconsistencydemo's Issues

Load HTML view on order confirmation

When the response message returns and the SignalR message is formed, it's full of HTML. Instead, return an object and have some javascript (not inside Movie.cshtml as currently is) load an HTML view or something and display the confirmation using that.

Interesting is how the Game of Thrones reservation should be loaded without the code having too much knowledge about the fact it's a different type of reservation.

Introduce LiteDb as database

Introduce LiteDb as document database for the demo.

The criteria for a possible database were

  • Absolutely no installation of any kind.
  • Preferable a single database file
  • Location of the database under solution folder
  • Shareable across different processes
    • Web Application
    • Background processes like NServiceBus endpoints

Out of scope

  • Store reviews in the database that are also stored in local storage
    Don't want to complicate iterating over local storage by searching for reviews that were already added. Simply removing them using the Clear LocalStorage button is what we want to keep

Plan of Action

  • Introduce LiteDb into code using DI
  • Store movies in the database
  • Possibly store reviews from ReviewsContext in database and alternate between user profiles
    Might not be necessary, still possible to load those from simple collection
  • Store order in the database and make it retrievable

Lottery reservation waits for async messages to confirm reservation

Problem Description

Currently when registering for a lottery the system waits for the request/response messages to confirm the registration. Instead it should immediately return after sending the request and not wait for a confirmation response message.

Goals

  • Ability to turn off the NServiceBus endpoint and the reservation is still confirmed to end-user

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.