17:26:20 GMT are there any clientside cache techniques for redis? to mitigate network latency 17:26:33 GMT and load 17:28:18 GMT nothing stopping you from dropping an in-memory LRU cache on your application's functions 17:37:08 GMT minus: yeh, its application specific though; am thinking of building a tool that'll basically proxy between the cache server and the client; you can configure it to cache data based on various parameters 17:39:08 GMT you must have a specific use case for that; i can't imagine where that would be very helpful. adding caching to your code where necessary seems more appropriate, because you can "configure" it in-place (as opposed to having to configure an external tool) 17:41:06 GMT minus: sure, in my case too much network saturation, and not to forget latency, which can be reduced significantly if there is a flexible local cache - you can tell it to cache certain queries for X amount or something 17:41:47 GMT I hate having to add copious cache handling code 17:42:01 GMT and overtime it just turns in spagetti 17:42:18 GMT heh 17:43:11 GMT i'm always thinking of python when thinking of caching functions; you just slap on an @lru_cache() on the function and you're good 17:43:34 GMT sure, but not everyone is building apps in py 17:43:44 GMT not a py guy personally 17:44:03 GMT its more seperation of concern I guess 17:44:34 GMT app focuses on modelling the business, and some external daemon handles the caching/proxing or whatever 17:44:51 GMT it'll be well suited for a microservice archecture, which is very chatty 17:45:14 GMT actually, microservices could benefit immensely from it 17:45:43 GMT network latency is a massive bottleneck for "service oriented" designs 17:46:37 GMT it could be extended to support other cache servers too I guess 17:46:54 GMT or even services directly? 17:47:13 GMT minus: yup 17:48:16 GMT its got to be fast, so no python - probably C :D 17:48:22 GMT ;P 17:48:36 GMT how about Go/Nim/Rust? 17:49:07 GMT ah, Go - forgot about that 17:49:21 GMT thanks, will dig around 17:49:51 GMT I'll whip something up, and keep you guys posted on it :) 17:50:08 GMT one concern i'd have with such a proxy layer is that it's an additional component to deploy, monitor and so on 17:50:14 GMT what's your take on that? 17:51:27 GMT and a somewhat unrelated question: what do you build your SOA on? w.r.t. configuration and discovery of services 17:52:38 GMT minus: agree; has its trade offs, although the development community is heading towards containerisation, more service oriented systems (which is a bit of a double edged sword), so adding another component shouldn't be too problematic 17:53:24 GMT if there is network downtime, it can pull copies from the cache 17:53:39 GMT but if IT goes down, then you have other issues; heh 17:53:53 GMT ;) 17:54:17 GMT minus: cloud foundry here 17:54:24 GMT kubernetes is good also 17:55:00 GMT how large is the deployment you're working on? 17:56:50 GMT minus: well, we're currently migrating from a 5 year old monolith, very messy - we're expecting about 15 odd services at the end of the project; but we need to be careful, too much seperation and we'll be in serious trouble 17:56:51 GMT but if you're using cloud foundry it's probably larger 17:57:50 GMT minus: for a microservice/soa deployment, I wouldn't try to re-invent the wheel; CF gives you loads of good tools, and room for good growth 17:58:13 GMT if you do your own plumbing, its going to be hard, real hard 17:58:14 GMT mhh 17:58:22 GMT esp long term 17:58:33 GMT currently doing some own plumbing 17:58:57 GMT how many services? 17:59:16 GMT 4 if i counted correctly 17:59:57 GMT not too bad then 18:00:21 GMT containerised? 18:00:28 GMT deployment is already scripted with ansible, so it's not too painful deploying every other month or so 18:00:43 GMT yeah, although that's more of a pain than a gain imho 18:00:49 GMT docker fails way too often 18:00:52 GMT agree 18:01:03 GMT another fad I guess 18:01:17 GMT its good if you are working towards an immutable infrastructure 18:01:24 GMT but you really need to justify its use 18:01:34 GMT because its more work, maintenance and overhead 18:03:00 GMT ansible is good; being using it for about 2-3 years for our monolith, its gone downhill lately though which is a shame - fortunutely, saltstack guys are still holding out a solid product 18:03:13 GMT been* 18:08:14 GMT ansible's gone downhill? 18:11:03 GMT yes, annoying bugs - although, I think salstack has always been a lot more mature from get go 18:18:24 GMT salt requires an agent on the managed host? 18:20:24 GMT yup - actually, thats why we didn't go for it in the first place. But in retro, I think that's a minor aggrievance; when we run ansible playbooks on 20+ hosts, it takes forever, whereas SS would have taken a fraction of the time (due to the agent) 18:24:21 GMT yeah, in hindsight… 18:24:30 GMT we went with ansible for the same reason 18:25:17 GMT but running ansible deployments from europe to east asia or america is terrible