我们的模型忽视了这一开销,因为,对于较短的servlet响应来说,应用服务器可以在内存中缓冲该响应,然后再使用NIO将它发送给客户机。
Our model ignores this cost because for short servlet responses, an application server can buffer the response in the memory and send it later to the client using NIO.
然后,可以使用cache - id从高速缓冲存储器中检索服务响应信息来使性能最优化。
The cache-id can then be used to retrieve service response information from the cache to optimize performance.
在这种情况下,缓冲服务响应并在服务再次收到同样的请求时重新使用缓冲的响应是一种提高SOA服务性能的合理而适当的方法。
In this case, caching a service response and replaying the cached response the next time the service receives the same request is a valid and appropriate way to accelerate SOA service performance.
如果响应码是200,就缓冲HTTP响应中的内容并使用它作为方法的返回值。
If the response code is 200, it will buffer the content from the HTTP response and use it as a return value for the method.
您可以使用缓冲器来减弱尖峰,但是这也仅仅是一个折中方案,因为这会降低传感器的响应速度。
You can use the buffer to weaken the peak, but this is only a compromise, because it can reduce the response speed of the sensor.
您可以使用缓冲器来减弱尖峰,但是这也仅仅是一个折中方案,因为这会降低传感器的响应速度。
You can use the buffer to weaken the peak, but this is only a compromise, because it can reduce the response speed of the sensor.
应用推荐