|
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 and how we use Serverless Cold Start to be 2x faster. addition to changing the protocol we also made a number of changes that affected performance. With the new 1000x1000 based wire protocol becoming the default protocol we took the opportunity to clean up the dependencies. This includes cutting the dependencies in half and removing previous similar protocol implementations. This reduces the execution time and amount of memory used by the client. We also optimized the internal structure of the query engine. Specifically the part responsible for converting and establishing a database connection when the query engine starts. Additionally we now defer generating strings for many type names in query mode which improves memory usage and significantly improves runtime performance. Additionally connection establishment and schema conversion now occur in parallel rather than sequentially as before.
The chart after enabling the preview feature before we made these three changes is shown below. After making these three changes, response time was reduced by two-thirds. The request now lea photo editing servies ves a very small footprint. To zoom in and compare how these changes impact the first chart shows the impact of the wired protocol based on the before the impact of the wired protocol based on the following chart shows the performance after we optimized the internals and reduced the runtime size to a smaller runtime and optimizations Inside Impact Try it out and share your feedback. We encourage you to upgrade to and look forward to hearing your feedback. This is a major version increment that brings some breaking changes. We expect that only a small number of users will be affected by these changes. But before upgrading we recommend that you review our upgrade guide to understand the impact on your application. If you encounter any errors please submit an issue or vote.

On the corresponding issue if it already exists. We are committed to improving overall performance and will continue to deliver improvements that address performance-related issues. Be sure to follow us on so you don’t miss any updates Announcement Release Prism Don’t miss the next article Subscribe to the Newsletter Client Extension Now in Production Jarrell Jon Harrell Jon Harrell With Version Release Client Extension Now Generally available, this new feature allows users to extend and customize the client to suit their individual use cases. Customize the client to fit the needs of your codebase We've released the client extension as a preview feature. Today we are excited to announce the general availability of the client extension. The extension has proven to be very useful and powerful during the preview period and even powers.
|
|