Tag: Open Source

Community

DIY Number Rounding For MySQL

(Rob Gravelle) You don’t have to be a mathematician to realize that, when it comes to rounding, there are a lot of ways to go about it. DBAs and programmers are often faced with the unenviable task of choosing amongst a plethora of rounding algorithms that will work best within a particular context.

Community

Reducing the impact of locking

(Hans-Juergen Schoenig) “Waiting is the slowest way to execute an operation” – this is how a professor at my university in Vienna usually described bad locking and low concurrency. He could not have been more right. The same applies to performing calculations: The fastest way to calculate something