- 关于个人信息的问题
- 关于申请公司和职位的问题
- 关于离职动机的问题
- 关于工作经历的问题
- 过去工作中最大的成就是什么/最大挑战是什么,你如何克服的
- 谈谈你过去的工作经验中,最令你挫折的事情?
- Would you briefly describe your company to me ?
- Would you describe your typical working day ?
- Describe the employee you most enjoy working with ?
- What is an ideal boss like ?
- 评价你自己在上一份工作中的表现 ?
- 介绍你的研发团队情况
- What were the best aspects of your last job ? 对于目前仍在职的工作,你最喜欢与不喜欢的地方有哪些?
- What were the worst aspects of yout last job ? 对于目前仍在职的工作,你最喜欢与不喜欢的地方有哪些?
- How did you react to disagreements between you and your boss ? (与老板意见不一致,你怎么办)
- 如果你的意见和开发/产品等同事产生分歧怎么办?
- 你遇到了傻X领导怎么办?/ 你遇到不好的领导怎么办?
- 你遇到了傻X同事怎么办?/ 同事不配合你的工作怎么办?
- What pressures did you have in your last job and how did you manage them ?
- 你怎么看待加班
- 你对跳槽的看法
- 平时怎么和同事沟通交流的/你是如何和同事相处的
- 如何处理同事对你的批评
- 你和别人发生过争执吗,你怎么解决的
- 关于自我评价的问题
- 关于职业目标的问题
- 请提问
- 其他乱七八糟的问题
- 参考资料
RabbitMQ学习记录
https://cloud.tencent.com/developer/article/2113802
什么是消息队列
消息队列是在消息传输过程中保存消息的容器。 通常有生产者和消费者两个角色:
- 生产者只负责发送数据到消息队列,谁消费他不管
- 消费者只负责从消息队列中取数据处理,谁发送数据他不管
常见消息队列中间件
- Kafka 高吞吐量实时日志采集
- RabbitMQ Erlang语言, 灵活性和易用性,中小规模应用
- RocketMQ 阿里出品, Java开发, 国内市场有很高知名度和应用案例
为什么使用消息队列
RabbitMQ入门
前言
1. Hello RabbitMQ
使用Python pika客户端, 写一个简单的生产者和消费者
1 | Producer ------> Queue -----> Consumer |
编写Producer(send.py)
先连接Broker, 建立connection和channel
1 | import pika |
接着声明一个队列; 在RabbitMQ中,消息不是直接发送到队列,而是先发送到交换机(exchange), 由交换机发送到队列。
1 | channel.queue_declare(queue='hello') |
使用basic_publish发送消息。 这里使用默认交换机(‘’), routing_key参数指定为队列名称
1 | channel.basic_publish(exchange='', routing_key='hello', body='Hello World!') |
离谱! 货币基金集体涨停 | 一个五十块的羊毛
昨天(1月24号)下午,多个货币基金集体涨停。
2024年各类资产近十年收益率
同花顺做了一张2024年度资产收益图,大家可以看看
VA backend Design
Overview
1 | frontend -------> backend ---------> MQ -----------> VA(On-premise) |
Design
Auto-upgrade
dispatchAutoUpgradeInOneHourForAll
- find all running appliances, group by customer_id
- check if appliance need upgrade
- check schedule update time is within next 1 hour.
- check target version valid (expectedStatus = RUNNING and status is not RUNNING)
- don’t upgrade rollback appliances.
- don’t upgrade all appliances at the same time. upgrade half appliances first.
- trigger appliance upgrade
- get firmware download link
- update db, add dbentry for IotTask, update appliance status(upgrading, upgradetaskId: taskId)
- publish iot Task
- receive response from Appliance
- write task to db