
Closed
Posted
Paid on delivery
I pull live messages (roughly 2 000 users, no media) from one of my own Telegram channels through the raw Telegram API in a Python script, yet every event reaches me several seconds late. That lag ruins the downstream logic I built, so I need another pair of eyes to pinpoint the bottleneck and get as close to true real-time as the API allows. What’s already in place – Python 3.11, Telethon (latest) inside a small async service – Standard getUpdates loop plus a simple database write – No proxy/VPN in between Where I’m stuck Even with a bare-bones handler, the gap between a message appearing in the Telegram client and being processed in my script stays at 4-6 s. I have ruled out network latency and local disk I/O. Your task • Analyse the current approach and show why the delay happens • Propose and implement code-level or architectural tweaks (e.g., switching to a different update mechanism, tuning request batching, async improvements, webhook gateway, etc.) • Demonstrate the fix on my dev channel; messages must arrive within ±1 s on average over a 100-message test burst Please be comfortable with Telethon, Pyrogram or the low-level MTProto flow, plus Python async patterns. I’ll share the repo and API keys once we start, and I can run any extra diagnostics you request.
Project ID: 40211638
47 proposals
Remote project
Active 10 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
47 freelancers are bidding on average $144 USD for this job

I can address the issue of Telegram message delay by analyzing the current approach and implementing necessary code-level or architectural tweaks. My expertise in PHP, Python, Linux, Software Architecture, and Database Management makes me a great match for this project. Once the full scope is discussed, the budget can be adjusted accordingly. I am confident and eager to start working on this project with you. Please go through my profile its 15 years old see the work I did over the years. No Win No Fee means that your satisfaction is my utmost priority. Lets discuss the job details. Moreover, I am willing to start the job and perform tasks without even being hired; it is just to show my commitment to this project. Looking forward to hear from you.
$175 USD in 7 days
8.7
8.7

Hi there, I understand the critical importance of minimizing delay in your Telegram message processing to support your downstream logic effectively. With extensive experience in Python async programming and deep familiarity with Telegram APIs, including Telethon and MTProto, I’m confident I can identify and resolve the bottleneck causing the 4-6 second delay. Here’s how I will approach it: - Analyze your existing Python async service and update handling logic for inefficiencies - Recommend and implement optimal mechanisms (e.g., switching update methods, tuning batch requests, async optimizations) - Conduct real-time tests on your dev channel ensuring message arrival within ±1s on average for a 100-message burst **Skills:** ✅ Telegram API & Telethon expertise ✅ Python 3.11 async programming ✅ Performance tuning & async event handling ✅ API integration & low-level MTProto understanding ✅ Database interaction optimization **Certificates:** ✅ Microsoft® Certified: MCSA | MCSE | MCT ✅ cPanel® & WHM Certified CWSA-2 Ready to start analyzing your repo and API keys immediately to deliver a seamless solution. What specific async patterns or update handling methods have you experimented with so far to reduce delay? Thanks,
$120 USD in 3 days
6.7
6.7

Hello, I’ve reviewed your Telegram latency issue and I’m confident I can bring the end-to-end delay down to near real-time (±1s on a 100-message burst) by switching from a poll-based pattern to a robust, async event-driven approach and by optimizing the Python/Telethon stack end-to-end. What I’ll do: - Instrument the current setup to measure precise end-to-end latency (Telegram client → Telethon → your async service → DB write). - Architect a lean, event-driven path: replace the getUpdates polling with Telethon’s event handlers (Message/Update events) so you process messages as soon as Telegram delivers them. - Optimize the async path: ensure a single, high-performance event loop, avoid unnecessary await churning, and batch or async-write DB records to eliminate I/O contention. - Tighten MTProto flow: confirm the proper use of updates stream for channels, consider minimal batching for DB writes, and remove any blocking code in the hot path. - Optional enhancements if needed: consider a lightweight webhook-like gateway or a local in-process queue for spikes to maintain steady throughput, and validate with a 100-message test to prove average latency within ±1s. Deliverables: - A working runbook and benchmarks showing latency drop to target in your dev channel. - A code patch implementing an event-driven architecture, with clear comments and tests for the hot path. - A short post-mortem checklist to avoid regressions. Next steps: I’ll review your repo and API usage, implemen
$100 USD in 2 days
6.6
6.6

