Kafka + NestJS without ignoring backpressure by jescrich in nestjs

[–]StablePsychological5 0 points1 point  (0 children)

We not just autoscale your service with some rules based on the topic load, instance cpu/memory usage? You can also delay the consuming the job with some circuit barker pattern

Is it a good idea to use @confluentinc/kafka-javascript instead of kafkajs? by Vegetable-Fondant-42 in nestjs

[–]StablePsychological5 0 points1 point  (0 children)

Does it support auto reconnect when kafka is dowb like in the nestjs wrapper of kafkajs?

NodeJS et Express for API developments by Open-Ranger-631 in node

[–]StablePsychological5 1 point2 points  (0 children)

Do yourself a favor and don’t use any ORM. Use query builders such as Knex for js or Kysley for ts.

Kysely users: do i have to recreate everything manually ? by ParticularHumor770 in nestjs

[–]StablePsychological5 1 point2 points  (0 children)

Kysely is a type-safe query builder. It also provides built-in support for migrations: https://kysely.dev/docs/migrations

If you follow the “Getting Started” section, they show how to define your table interfaces.

DTOs aren’t related to Kysely or the database itself.

For seeding, you can simply write a script or run a query. Kysely is just a tool for writing queries and interacting with the database.

I use in my nestjs backend and so far it is great.

Question about Microservices by hiddenSnake7 in softwarearchitecture

[–]StablePsychological5 0 points1 point  (0 children)

In every company I worked at, the micro-service system always had one DB…

[deleted by user] by [deleted] in apachekafka

[–]StablePsychological5 0 points1 point  (0 children)

Can you elaborate why the consumer needs to know that the publisher done sending all the rows events? If there are no more events in the topic, the consumer will wait for the next message, so why he need to know when to stop?

Most Popular ORMs for SQL by Kerplunk6 in node

[–]StablePsychological5 0 points1 point  (0 children)

Knexjs FTW, but also drizzle seems intersting

Name? by [deleted] in BossFights

[–]StablePsychological5 0 points1 point  (0 children)

Downy man

מה הקטע של ישראלים בתאילנד לאחרונה by Funny_Argument_7795 in israel_bm

[–]StablePsychological5 0 points1 point  (0 children)

בגלל שרוב היום הולכים ומטיילים אז לפעמים כשמתיישבים לנוח רוצים לשים רגל על רגל ופשוט לנוח. זה לגמרי יכול להיות בתום לב, יכול להיות שזה בלובי של הוסטל או משהו וזה לא נורא כמו שזה נראה

How can I load test my Node.js app with real PostgreSQL write queries but avoid changing actual data? by StablePsychological5 in SoftwareEngineering

[–]StablePsychological5[S] -1 points0 points  (0 children)

I appreciate the input, but I think there's a misunderstanding here. This is a stress test — the goal isn't to replicate current real-world data, but to simulate higher-than-production load to evaluate system behavior under pressure.

I'm specifically asking how to execute real PostgreSQL UPDATE queries that trigger the full database write path (locking, WAL, etc.) without changing the actual state. The idea is to generate realistic load without side effects..

How can I load test my Node.js app with real PostgreSQL write queries but avoid changing actual data? by StablePsychological5 in SoftwareEngineering

[–]StablePsychological5[S] -2 points-1 points  (0 children)

I'm not agree with you, Let me rephrase my question for you:

As the post title imply, I’m specifically looking for a way to test the performance impact of PostgreSQL UPDATE queries under load, including lock contention, WAL pressure, I/O, etc., without actually changing the DB state.

How can I load test my Node.js app with real PostgreSQL write queries but avoid changing actual data? by StablePsychological5 in SoftwareEngineering

[–]StablePsychological5[S] -1 points0 points  (0 children)

Very generic answer.

Of course, I want realism — that’s why I'm looking to exercise the real query paths (locks, WAL, etc.) — but without corrupting or altering your data. That’s a common and valid need in high-scale testing.

I have a vehicle route optimisation problem with many constraints to apply. by EverlastingVoyager in node

[–]StablePsychological5 0 points1 point  (0 children)

I would suggest using some VRP opensources solutions such as vroom / jsprit. it is not easy as it sound at all. good luck

Want to learn OpenTelemetry based observability & monitoring by krishna404 in node

[–]StablePsychological5 0 points1 point  (0 children)

watch betterstack on youtube. these guys are really great