Code Monkey home page Code Monkey logo

cos301_dnd_backend's People

Contributors

quantum-sicarius avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cos301_dnd_backend's Issues

Ready up logic incorrect.

The check if everyone is ready appears to use the count rather than the absolute value. If a player readies up multiple times the server decides that it is ready to start.

Experiment/Switch to PyPy

PyPy is a JIT runtime for python programs should in theory help performance as this is a long running app which JIT works best for.

With this some proper profiling should be done to see if any benefits are experienced.

grpcio is not officially supported by PyPy however my tests are so far passing.

Move to SQLAlchemy

Firebase will only be used for authentication.

  • migrate existing sessions
  • complete all session functionality

Add a configuration file.

In production I keep editing the code to use the login details of the production database. This should be set in a configuration file.

Add rpc calls to get ranges of sessions or characters.

For the lists in the client app we can not request all sessions or all characters as it will overload the device and the server. Currently there is support to limit the amount that gets sent however I should add ability to get the range. The client should then request a further range as it scrolls.

Optimize for presentiations.

Currently I think there are places where I can improve my database query's. There are also places where I terminate a database connection which should probably be pooled and reuse as connections are usually expensive.

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.