Giter Site home page Giter Site logo

adsd_lab2's Introduction

MicroService

小组成员

  • 黄元敏 21210240205
  • 翟登展 21212010051
  • 周振昊 21210240458
  • 杜东方 21212010012
  • 张 飞 21212010052

实现说明

数据分库

本次lab中我们共设计了四个服务,分别是user,employee,task和report,每个服务都拥有独立的数据库,分别是adsdLab-user,adsdLab-employee,adsdLab-task,adsdLab-report,但在部署时为了减轻服务器的压力,便将数据库部署到了一个服务里。

异步消息队列

在实现服务间的异步消息通信时,我们选用了rabbitMQ而没有使用kafka,因为我们组的同学对rabbitMQ比较熟悉,而且使用rabbitMQ也完全可以满足本次lab的需求。

场景3解释

对于场景3查询各部门任务报表的测试,我们组的实现是,report服务首先通过feign框架调用employee服务查询所有的员工机器所在部门,然后调用task服务查询每个员工的任务以及所完成的任务数量,并将其计入到所在的部门中,查询所有员工的任务便可得到所有部门的总任务数量与已完成任务数量。

adsd_lab2's People

Contributors

zhan-zhai avatar

Watchers

James Cloos avatar

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.