June 19, 2013

Post: SQL Injection Questions Followup

… my answers. Tobin C. asked: Q: Does the use of Parameters (particulary OdbcParameter class…); Radu M. asked: Q: What about INSERT-ing binary data? Do I have to protect …real_escape_string() is aware of binary bytes, and will escape appropriately.  SQL also has a builtin QUOTE() function so you can do

Post: Cache Performance Comparison

… usage efficiency larger object size and other reason. So what my test does ? Simply we perform 10.000 of get requests from… so I did not do much of error control or other precausions like string escaping which you will need in real application. Also due… real life performance difference can be evel larger as there will be some syncronization contention while accessing shared memory cache which does