Hi, I can fix.I have prior experience in Python Software Engineering.I can work on this.I have worked with more than 112+ Clients. Let’s connect
$100 USD in 2 days
6.4
6.4

Hello Dear! I write to introduce myself. I'm Engineer Toriqul Islam. I was born and grew up in Bangladesh. I speak and write in English like native people. I am a B.S.C. Engineer of Computer Science & Engineering. I completed my graduation from Rajshahi University of Engineering & Technology ( RUET). I love to work on Web Design & Development project. Web Design & development: I am a full-stack web developer with more than 10 years of experience. My design Approach is Always Modern and simple, which attracts people towards it. I have built websites for a wide variety of industries. I have worked with a lot of companies and built astonishing websites. All Clients have good reviews about me. Client Satisfaction is my first Priority. Technologies We Use: Custom Websites Development Using ======>Full Stack Development. 1. HTML5 2. CSS3 3. Bootstrap4 4. jQuery 5. JavaScript 6. Angular JS 7. React JS 8. Node JS 9. WordPress 10. PHP 11. Ruby on Rails 12. MYSQL 13. Laravel 14. .Net 15. CodeIgniter 16. React Native 17. SQL / MySQL 18. Mobile app development 19. Python 20. MongoDB What you'll get? • Fully Responsive Website on All Devices • Reusable Components • Quick response • Clean, tested and documented code • Completely met deadlines and requirements • Clear communication You are cordially welcome to discuss your project. Thank You! Best Regards, Toriqul Islam
$100 USD in 3 days
6.1
6.1

⭐Hi, I’m ready to assist you right away!⭐ I believe I’d be a great fit for your project since I have extensive experience in optimizing Telegram API integrations and improving real-time message processing. With a deep understanding of Python async patterns and Telethon, I can swiftly identify the bottleneck causing the message delays. My track record in performance tuning and API development will ensure messages reach you within ±1 s, meeting your real-time requirements. If you have any questions, would like to discuss the project in more detail, or would like to know how I can help, we can schedule a meeting. Thank you. Maxim
$30 USD in 2 days
5.5
5.5

Hello client, I can pinpoint the bottleneck and get you as close to true real time as the API allows. By choosing me, you are choosing a partner that not only speaks, but delivers results that speak for themselves. Let's discuss your project requirements in more detail over private message. Looking forward to seeing you smile at the end, Fahad.
$120 USD in 2 days
5.5
5.5

With my years of hands-on experience in web and mobile development, particularly with Python, I am more than capable of digging deep into this matter to get your Telegram message delays sorted. I'm adept at utilizing platforms such as Telethon, Pyrogram and MTProto flow to create efficient and real-time applications. My specialty also includes working with Python async patterns which will be a significant advantage in addressing the delayed messages issue promptly. Throughout my career, I have acquired a broad range of skills that underline my familiarity with the relevant technologies and mechanisms deployed in your current system. Combining this with my ability to analyze complex systems like yours, I am certain our collaboration will bring about the desired results. My main objective is delivering high-quality work to clients, which aligns perfectly with your need to have messages arrive within ±1s on average over a 100-message test burst. By choosing me, you're not only securing experienced assistance but also guaranteeing cost-effective solutions and reliable post-project support. With this project, we can go beyond fixing the delay; we can revamp your entire system for seamless performance in the long run. So let's channelize the power of real-time by transforming your ideas into reality!
$140 USD in 7 days
5.5
5.5

Hello, I can help optimize your Telegram message handling to achieve near real-time processing. With experience in Python async and Telethon, I'll analyze your current setup to identify bottlenecks. We'll explore architectural tweaks such as switching to a webhook gateway or optimizing your async patterns to reduce the current 4-6 second lag. I'll demonstrate improvements on your dev channel, aiming for a ±1 second average message delay over a 100-message test burst. My approach will ensure the downstream logic operates smoothly without disruptions. Questions: • Have you tried any specific diagnostic tools to isolate the delay cause? • Would you be open to testing alternative libraries like Pyrogram for comparison? Looking forward to working together to enhance your system's performance. Thanks and best regards, Faizan
$90 USD in 5 days
5.5
5.5

Hello, This is a very interesting challenge, and yes — I can help you track down and remove the delay. I work extensively with Telegram real-time systems, MTProto clients, and async Python services, including pipelines where a few seconds of lag can completely break downstream logic (trading, alerting, automation, etc.). A 4–6 second gap is not normal for a properly configured listener, so there is very likely a structural or configuration bottleneck in the update flow. How I would approach it Instead of guessing, I’ll treat this as a latency investigation. I will: Trace the path from message creation → Telegram DC → client session → event dispatch → your handler Measure where time is being spent Identify whether the issue comes from polling style, update queue handling, session configuration, backpressure, or event loop usage What I’ll deliver ✔ Clear explanation of why the delay happens ✔ Code or architecture modifications ✔ Optimized update mechanism ✔ Async improvements if needed ✔ Verification test on your dev channel Your acceptance target of ~±1 second over a 100-message burst is realistic, and close to what MTProto can achieve in good conditions. Once you share the repository, I can begin profiling immediately. Looking forward to solving this with you. Best regards, Naveen
$30 USD in 1 day
5.2
5.2

As an accomplished developer with a diverse set of skills, I wholeheartedly believe I'm equipped to address the issues you're experiencing with the Telegram message delay. With over 8 years of experience in crafting dynamic web and app solutions, I've continually had to navigate complex technical challenges just like this one. In fact, among my specialties is API Development, Linux, PHP, and Python development - all of which align perfectly with the needs of your project. In addition to my relevant skillset, I pride myself on my ability to adapt quickly and think outside the box when it comes to troubleshooting. That creativity has led me to find seemingly obscure performance bottlenecks on numerous projects in the past - struggles similar to those you're currently experiencing. Given your requirements for proficiency in Telethon, Pyrogram or low-level MTProto flow, and experience in crafting async patterns in Python, I'm confident I can deliver precisely what you're after - improved real-time updates on incoming Telegram messages for your project. My familiarity with these tools and my willingness to get "under the hood" of existing implementations should allow me to identify potential areas that might be causing the delay and provide efficient solutions to address them. Let's join together and turn that 4-6 second gap into a truly real-time experience!
$140 USD in 7 days
4.8
4.8

Hi, We went through your project description and it seems like our team is a great fit for this job. We are an expert team which have many years of experience on PHP, Python, Linux, Software Architecture, Database Management, API Development, Performance Tuning, Telegram API Please come over chat and discuss your requirement in a detailed way. Regards
$130 USD in 7 days
4.4
4.4

Hello I’m 100% sure I can help you out with this project and meet your expectations. Let’s connect on chat and discuss the requirements in more detail. Lets connect in chat so that We discuss further. Regards Syed Raza
$140 USD in 2 days
3.6
3.6

With eight years of experience in web development, I have built a reputation for crafting efficient, reliable, and scalable applications that align with client needs. I have deep knowledge, not just in PHP and Node.js but also in Python – a language crucial for your Telegram API project. This synergy makes me the perfect fit for your task. The fact that you're already using Telethon also means my skills with it can come in handy. To address your challenge, I would start by conducting an in-depth analysis of your current approach to determine what might be causing the delay. Then, I would leverage my proficiency in Python async patterns and my understanding of the low-level MTProto flow to propose and implement code-level or architectural tweaks that may optimize the Telegram message retrieval process. These tweaks could include switching to a different update mechanism, tuning request batching, or even exploring an asynchronous improvement solution such as a webhook gateway. In conclusion, choosing me means investing in a dedicated individual who will not only fix the delay issue effectively but who will also ensure the dependability and efficiency of your Telegram message pulling process. With client satisfaction as a top priority, I promise to offer comprehensive support and deliver results that exceed your expectations. Let's get started on increasing the real-time relevance of your messages!
$200 USD in 3 days
3.7
3.7

