#laravel — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #laravel, aggregated by home.social.
-
Testing weird combinations of #yii2 being a source of user/auth and #laravel being a separate entity, reusing the user/auth...
OIDC, direct db... and to be frank at the cost of a couple million tokens (yes) I can validate several prototypes and think on the consequences, architecture and "is it actually worth it"... without this all, Id not even consider exploring....
-
Testing weird combinations of #yii2 being a source of user/auth and #laravel being a separate entity, reusing the user/auth...
OIDC, direct db... and to be frank at the cost of a couple million tokens (yes) I can validate several prototypes and think on the consequences, architecture and "is it actually worth it"... without this all, Id not even consider exploring....
-
Testing weird combinations of #yii2 being a source of user/auth and #laravel being a separate entity, reusing the user/auth...
OIDC, direct db... and to be frank at the cost of a couple million tokens (yes) I can validate several prototypes and think on the consequences, architecture and "is it actually worth it"... without this all, Id not even consider exploring....
-
Testing weird combinations of #yii2 being a source of user/auth and #laravel being a separate entity, reusing the user/auth...
OIDC, direct db... and to be frank at the cost of a couple million tokens (yes) I can validate several prototypes and think on the consequences, architecture and "is it actually worth it"... without this all, Id not even consider exploring....
-
I built a website for humans. The machines just showed up.
Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.
-
I built a website for humans. The machines just showed up.
Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.
-
I built a website for humans. The machines just showed up.
Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.
-
I built a website for humans. The machines just showed up.
Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.
-
I built a website for humans. The machines just showed up.
Most traffic to LaraPlugins now comes from agents, not people. That changed how I think about it.
-
Вебхук, в котором нельзя работать
Каждое нажатие кнопки в телеграм-боте — это HTTP-запрос от Telegram к вам. Около трёхсот тысяч человек в месяц, у каждого в сессии десятки нажатий, и всё это приходит в один POST-эндпоинт, у которого нет ни права на пятисотку, ни права подумать. Пропускная способность считается до обидного просто: max_connections, делённое на время ответа. Отвечаете за 200 мс при сорока соединениях — двести апдейтов в секунду. Отвечаете за две секунды — двадцать. И ждёт при этом не абстрактный клиент, а конкретный пользователь, у которого следующее нажатие просто не доедет. Что осталось внутри вебхука и что уехало в очередь, почему дедупликация по update_id обязана быть атомарной, зачем в ответ на вебхук можно вернуть вызов метода API — и четыре бага, которые нашлись в собственном коде, пока я это писал.
https://habr.com/ru/articles/1084650/
#laravel #telegram_bot_api #webhook #высокая_нагрузка #идемпотентность #php
-
Вебхук, в котором нельзя работать
Каждое нажатие кнопки в телеграм-боте — это HTTP-запрос от Telegram к вам. Около трёхсот тысяч человек в месяц, у каждого в сессии десятки нажатий, и всё это приходит в один POST-эндпоинт, у которого нет ни права на пятисотку, ни права подумать. Пропускная способность считается до обидного просто: max_connections, делённое на время ответа. Отвечаете за 200 мс при сорока соединениях — двести апдейтов в секунду. Отвечаете за две секунды — двадцать. И ждёт при этом не абстрактный клиент, а конкретный пользователь, у которого следующее нажатие просто не доедет. Что осталось внутри вебхука и что уехало в очередь, почему дедупликация по update_id обязана быть атомарной, зачем в ответ на вебхук можно вернуть вызов метода API — и четыре бага, которые нашлись в собственном коде, пока я это писал.
https://habr.com/ru/articles/1084650/
#laravel #telegram_bot_api #webhook #высокая_нагрузка #идемпотентность #php
-
Вебхук, в котором нельзя работать
Каждое нажатие кнопки в телеграм-боте — это HTTP-запрос от Telegram к вам. Около трёхсот тысяч человек в месяц, у каждого в сессии десятки нажатий, и всё это приходит в один POST-эндпоинт, у которого нет ни права на пятисотку, ни права подумать. Пропускная способность считается до обидного просто: max_connections, делённое на время ответа. Отвечаете за 200 мс при сорока соединениях — двести апдейтов в секунду. Отвечаете за две секунды — двадцать. И ждёт при этом не абстрактный клиент, а конкретный пользователь, у которого следующее нажатие просто не доедет. Что осталось внутри вебхука и что уехало в очередь, почему дедупликация по update_id обязана быть атомарной, зачем в ответ на вебхук можно вернуть вызов метода API — и четыре бага, которые нашлись в собственном коде, пока я это писал.
https://habr.com/ru/articles/1084650/
#laravel #telegram_bot_api #webhook #высокая_нагрузка #идемпотентность #php
-
⚙️ SSD-Powered #cPanel Web #Hosting – Up to 25x Faster
⚙️ SSD-Powered cPanel Web Hosting ...
Continued 👉 #ftp #wpcli #laravel #csf #litespeed #postgresql #letsencrypt #modsecurity #webhosting #gitversioncontrol #phpmyadmin #sshaccess #softaculous #phppgadmin #webdisk #joomla #cloudlinux #mariadb
⚙️ SSD-Powered cPanel Web Host...