Roy
Roy
1 docker run rabbitmq 2 rpc respond like this: ``` var bus = RabbitHutch.CreateBus("host=localhost"); bus.RespondAsync(req => { Console.WriteLine(req); return Task.FromResult(req); }, c=>c.WithQueueName("test")); ``` 3 rpc request like this: ``` var...
使用http prepare msg的时候,本来要传的是一组对象,但是因为request.payloads是[]string,所以得先一步序列化payload为字符串,再整个request序列化为json,中间出现了临时的string。当payload是大对象的情况下会产生中间的大字符串,压力GC。 而payload本身透传也不在乎类型,所以能否payload不要使用string,用object(interface{})?
Because we have property names like both "_id" "Id" in JsonSchema. When the CSharpGeneratorSettings.ClassStyle setting is Inpc, the field name generation logic causes the automatically generated field _id for the...