我正在寻找在Ubuntu上运行的基于Web的系统的消息/队列解决方案.

该系统基于以下技术构建:

Javascript (Extjs framework) – Frontend

PHP

Python (Daemon service which interacts with the encryption device)

Python pyserial – (Serial port interactions)

MySQL

Linux – Ccustom bash scripts(to update DB/mail reports)

该系统具有以下目的:

Capture client information on a distributed platform

Encrypt/decrypt sensitive transactions using a Hardware device

系统故障:

The user gains access to the system using a web browser

The user captures client information and on pressing “submit” button

The data is sent to the encryption device and the system enters a wait state

The data is then encrypted on the device and sent back to the browser

The encrypted data is saved to the DB

System exits wait state and displays DONE message

请注意:我已经处理了等待/处理中的消息,所以忽略它.

到目前为止,我所做的是:

I created a python daemon which monitors a DB view for any new requests

The daemon service executes new requests on the device using pyserial and updates

the requests table with a “response” ie. the encrypted content

I created a polling service in PHP which frequently checks if there is a “response” in >the requests table for the specific request

Created the Extjs frontend with appropriate wait/done status messages

当前设置的问题:

Concurreny – We expect > 20 users at any time submitting encryption/decryption requests

using a database as a message/queuing solution is not scalable due to table locking and only 1 listening process which monitors for requests

Daemon service – Relying on a daemon service is a bit risky and the DB overhead seems a bit high polling the view for new requests every second

Development – It would simplify my development tasks by just sending requests to a encrypt/decrypt service instead of doing this whole process of inserting a request in the db,polling for the response and processing the request in the daemon service.

我的问题:

What would be the ideal message/queening solution in this situation? Please take into >account my system exclusively runs on a Ubuntu O/S.

我已经做了一些Google服务,遇到了一个名为“ Stomp”的服务器,但是事实证明它安装起来有些困难,并且缺少一些文档.我也更喜欢那些在设置类似内容方面有经验的个人的建议,而不是一些“如何”指导的建议:)

感谢您的时间

python银行排队系统_python-我需要基于Web的系统的消息/排队解决...相关推荐

  1. 基于Web的系统测试方法 by张友生(来自中国系统分析员)

    基于Web的系统测试方法 张友生(来自中国系统分析员) 2003年04月21日 摘要 基于Web的系统测试与传统的软件测试既有相同之处,也有不同的地方,对软件测试提出了新的挑战.基于Web的系统测试不 ...

  2. 基于Web的系统测试方法(张友生(来自中国系统分析师/中国系统分析员))

    摘要 基于Web的系统测试与传统的软件测试既有相同之处,也有不同的地方,对软件测试提出了新的挑战.基于Web的系统测试不但需要检查和验证是否按照设计的要求运行,而且还要评价系统在不同用户的浏览器端的显 ...

  3. 基于51单片机太阳能光伏充电宝系统 +防过充 基于单片机太阳能充电系统

    基于51单片机太阳能光伏充电宝系统 +防过充 基于单片机太阳能充电系统:由单片机最小系统+太阳能板+ADC0832转换模块+太阳能充电电池+升压模块+充电模块+继电器模块+液晶显示模块+USB供电组成 ...

  4. python基础课程设计项目_Python+MySQL开发医院网上预约系统(课程设计)一

    一:开发环境的配置 1:桌面环境为cnetos+python2.7 2:MySQL的安装与配置 1)MySQL的安装 wget http://repo.mysql.com/mysql57-commun ...

  5. 基于python网上订餐系统哪家好_基于web的网上订餐系统的设计与实现-毕业论文...

    基于 web 的网上订餐系统的设计与实现 摘要 : 由于因特网技术的高速发展, 人们生活与网络的脚步也随之越来越紧密. 同时也随着市场化和经济全球化越来越多的普及, 众多国内外企业都深刻地认识 到想要 ...

  6. python医院管理系统代码_Python+MySQL开发医院网上预约系统(课程设计)一

    一:开发环境的配置 1:桌面环境为cnetos7+python2.7 2:mysql的安装与配置 1)mysql的安装 mysql官方文档: mysql yum 下载:或者直接用weget下载: wg ...

  7. python银行取钱_python模拟银行自助取款

    # 卡号 card1="1001" pwd1="123456" ban1=10000 card2="1002" pwd2="123 ...

  8. python做大型网站_Python中的大型Web应用:一个好的架构

    如果你着手使用关系型数据库在Python中编写大型应用程序,这篇长文正好满足你的需求.这里我分享下在一个大型团队中使用SQLAlchemy(Python语言中提供最先进ORM工具的软件)编写超过6个月 ...

  9. 毕业设计论文选题系统系统用例图_基于Web的毕业论文管理系统的设计与实现

    摘要: 毕业论文是即将步入社会的大学毕业生对自己在校期间所学专业知识的归纳和总结.随着网络的迅猛发展和高校的扩招,高校的管理方法和教学模式均发生了很大的变化.信息技术的飞速发展,为人类的发展提供了快速 ...

最新文章

  1. [转载]C# ListT的并集、交集、差集
  2. angular 如何在index html 页面包含子页面_Webpack4.0各个击破(1)html篇
  3. SAP NetWeaver 业务运作面向服务平台 介绍
  4. Linux内核之内核同步(一)——内核同步基础
  5. 《人人都是产品经理》阅读笔记一
  6. Spring - Java/J2EE Application Framework 应用框架 第 16 章 通过Spring使用远程访问和web服务
  7. Eclipse之如何快速查看抽象函数实现
  8. react-redux模型图
  9. CUDA11.1安装教程(python3.8)
  10. 【洛谷P3410】拍照题解(最大权闭合子图总结)
  11. WebSphere的管理员界面
  12. 隐马尔可夫模型HMM与维特比Veterbi算法(一)
  13. 离散数学 之 命题公式的主析取合取范式(java实现)
  14. 115道Java面试题
  15. js实现页面指定区域局部刷新
  16. 用java实现输入一行字符,分别统计出其中中文汉字、英文字母、空格、数字和其它字符的个数
  17. $.ajax() 参数详解
  18. 酷视网页视频VR播放器SDK(旗舰版)使用说明书
  19. 修改惠普(HP)LaserJet 1020打印机驱动增加打印长度
  20. 【无限互联】学员作品:懒人听书

热门文章

  1. 圣诞节海报设计需要的手写字体素材
  2. UI素材模板|新拟态新趋势图标ICON
  3. 有效提高作品率的UI设计技巧,你知道多少?
  4. python2创建3个线程_用python创建一个线程需要多长时间
  5. 支架预压弹性变形值计算_现浇连续梁桥支架搭设及预压施工技术控制
  6. 华为云NP考试题库_阿里云ACP大数据及云计算经验感悟
  7. insert into 时间_值得花点时间背记的out of有关短语
  8. 调用门、堆栈切换与调用过程返回
  9. C++学习:第一章 开始
  10. Matlab画箭头arrow.m