← All posts tagged ойти

netneladno

Ask yourself this question. If your application sends a COMMIT command to the database, and it never gets an answer back, what does it do? Does it assume the COMMIT failed? Does it assume the COMMIT worked? Either approach is clearly wrong, even if replication is not in use. After all, if the database crashed, it could have done so either before or after processing the COMMIT statement; your application has no way of knowing which it is. To be correct, your application must re-establish a database connection as soon as possible, examine the database, somehow determine whether or not the transaction in question committed prior to the crash, and if not, redo the whole transaction. Does your application do that?

netneladno

NoSQL DB: Anything else you'd like to tell us about NoSQL or MongoDB that you feel is particular important for folks to know?

KG: Lets see. Mainly when implementing MongoDB try to think different about your data model. I see lots of examples on the web of people using a semi-relational model in MongoDB. If you do that you don't get the benefits of Mongo. Try to model in documents. If you can't, then question if MongoDB is the correct solution! Your data has a format it wants to live in, listen carefully to it, it will tell you.

netneladno

умощнение процессоров, увеличение количества ядер, удешевление оперативной памяти, растущая ёмкость жестких дисков, а также доступность средств виртуализации, позволяют вам
иметь на своем уютном десктопчике в разы больше говна, ада и бардака, чем это было раньше
ура!

netneladno

Мама сегодня отожгла. "Мне подружки, постоянно жалуются на неработающие компьютеры и ремонтников. Я им пишу, что сын все решает и они мне завидуют". Ёбта, Знала бы она сколько я беру за час работы налево, сильно бы напряглась.