Giter Site home page Giter Site logo

introduction-to-adrs's Introduction

⏳Year Progress (64.21 %)
███████████████████▁▁▁▁▁▁▁▁▁▁▁
Updated: Fri, 23 Aug 2024 00:10:24 GMT

introduction-to-adrs's People

Watchers

 avatar  avatar

introduction-to-adrs's Issues

Blockchainification of poketransfers

Title Blockchainification of poketransfers

Date: 2022-11-07, Author: Mathias Wanzenberg, Patrick Langer

Status

  • - Proposed
  • - Accepted
  • - Rejected
  • - Deprecated
  • - Superseded

Context

Funktionalität des Spiels muss Kundenwünschen angepasst werden, daher soll der Transfer von Pokémon unter Spielern nachvollzogen werden können.

Considered Options

  • Blockchain
  • NoSql-Datenbank
  • bestehende Datenbank erweitern

Decision

Wir führen zusätzlich zum vorhandenen System eine Blockchain ein, um Transaktionen von Pokémon zwischen Spielen festzuhalten.

Consequences

  • Bestehende Funktionen müssen nicht verändert werden.

  • Zum normalen Abspeichern der Transaktion, muss der Transfer in der Blockchain festgehalten werden.

  • Konsistenz der Daten zwischen Blockchain und bestehender Datenbanklösung.

  • API muss erweitert werden, um Funktionalität anzubieten.

Setup new Requestresponse and structure

Send whole Pokemoninfos to user

Date: 2022-11-07, Author: Sebastian G.

Status

  • - Proposed
  • - Accepted
  • - Rejected
  • - Deprecated
  • - Superseded

Context

We need more informations about a pokemon in one request to minimize the traffic in our system. In the old system we get requests for every statfamily of a pokemon and have to list the available stats in a seperate request, e.g. attack stats, defense stats, special attacks etc...
Now we have more bandwith and want to minimize the requests to our system.

Decision

We decided to send the whole entry and stats we got from one pokemon. For this Decision we changed the API version to v2, so the old api still exists and is downward compatible.

Consequences

As a result for this decision we have to operate two systems simultanious. this means in the beginning of the api v2 we have a bit more work to do, but after the roll-out the the time to maintain is nearly the same.
After the time of 6 month we have to cut off the old system and force the users to use the new system.
When the cut off of V1 is done we have reduced our traffic by more than 60%.
The risk we have after this decision is, users dont want to use our api anymore. This risk is moderate, because we are the biggest system in this market and have the best datasets of pokemon.

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.