Исправить интеграцию Laravel-Swoole с MadelineProto
Делаю тестовый проект на Vue.js + Nuxt.js и для API Laravel.
В проекте есть регистрация.
В форме можно ввести номер телефона и переходить на следующий щаг, где нужно ввести код который приходит в сообщение в Telegram.
Для этого использую библиотеку MadelineProto.
Дело в том что при первом подключение к серверу Telegram, идёт обмен ключей, он длиться ~10 секунд.
Для каждого запроса ждать 10 секунд не нормально.
Поэтому решил использовать Laravel Swoole. Установил на сервер Swoole и запустил сервер и всё нормально - открываеться.
Только нужно сделать как-то так чтобы вот эти 10 секунд на подключение не тратить при каждом запросе.
Где-то хранить подключение и использовать повторно...
Вообщем в модели у меня есть функция которая возвращяет подключение к сервер, только её нужно исправить...
Работаем через TeamViewer или Wayk.
Current freelance projects in the category PHP
Lead Software Engineer / Senior Backend Engineer (Laravel / AWS / Automation)We are looking for an experienced Lead Software Engineer / Senior Backend Engineer to join our team for a healthcare project. The project focuses on enhancing an existing platform by building business process automation, developing new backend functionality, and integrating… PHP, Web Programming ∙ 49 minutes back ∙ 10 proposals |
Improvement of the website https://koleso-center.com/ on OpenCart
223 USD
Add categories to the online store websiteUsed disksSpare tiresFastenersData is taken from the 1C database.A few more questions Type of performer: single Backend developer (OpenCart/PHP) at the Middle levelThe modifications must meet all requirementsSEO + AI promotion AI… PHP ∙ 15 hours 24 minutes back ∙ 36 proposals |
Module for OpenCart: mass creation of products from folders with imagesDevelopment of a mass product creation module for OpenCart (ocStore 3.x) A backend module for OpenCart / ocStore 3.x needs to be developed that automatically creates products from a pre-prepared folder structure with images.Main functionality: mass creation of products from… Content Management Systems, PHP ∙ 1 day 21 hours back ∙ 46 proposals |
Website optimizationOptimization of the website jdgreta.co.uk on Shopify. SEO audit attached to the project. Main tasks - - Fix all meta data - Complete the technical specifications for the programmer (since this project combines tasks for both the programmer and SEO, if you are not a company -… HTML & CSS, PHP ∙ 5 days 20 hours back ∙ 33 proposals |
Horoshop SpecialistNeed a specialist who can correctly set up the product Feed. Problem: Currently, over 13,000 products are being uploaded with the same type value (e.g., "everything for manicure and pedicure"). Because of this, it is impossible to segment products in Google Ads and set different… PHP, Website Maintenance ∙ 6 days 22 hours back ∙ 21 proposals |