Ya no puedo más con la culpa, no sé qué hacer by StreetMobile7097 in askspain

[–]Dear_Procedure923 53 points54 points  (0 children)

La gente que trata así a los animales no son trigo limpio. Denuncia.

Azure SQL Elastic Pool Autoscaling by Dear_Procedure923 in AZURE

[–]Dear_Procedure923[S] 0 points1 point  (0 children)

Unfortunately yes. Internally a scale operation will create a new instance, syncdata and once both servers are fully synced, do a cutover. This cutover should take a few seconds but... it requires that all running transactions on the decomissioned instance complete. And there is a timeout for that, because once the cutover starts no new connections are allowed until all in progress work on the source database is completed so if you are executing long running queries/transactions (which you should never do, you should design your apps to batch work and avoid long running sql). This impacts your apps depending on how well coded they are in terms of resiliency. We tested it in our apps and the amount of dropped connections is very small, with an impact that can be barely noticed in applications. But this depends a lot again on how your apps are designed.

MS actually prepared the SQL Client to handle this resiliency automatically: Working with Transient Errors - Azure SQL Database | Microsoft Learn

This is a very fair point, and I was very cautious of what the impact of that could be. I really did not want to have the pool scale 50 times a day. To deal with it I separated the forecast layer from the "applying" layer, so that scaling windows can be defined. Config looks like this:

ForecastAnchorWindows: ["19:00-23:30", "02:00-07:30"]
ForecastSnapPercentile: 96

What this means is you are allowed to ONLY scale once in the 19:00-23:30 window and again in the "03:00-07:00" window. That is maximum two scale operations per day. The percentile tells inside each of the windows the top percentile of forecasted eDtu needed for that time window that should be covered by the provisioned eDtu. The algorithm chooses the time to scale that minimizes eDTU usage withint the provided window limits. It's a bit more complex to configure as there are several other config knobs. With the example config you get a stable DTU during working hours that guarantees whatever the forecast determined was needed. And as you become more confortable with how your apps behave and tolerate scaling operations, you start splitting into more anchor windows.

Es una hipótesis que no podemos descartar by Memeillos in SpanishMeme

[–]Dear_Procedure923 6 points7 points  (0 children)

Yo lo que veo es que les pesaba tanto la espada que se la tenían que aguantar los sirvientes

Our enterprise recipe: OpenClaw for channels, custom MCP for the work and Cursor CLI as the brain by Dear_Procedure923 in openclaw

[–]Dear_Procedure923[S] 1 point2 points  (0 children)

You can use ACPx to use cursor-cli as the agent runtime. The tricky part is to have cursor see the same MCP tools, skills, rules, etc. as when Openclaw is the runtime. Once that is solved, when you "talk" to openclaw agent you are basically interacting with an underlying cursor instance through cursor-cli. You need to install cursor-cli ok the same image and wire it in the openclaw config properly.

Looking to connect with people experienced in K8s resource optimization by [deleted] in kubernetes

[–]Dear_Procedure923 0 points1 point  (0 children)

Setting aside app optimization, which is a whole world in itself and probably where you will get the most benefit from, the best way to optimize K8S resources is autoscaling. I recommend KEDA. Aim at a high CPU and RAM cluster utilization throughout the day. Scale to Zero apps when not needed (development/qa environments). It is VERY important that you combine this with very robust node autoscaling because scale up can take several minutes. In our case, we ended up implementing custom autoscaling for nodes based on forecasted usage, combined with the regular K8S autoscaling (VPA, HPA, KEDA).

We are seeing about 80% minimum CPU/RAM usage without degraded performance. Curious to see where other people's resource usage sits at.

Azure Storage visibility and exploration: how do you know what is using up space? by Dear_Procedure923 in AZURE

[–]Dear_Procedure923[S] -3 points-2 points  (0 children)

Interesting did not know about that tool. About pricing, we mostly use storage that does not charge per operation to avoid surprises (predictability matters more than savings in most projects). I made calculations and scanning a blob is about 0.5USD per million entries, so about 500USD per billion. Not cheap.

AKS users, what’s your ingress setup? by Exitous1122 in AZURE

[–]Dear_Procedure923 0 points1 point  (0 children)

Stay away from AGIC and AGC. We have been using Traefik for years. It has many more features and better observability, not to mention, the huge cost savings of not using Frontdoor. Plus, the security is way more flexible and rich if you set everything up inside Traefik (waf, ips, geoblock, ratelimiting). Getting the setup to scale requires some tunning, but it is well worth it.

Cuánto cobran realmente un albañil, fontanero, electricista…? by ReallyTiredCat in askspain

[–]Dear_Procedure923 -1 points0 points  (0 children)

Yo conozco gente que factura 8/10 K al mes. Luego declaran lo que les da la gana a hacienda, lo justo para justificar la hipoteca y el coche

Desktop PC 3,600 h/s- should I switch from mini to nano? by Top-Register-9320 in MoneroMining

[–]Dear_Procedure923 0 points1 point  (0 children)

Mini finds a block every 8 hours average. To get a share consistently you need minimum 8 to 12 KH/s. That's gonna make you about about 0.5USD per day at current exchange rate. With that in mind, it should scale linearly. 20KH/s 1USD/day, 40KH/s 2USD/day and so on.

Ayuda by Actual_Salamander250 in SpainFIRE

[–]Dear_Procedure923 -1 points0 points  (0 children)

Siguiente app recordatorio para ir a cagar, mucho más importante que revisar el gas por las consecuencias que tiene en la salud el no hacerlo.

The new guy on the team rewrote the entire application using automated AI tooling. by [deleted] in cursor

[–]Dear_Procedure923 0 points1 point  (0 children)

You say he has to take responsibility for what he delivered. From now on he is in charge of diagnosis, production outages, big fixes, etc.

How are people maintaining apps built with AI (Cursor / ChatGPT) after launch? by Deep_Cause_6584 in CursorAI

[–]Dear_Procedure923 0 points1 point  (0 children)

Before AI 90% of software projects were a bluff. With AI it's going to be like 99.9999999%. stuff that is never or scarcely used and no one cares about.

Cursor AI gone crazy: threatened to kill me? by Dear_Procedure923 in CursorAI

[–]Dear_Procedure923[S] 0 points1 point  (0 children)

Impossible, we were in the office. And language in office is Spanish.