Code Monkey home page Code Monkey logo

questionnaire's Introduction

在线答题-问卷调查小系统

前段时间公司要开一个安全会议,要现场在线答题,网上的问卷调查网站很多,但涉及到公司内部信息,并且题型还需要自定义,所以打算自己做一个,要求就是直接输入姓名,手机号,公司就能进行答题,题目由题库中随机出10道有单选和多选,技术上比较好实现,有问题的可以看一下代码,而且我对输入的姓名,手机号都严格限制不能随便输入。答完题后会显示答对题数,并将所有题目正确和错误的答案显示出来。

之前觉得比较简单,用户状态直接开个session去存,懒得做请求转发,但后来系统冲进来几百人答题,搞的服务器有些崩,而且出现大量空数据,很多用户答题之后没有保留答题记录,之前小测的时候没有问题,人多出现未知bug,后来我马上使用请求转发,将获取的data转存出去,后来在没有出现问题,所以可以骄傲的说,这个小系统能承受几百用户的冲击。

GitHub地址:https://github.com/rainweb521/questionnaire

gitee地址:https://gitee.com/rainweb/questionnaire

questionnaire's People

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.