#laravel — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #laravel, aggregated by home.social.
-
I've made a new release:
Laravel Eloquent driver for DuckDBSupport latest and lowest Laravel versions (12 & 13)
Support for lateral joins, whereBinary() and Vector Similarity Search (HNSW)
Extended examples in readme:
- client-server mode (Quack Remote Protocol)
- bulk insertion (1M rows in <1s)
- read and write Excel files
- read private data using REST APIs
- CSV data import
- Laravel Octane and Swoole -
I've made a new release: Laravel Eloquent driver for DuckDB
Support latest and lowest Laravel versions (12 & 13)
Support for lateral joins, whereBinary() and Vector Similarity Search (HNSW)
Extended examples in readme:
- client-server mode (Quack Remote Protocol)
- bulk insertion (1M rows in <1s)
- read and write Excel files
- read private data using REST APIs
- CSV data import
- Laravel Octane and Swoole -
I've made a new release: Laravel Eloquent driver for DuckDB
Support latest and lowest Laravel versions (12 & 13)
Support for lateral joins, whereBinary() and Vector Similarity Search (HNSW)
Extended examples in readme:
- client-server mode (Quack Remote Protocol)
- bulk insertion (1M rows in <1s)
- read and write Excel files
- read private data using REST APIs
- CSV data import
- Laravel Octane and Swoole -
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