Hello, I appreciate the opportunity to assist you with your Telegram API project. It sounds like you're facing a frustrating delay in message processing that impacts your application's performance, and I'm here to help you resolve that. With extensive experience in Python and asynchronous programming, particularly using Telethon and Pyrogram, I have successfully optimized similar projects to achieve near real-time performance. My background includes working with the Telegram API, where I’ve effectively reduced latency and improved message handling in various applications. To address your project needs, I propose the following approach: - Conduct a thorough analysis of your current setup to identify the bottlenecks contributing to the delay. - Explore alternative update mechanisms, including webhooks, and optimize the request batching to enhance performance. - Implement code-level adjustments and async improvements tailored to your specific architecture. - Test the solution on your development channel to ensure messages are processed within ±1 second over a 100-message burst. I’m eager to start working on this and am confident that I can deliver the results you’re looking for. Please let me know a convenient time for us to discuss further details, and I can begin immediately. Thank you for considering my proposal!
$140 USD in 7 days
3.8
3.8

Hi, I reviewed your project about "Fix Telegram Message Delay" and noticed that you're working with the raw Telegram API accessed via Telethon in a Python async service. That tells me the main challenge here is reducing the inherent event latency in the update fetch loop and pinpointing bottlenecks within the async processing stack. I’ve worked on similar API integration projects where I: - designed scalable backend APIs, - implemented secure authentication and data models, - and delivered production-ready web/mobile features. For your project, I’d suggest starting with switching from the standard getUpdates polling loop to a more efficient event-driven pattern using Telethon’s event handlers with fine-tuned async concurrency controls to minimize processing delay. This avoids batching latency and ensures near real-time message capture. Before moving forward, I have one quick question: Have you already tried Telethon's event-based listeners instead of getUpdates polling, and if so, what results did you observe in terms of latency? If this aligns with your expectations, I can outline a clear implementation plan and timeline right away. Best regards, Nilo
$150 USD in 7 days
3.2
3.2

Hello,Send your Code please to start I can solve it within 1 day by reviewing your code, identifying the bottleneck causing the delay, and then implementing targeted optimizations. My experience with APIs, specifically with Telethon, Pyrogram, as well as the low-level MTProto flow, will allow me to diagnose and resolve any issues causing message delays in your Telegram channel. Additionally, my proficiency in Python (including async patterns) will enable me to efficiently fine-tune request batching, implement appropriate async improvements and suggest architectural tweaks for you. Throughout my career, I have focused on delivering tangible results through efficient coding. I've worked at renowned companies like ATOS, Vodafone, and Qeema, gaining immense exposure to crafting real-world solutions using various technologies including Python and Django. This experience has equipped me with a keen eye to identify optimization opportunities within codebases and successfully implement them.
$250 USD in 1 day
3.4
3.4

Hello, With 5+ years of experience in Python and Telegram APIs, I can help resolve the message delay issue. I’ll analyze your current setup, identify the bottleneck, and implement optimizations like async tuning or switching update mechanisms to achieve near real-time processing. I’ll ensure messages arrive within ±1 s on average during testing. Please share samples of similar projects for context. Thanks, Adegoke. M
$125 USD in 3 days
3.1
3.1

Hi, i am a python developer with 7+ years of experience. I have expertise in working with telegram APIs and have build various systems to automate telegram messages. I can help you optimising your python code to receive messages faster. ping me for further discussions.
$140 USD in 7 days
2.9
2.9

Hello, I am a full-stack AI developer with 8 years of rich experience in software development, with Python async, Telethon/Pyrogram, MTProto-based Telegram API integration, Linux, performance tuning, and low-latency event pipelines. I can pinpoint why your current getUpdates-style loop is adding 4–6s lag, switch it to an event-driven MTProto updates handler, tune batching/polling and async scheduling, and validate on your dev channel to average within ±1s over a 100-message burst. This project is a perfect fit for my skills and I am sure I can delivery this with high quality. Thanks for considering my proposal — Lautaro
$250 USD in 1 day
2.9
2.9

Warsaw, Poland
Member since Feb 7, 2026
₹1500-12500 INR
$10-30 USD
$30-250 CAD
$30-250 USD
$30-250 USD
₹600-1500 INR
₹600-1500 INR
$30-250 USD
$250-750 USD
$250-750 USD
$250-750 USD
₹1500-12500 INR
₹12500-37500 INR
$15-25 USD / hour
₹600-1500 INR
₹600-1500 INR
$30-250 USD
$2-8 USD / hour
min $50 CAD / hour
₹37500-75000 INR