PoisonedPrisonPanda

joined 2 years ago
[–] PoisonedPrisonPanda@discuss.tchncs.de 2 points 1 month ago (1 children)

BTW, your hard disks are going to be your bottleneck unless you’re reaching out over the internet, so your best bet is to move that data onto an NVMe SSD. That’ll blow any other suggestion I have out of the water.

Yes, we are currently in the process of migrating to PostgreSQL and to a new hardware. Nonetheless the approach we are using is a disaster. So we will refactor our approach as well. Appreciate your input.

I don’t know what language you’re working in.

All processing and SQL related transactions are executed via python. But should not have any influence since the SQL server is the bottleneck.

WITH (NOLOCK)

Yes I have considered this already for the next update. Since our setup can accept dirty reads - but I have not tested/quantified any benefits yet.

Don’t do a write and a read at the same time since you’re on HDDs.

While I understand the underlying issue here, I do not know yet how to control this. Since we have multiple microservices set up which are connected to the DB and either fetch (read), write or delete from different tables. But to my understanding since I am currently not using NOLOCK such occurrences should be handled by SQL no? What I mean is that during a process the object is locked - so no other process can interfere on the SQL object?

Thanks for putting this together I will review it tomorrow again (Y).

high risk/(hopefully) reward situation yes. But also probably because I am lazy - or lets say, I dont want to change my private life center because of the job.

It always boils down to many factors and my gut feeling tells me thats the best compromise. Or its the anxiety to push against change. nobody knows.

But thanks. may your life be prosperous. Especially if mine wont. ;)

um goutteswühllen.

Ich lach ja selbst über steirisch.

[–] PoisonedPrisonPanda@discuss.tchncs.de 2 points 1 month ago (2 children)

used. Are you in a startup? And you are learning the ropes on the business side?

yes. and yes. basically everything. I assume summarizing my tasks/work would require 3 job positions filled.

is there a comparison between blockchain energy use and AI related energy use?

[–] PoisonedPrisonPanda@discuss.tchncs.de 4 points 1 month ago* (last edited 1 month ago)

Well, it's Groundhog Day... again... and that must mean we're up here at Gobbler's Knob waiting for the forecast from the world's most-famous groundhog weatherman, Punxsutawney Phil, who's just about to tell us how much more ~~winter~~ shit we can expect.

[–] PoisonedPrisonPanda@discuss.tchncs.de 4 points 1 month ago (5 children)

The thing is, I am already in a niche - since I am coming from the engineering / non-IT side and sliding into development. Probably the start-up character of my company doesnt help here expecting high income for now.

But I am going with either earning, learning or leaving. And since I learn so fucking much I cannot leave.

[–] PoisonedPrisonPanda@discuss.tchncs.de 5 points 1 month ago (1 children)

Since all trains commute via Salzburg - this is probably the most classic city to visit.

Lots of culture. Probably lots of tourists too. It is a beautiful town - with many options to enjoy a beautiful day. probably enough places to enjoy also during bad weather.

If you like it quiet Linz is also an option. but to be honest Linz is probably worth a day trip without the need to stay overnight - except you want to visit nightlife.

Nevertheless given your preferences to not divert from the main train line - Salzburg is the way to go.

[–] PoisonedPrisonPanda@discuss.tchncs.de 8 points 1 month ago (8 children)

I am getting paid very well

You guys are getting paid well? what the heck am I doing wrong.

[–] PoisonedPrisonPanda@discuss.tchncs.de 1 points 1 month ago (1 children)

broadly you want to locate individual records as quickly as possible by using the most selective criteria

What can be more selective than "if ID = "XXX"? Yet the whole table still has to be reviewed until XXX is found?

... and to familiarize yourself with normalization.

based on a quick review of normalization, I doubt that this helps me - as we are not experiencing such links in the data. For us we "simply" have many products with certain parameters (title, description, etc.) and based on those we process the product and store the product with additional output in a table. However to not process products which were already processed, we want to dismiss any product which is in the processing pipeline which is already stored in the "final" table.

It isn’t just a big bucket to throw data into to retrieve later.

thats probably the biggest enlightment I have got since we started working with a database.

Anyway I appreciate your input. so thank you for this.

Ms sql is trash Running anything on a Hdd is a joke

