- 註冊時間
- 2023-12-26
- 最後登錄
- 2023-12-26
- 閱讀權限
- 10
- 積分
- 5
- 精華
- 0
- 帖子
- 1

|
Solution that allows you to easily cache database query results in a simple and predictable way. Follow us on or join us on and to learn more about the tools we're building. Subscribe to the newsletter Faster by default Alex Ruheni Alex Ruheni Alex Ruheni has introduced some changes to make it significantly faster. These changes especially improve the experience of using it in a serverless environment thanks to the new more efficient Wire-based protocol used under the hood. Improved client launch performance From the start we doubled down on our efforts to improve performance and developer experience. In particular we focus on improving startup performance in serverless environments. In our quest to improve performance we identified a number of inefficiencies and resolved them. To illustrate the difference since we began working on improving performance consider the chart below.
The first graph shows the startup performance of an application deployed to a model with a relatively large architecture before we started working on improvements. The ne photo editing servies xt graph shows the startup performance that we could see after we made performance improvements. The improvement. Now we will delve deeper and discuss the various changes that have brought us to such a state of great improvement. A similar protocol was previously used to communicate between the client and the query engine, based on the more efficient Wire protocol. This introduces some quirks that affect performance especially during cold starts in a serverless environment. During our performance exploration we noticed that the current implementation adds considerable memory overhead especially for larger patterns. One of our solutions to mitigate this problem is to completely redesign our wired protocol. Using it we can significantly improve.

The efficiency of communication between the client and the query engine. We released this feature in the build with the preview feature flag. Before we start any performance improvement work, the average cold start request is shown below. Before enabling the preview feature, the chart is shown below. After a lot of feedback from users and extensive testing, we are happy to announce that the protocol is now generally available and client-side. The default wire protocol that will be used behind the scenes. If you're interested in more details, we've written an extensive blog post that goes into depth about the changes we've made to improve client startup performance. How we use Serverless Cold Start to make serverless cold starts up to 2x faster. Smaller runtime and optimized internals In addition to changing the protocol we also made a number of changes that affected performance. With the new .
|
|