Menu

IT Hare on Soft.ware

Tap to confirm selection

Subscribe:

Disclosure: On this site you won’t find specific advice on “how to call function xyz()”. Interpreting C++ ARM and #pragma dwim is also out of scope.

We’re treating our readers as intelligent beings who can use Google and/or StackOverflow, where all such specific questions were answered more than once.

What you will find is opinions on all the aspects of software development (from UI to scalability, reliability and security) for all kinds of systems (from large-scale systems to embedded ones), the reasoning behind those opinions, and tons of practical observations, which may help you to choose what you really need for your specific task.

Your mileage may vary. Batteries not included.

OLTP DB Optimizations 102 – Group Commits

Quote:
“if we can commit several transactions at the same time – RDBMS needs to fsync() our DB logs to physical disks only once”
Another Quote:
“if going our preferred way of single-writing-DB connection – make sure NOT to use RDBMS-level Group Commit”

OLTP DB Optimizations 102 –100% Coherent App-Level Cache for Single-writing-DB-connection

Quote:
“with our app-level cache, we’re guaranteed to get exactly the same results as if we’d be querying the underlying database.”
Another Quote:
“why settle for invalidation when we can modify cache accordingly, saving on the extra DB request when we’re dealing with the same USER again?”

CPPCON Day #5. Miscellaneous

I’m back from #CPPCON2017 now, and can report on the last day of it. First (and IMO foremost <wink />), there was my own talk on “Eight Ways to Handle Non-blocking Returns in Message-passing Programs: from C++98 via C++11 to C++20”. Not sure whether it was exciting enough (and 3 or 4 people left the talk <sad-face />), but overall – hopefully it wasn’t too bad. I’ll try to publish slides+transcript of the talk tomorrow. Then, there was an interesting talk by Juan Arrieta, “Traveling the Solar System with C++: Programming Rocket Science” (oops, apparently it was so exciting, that I didn’t…

#CPPCON2017. Day 4. Async Rulezzz!

During the Day 4 of CPPCON, I had to prepare to my own talk tomorrow; still – I was able to attend all the talks I was interested in. But before I can start – let’s discuss a thing which I just understood during CPPCON17; it is related to… Big Fallacies of Parallel Programming for Joe Average Developer Twice today, I heard pretty much the same thing, related to the concept of “utilization” of the available CPU cores. And the most funny about it was that while once, a reference to “core utilization” felt as a fallacy, on another occurrence it…

#CPPCON2017. Day 3. The Future of C++

At #CPPCON2017 Day 3, I spent most of the time on the meetings of SG14 (on games and low-latency stuff); while it was certainly useful for me – the most interesting things on Day 3 happened outside of SG14. Generative C++ == The Future A name is a word of power if it is compilable— Herb Sutter — IMNSHO, the most important talk of Day 3 (and probably of the whole CPPCON2017) was the talk by Herb Sutter titled “Meta: Thoughts on generative C++”. I have a reputation of not being blindly sympathetic to the WG21 <wink />, but here I…