|
| 1 | +--- |
| 2 | +title: "Experience of LFX Mentorship - Kmesh Tcp Long Connection Metrics" |
| 3 | +summary: "Selected as a mentee at Kmesh for LFX 2025, worked on metrics collection for persistent connections." |
| 4 | +authors: |
| 5 | + - yp969803 |
| 6 | +tags: [LFX-2025] |
| 7 | +date: 2025-05-28T11:11:23+00:00 |
| 8 | +last_update: |
| 9 | + date: 2025-05-28T11:11:23+00:00 |
| 10 | +sidebar_label : "LFX-2025 Tcp Long Connection Metrics" |
| 11 | +--- |
| 12 | + |
| 13 | +## Introduction |
| 14 | + |
| 15 | +Hello readers, I am Yash, a final Year student from India. I love building cool stuffs and solving real world problems. I’ve been working in the cloud-native space for the past three years, exploring technologies like Kubernetes, Cilium, Istio, and more. |
| 16 | + |
| 17 | +I successfully completed my mentorship with Kmesh during the LFX 2025 Term-1 program, which was an enriching and invaluable experience. Over the past three months, I gained significant knowledge and hands-on experience while contributing to the project. In this blog, I’ve documented my mentorship journey and the work I accomplished as a mentee. |
| 18 | + |
| 19 | +## LFX Mentorship Program – Overview |
| 20 | + |
| 21 | +The LFX Mentorship Program, run by the Linux Foundation, is designed to help students and early-career professionals gain hands-on experience in open source development by working on real-world projects under the guidance of experienced mentors |
| 22 | + |
| 23 | +Participants contribute to high-impact projects hosted by foundations like CNCF, LF AI, LF Edge, and more. The program typically runs in 3 terms throughout the year, each lasting about three months. |
| 24 | + |
| 25 | +[More-info](https://mentorship.lfx.linuxfoundation.org/#projects_all) |
| 26 | + |
| 27 | +## My Acceptance |
| 28 | + |
| 29 | +I am a regular opensource contributor and loves contributing to opensource. My interests heavily aligned with clound-native technologies. I was familiar with popular mentorship programs like LFX and GSoC, which are designed to help students get started in the open source world. |
| 30 | +Based on my work the Kmesh community also promoted for the member of Kmesh |
| 31 | +I had made up my mind to apply for LFX 2025 Term-1 and began exploring projects in early February. The projects under CNCF for LFX are listed in the [cncf/mentoring](https://github.com/cncf/mentoring) GitHub repository. I came across the [Kmesh](https://github.com/kmesh-net/kmesh) project, a newly added CNCF sandbox project participating in LFX for the first time. |
| 32 | +I found the Kmesh project particularly exciting because of the problem it addresses—providing a sidecarless service mesh data plane. This approach can greatly benefit the community by improving performance and reducing overhead. |
| 33 | + |
| 34 | +Kmesh came up with 4 projects in term-1, i selected [long-connection-metrics](https://github.com/kmesh-net/kmesh/issues/1211) projects as it allows me to works with eBPF a already have a prior experience on working with eBPF. |
| 35 | + |
| 36 | +I began exploring the Kmesh project by reading the documentation and contributing to Good First Issues. As I became more involved, the mentors started to take notice. I also submitted a [proposal](https://github.com/kmesh-net/kmesh/blob/main/docs/proposal/tcp_long_connection_metrics.md) for the long connection metrics project. |
| 37 | + |
| 38 | +In late February, I received an email from LFX notifying me of my selection. |
| 39 | + |
| 40 | + |
| 41 | +## Project Workthrough |
| 42 | + |
| 43 | +The `tcp long connection metrics` project aims to implement access logs and metrics for TCP long connections, developing a continuous monitoring and reporting mechanisms that captures detailed, real-time data throughout the lifetime of long-lived TCP connections. |
| 44 | + |
| 45 | +Ebpf hooks are used to collect connection stats such as send/received bytes, packets losts, retransmissions etc. |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +[More-information](https://kmesh.net/docs/transpot-layer/l4-metrics) |
| 50 | + |
| 51 | +## Mentorship Experience |
| 52 | + |
| 53 | +The Kmesh maintainers were always available to help me with any doubts, whether on Slack or GitHub. Additionally, there is a community meeting held regularly every Thursday, where I could ask questions and discuss various topics. I’ve learned a lot from them, including how to approach problems effectively and consider edge cases during development in these three months. |
| 54 | + |
| 55 | +Based on my contributions and active involvement, the Kmesh community recognized my efforts and promoted me to a member of the organization. This acknowledgment was truly encouraging and motivated me to continue contributing to Kmesh and help the project grow. |
0 commit comments