Git Product home page Git Product logo

mcg's People

Contributors

chenyuanyuandeguiji avatar ericru avatar memetao avatar numbaa avatar

Watchers

 avatar  avatar

Forkers

404ntfind

mcg's Issues

选课业务逻辑整理成文档

在仓库的wiki页面整理出选课的业务逻辑,不必完全跟学校真实情况一样,但是开发过程必须按着这个逻辑,统一开发。

http请求参数

尽快和后端确定请求参数,如:
获取首页信息、提交选课结果等。

数据库分库

数据库有两个表:

  1. 学生课程表
  2. 课程剩余人数表
    (详细表结构字段见 database/v0.2.sql)

通过之前的测试我们发现,数据库的瓶颈在“更新”这两个表上,导致系统的选课性能卡在1000/S。现在希望通过“分库”的**将系统的选课性能提高到3000/S。具体操作为:

按照二级学院分库,比如信息、量新、人文等每一个学院一个数据库,每个数据库都拥有上述的两张表,保存着自己学院的学生课程信息、自己学院发布的选修课剩余信息。当有某个选课请求到达,比如A学生选择B学院发布的一门选修课C,涉及的主要操作是:

  1. 找到A学生的课程表所在的数据库,将C课程插入到A学生的课程表中。
  2. 找到C课程所在的数据库,将剩余人数--

这个任务要负责的内容是:散列sql请求到相应的数据库上。
要求完成时间:6.10前。

登录方案需要修改

现有的登录方案涉及到跨域问题,登录接口连同学校的认证服务,都需要改动

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.