go reactor
-
go语言 http模型reactor示例详解
目录示例initListenerserveactivateEventLoopspolling前面说了go自带的原生netpoll模型,大致的流程就是每一个新的连接都会开启一个goroutine去处理,这样的处理的过程简单,高效,充分利用了go的底层的能力。但是这[详细]
2023-01-05 10:56 分类:开发 How to have condition in ActiveRecord update
I am trying to updatea record. Am using the following code. Proddiscount.update({:prodid => params开发者_运维知识库[:id]}, {:discount=>params[:discount]})[详细]
2022-12-20 00:18 分类:问答