Re:Microsoft’s new small print – how your personal data is a...
by batou on Wednesday July 29, 2015 @01:31PM
(#9970164)
I agree with respect to traditional architectures but most of our stuff runs from our cache layer (97% of queries are cache hits) so we're moving to lots of smaller and cheaper instances with a cache front end (memcached). We literally use the database as a storage engine going forward and nothing clever.
[ Parent
| on HN ]
Re:Microsoft’s new small print – how your personal data is a...
by hvidgaard on Thursday July 30, 2015 @04:03AM
(#9973663)
I really wish I could do something like that for our system. We need to hit the database almost every time a query comes in.
Re:Microsoft’s new small print – how your personal data is a...
by batou on Thursday July 30, 2015 @04:37AM
(#9973751)
Indeed. This is good motivation for you:
http://i.imgur.com/Q8NtKTk.png
Cache hits versus misses. The latter may result in multiple SQL queries whereas the former are returned from the cache. Imagine the cluster we'd need to support that!
That's over 28 days for reference.
Re:Microsoft’s new small print – how your personal data is a...
by hvidgaard on Tuesday August 04, 2015 @02:21AM
(#10001948)
It is, but the nature of the application demands that a write query is not considered done until it is guranteed persisted on the disk, and the same data is rarely queried often enough to warrant a dedicated cache layer. The data that is queried often is so far handled by SQL Servers buildin caching gracefully.
That isn't the same as we couldn't get some benefit, because we could especially as the userbase scales. But so far we haven't had to scale to the point where it's worth the added complexity to persuit. One can only look forward to the day it is.
Re:Microsoft’s new small print – how your personal data is a...
by redcalx on Thursday July 30, 2015 @03:56AM
(#9973641)
Do you have a view on Redis cache? It seems to be more popular than memcached at the moment.
Re:Microsoft’s new small print – how your personal data is a...
by batou on Thursday July 30, 2015 @04:32AM
(#9973735)
Yes. We stick with memcached. Every node in our cluster has an uptime of over 3 years handling up to 5000 requests a second so we're quite happy to leave it. In fact it's the most reliable thing I've ever seen I think.
Redis looks nice but I suspect that it may be easy to lean on it too much for functionality. We were looking at it for a couple of tasks but haven't found much motivation to move yet.