Skip to content

Tag: php

How to manage big spikes of connections to RabbitMQ

Our rabbitmq server can’t keep up with connections when we have spikes above 3000 connections/second, and new connections take long to stablish (reaching 3s limit we have for failing). We need publishers to return fast as any delay transmit to user experience. We are currently looking at coding a load b…

Laravel fetch data by something else than id

So I’m a total newbie in laravel and I don’t know if it can be done but I saw that in the controller I can display data of a specific ‘id’ with this in my api.php: And this in my BookController.php : I’m using Angular for the front and I have a searchbar to search by ‘title…

TYPO3 – Error by creating custom content element

I need your help creating a custom content element. I use TYPO3 ver. 10.4.21 and I’d added extensions (fluid_styled_content and sitepackage). I could create a wizard and content type (CType) for dropdown list, but if I let show my content element on the frontend (websie), then an error occured: Oops, an…

Lighthouse graphql custom resolver

Quite new to GraphQL and lighthouse library, don’t be too harsh. Since I can’t use any models because my data source is an API. I’m trying to create a custom resolver that will pass data to a service who will do everything necessary to retrieve data from the API. And it constantly returns me…

order by where in in laravel with requests

I want to make products to be ordered according to each user request as code below and here is the code it return error orderby doesn’t exist on collection Answer Your orderBy() statements have to be added to the query before you run paginate: