# Scaling to the Cloud for Hassle-Free Usage with Continued Optimization of Remote WAL and Object Storage Performance | Greptime Biweekly Report

Source: https://greptime.com/blogs/2024-08-14-biweekly

## Summary

Together with our global community of contributors, GreptimeDB continues to evolve and flourish as a growing open-source project. We are grateful to each and every one of you.

Below are the highlights among recent commits:

- **Improve Remote WAL performance by introducing new Kafka Topic Consumer**

- **Improve fetching performance on object storage**

- **Add file number limits to TWCS compaction**

- **Support Kafka SASL and TLS config for RemoteWAL**

## Contributors

For the past two weeks, our community has been super active with a total of 82 PRs merged. Of these, 5 PRs were contributed by 3 individual contributors, with many more pending to be merged.

- @[J0HN50N133](https://github.com/J0HN50N133) ([db#4541](https://github.com/GreptimeTeam/greptimedb/pull/4541))

- @[leaf-potato](https://github.com/leaf-potato) ([db#4468](https://github.com/GreptimeTeam/greptimedb/pull/4468) [db#4463](https://github.com/GreptimeTeam/greptimedb/pull/4463) [docs#1118](https://github.com/GreptimeTeam/docs/pull/1118))

- @[Stephan3555](https://github.com/Stephan3555) ([helm-charts#150](https://github.com/GreptimeTeam/helm-charts/pull/150))

Congrats on becoming our most active contributors in the past 2 weeks!

👏  Welcome contributor @[Stephan3555](https://github.com/Stephan3555) join to the community as the new individual contributor, and congratulations on successfully merging their first PR, more PRs are waiting to be merged.

<figure>
<img src="/blogs/2024-08-14-biweekly/contributorpost.png" alt="New Contributors of GreptimeDB" style="width: 70%; margin: 0 auto">
<figcaption>New Contributors of GreptimeDB</figcaption>
</figure>

A big THANK YOU to all our members and contributors! It is people like you who are making GreptimeDB a great product. Let's build an even greater community together.

## Highlights of Recent PRs

### [db#4424](https://github.com/GreptimeTeam/greptimedb/pull/4424) Improve RemoteWAL performance by introducing new Kafka Topic Consumer

Implement a Kafka consumer that respects the WAL index info, aims to reduce the read amplification during replaying a single region.

### [db#4520](https://github.com/GreptimeTeam/greptimedb/pull/4520/) Improve fetching performance on object storage

Merge small byte ranges for optimized fetching. Here again, thanks to the exquisite design of the @OpenDAL community!

### [db#4453](https://github.com/GreptimeTeam/greptimedb/pull/4453) Reduce lock scope and improve log

This PR reduces the scope of certain locks, preventing different streams from blocking each other for extended periods. In append mode, this lock would prevent parallel reads between parts.

### [db#4536](https://github.com/GreptimeTeam/greptimedb/pull/4536) Support Kafka SASL and TLS config for RemoteWAL

Allow users to configure the SASL/PLAIN, SASL/SCRAM-SHA-256, SASL/SCRAM-SHA-512 and TLS for the Kafka client.

### [db#4481](https://github.com/GreptimeTeam/greptimedb/pull/4481) Add file number limits to TWCS compaction

Introduce `max_active_window_files` and `max_inactive_window_files` in `TwcsOptions` to limit SST file numbers in both active and inactive windows.

## Good First Issue

### [db#4480](https://github.com/GreptimeTeam/greptimedb/issues/4480) Add debug level traces in Mito Engine

The current Trace is not suitable for user performance debugging. More detailed Spans could be added in the Mito Engine, such as the time taken to read data from S3, etc.

- Keywords: Mito Engine, Trace

- Difficulty: Medium

### [db#4453](https://github.com/GreptimeTeam/greptimedb/issues/4533) Fix incorrect `version` label in `greptime_app_version` metric

The version in the `greptime_app_version` metric within `/metrics` always includes a leading `-`. This is likely caused by the loss of the Branch value in the statistics.

- Keywords: Metrics

- Difficulty: Simple

------
#### About Greptime

Greptime offers industry-leading time series database products and solutions to empower IoT and Observability scenarios, enabling enterprises to uncover valuable insights from their data with less time, complexity, and cost.

[GreptimeDB](https://github.com/GreptimeTeam/greptimedb) is an open-source, high-performance time-series database offering unified storage and analysis for metrics, logs, and events. Try it out instantly with [GreptimeCloud](https://www.greptime.com/product/cloud), a fully-managed DBaaS solution—no deployment needed!

The [Edge-Cloud Integrated Solution](https://greptime.com/product/carcloud) combines multimodal edge databases with cloud-based GreptimeDB to optimize IoT edge scenarios, cutting costs while boosting data performance.

Star us on [GitHub](https://github.com/GreptimeTeam/greptimedb) or join GreptimeDB Community on [Slack](https://www.greptime.com/slack) to get connected.