thank you, I convinced management to migrate to a modern hardware, and we switch to PostgreSQL together with refactoring our design and approach.

You read write and compare continuously? Did you try to split it into smaller chunks?

Locks are handled by SQL. but yes, multiple tables are read, written and the final table compared with multiple requests/transactions (connections?) simultaneously. Split into smaller chunks would nonetheless mean that the query would loop through the whole table - in chunks? how would this help with simultaneous transactions?

[–] PoisonedPrisonPanda@discuss.tchncs.de 2 points 1 month ago (1 children)

A hot DB should not run on HDDs. Slap some nvme storage into that server if you can. If you can’t, consider getting a new server and migrating to it.

Did this because of the convincing replies in this thread. Migrating to modern hardware and switch SQL server with PostgreSQL (because its used by the other system we work with already, and there is know-how available in this domain).

You should avoid scanning an entire table with a huge number of rows when possible, at least during requests.

But how can we then ensure that I am not adding/processing products which are already in the "final" table, when I have no knowledge about ALL the products which are in this final table?

Create an index and a table constraint on the relevant columns. ... just so that the DB can do the work for you. The DB is better at enforcing constraints than you are (when it can do so).

This is helpful and also what I experienced. In the peak of the period where the server was overloaded the CPU load was pretty much zero - all processing happened related to disk read/write. Which was because we implemented poor query design/architecture.

For read-heavy workflows, consider whether caches or read replicas will benefit you.

May you elaborate what you mean with read replicas? Storage in memory?

And finally back to my first point: read. Learn. There are no shortcuts. You cannot get better at something if you don’t take the time to educate yourself on it.

Yes, I will swallow the pill. but thanks to the replies here I have many starting points on where to start.

RTFM is nice - but starting with page 0 is overwhelming.

 

ESTERREICH, ESTERREICH ESTERREICH!!!

12
AN ALLE MUNDL (discuss.tchncs.de)
submitted 2 years ago* (last edited 2 years ago) by PoisonedPrisonPanda@discuss.tchncs.de to c/austria@feddit.de
 

wos is as beste kebap in wien?

I moch heut an firm-ausflug nach wien und mei firmling wünscht sich original an kebap.

I hob bis jz nur ranz kebaps in wien gfunden somit bin i über empfehlungen dankbar.


Es wurde Ferhat. Nach einer stunde anstehen in der schlange mit gfühlt 100 leuten und staunen über wie groß ein döner spieß eig sein kann, fazit:

Ist gut. Ist viel, aber den hype nicht wert. ^^

Danke dennoch für die Tipps. Ich werde mir die anderen merken.

 

Ein werter Johann Potakowskyj stellte folgendes Wahlbersprechen als Bundeskanzler auf: ( Kontext ist nicht relevant)

  1. Es gibt eine private Einkommensobergrenze von € 100.000 im Jahr. Für jede Million, die man mehr verdient, bekommt man eine Prämie von € 10.000.

Das entspricht genau der Prämie für Empfänger der Mindestsicherung, die gern arbeiten. Sie erhalten pro € 100, die sie verdienen, eine Prämie von € 1, wobei das Arbeitseinkommen eingezogen wird.

Find ich als diskussionsthema einen spannenden einwurf.

 

Ob die Övp sich doch keine neuwahlen zutrauen und jz plötzlich den grünen etwas zucker geben ehe sie wieder die Peitsche rausholen?

 

gibts andere communities mit österreich/DACH kontext, bzw. könnt welche andere aufregende communities empfehlen?

die meisten geporteten von reddit sind recht ruhig und das finden von anderen communities is mäßig erfolgreich für mich.

 

wer ist nun eigentlich alles von reddit nach lemmy mitgezogen?

Die masse dürfte es ja augenscheinlich nicht gewesen sein.

nun die frage haben wir die jungen verloren die teure jacken an zäunen ruinieren und sind bloß ein kleiner nerdiger haufen an generation y leuten die an eine bessere welt glauben?

oder haben wir den representativen schnitt der gesellschaft der zu 90 % aus gut verdienenden ITlern besteht erhalten (nicht)

?

 

was macht ihr mit eurer zeit wenn reddit doomscrolling nicht mehr möglich ist?

view more: ‹ prev next ›