5 ms·
The fuel of Interstate: One year later
- samstokes 15y agoOur use of Redis for caching has somewhat reduced and we’re now using Memcached a lot more aggressively than we were a year ago. Could you say why you decided to migrate from Redis to Memcached for caching?
- sim0n 15y agoA lot of the caching we're doing is just plain key/value and so it was easier to just increase our usage of Memcached (we were already using Memcached at the time). If we need to store more complex structures in memory (e.g. lists) then Redis will be high on the list of choices. Since I wrote this piece, we've been looking in to reworking our notifications and activity feeds so there's a good possibility that we will be looking in to Redis again.
- davidandgoliath 15y agoNote: Though somewhat off-topic, another project from BakedCode is offline -- prompt.im
- sim0n 15y agoYeah, unfortunately we were using an early open-source project to handle the real-time aspect of Prompt and when we needed to upgrade socket.io (one of the project's dependencies) to support the newer Web Socket protocol, it broke the app. We'll hopefully get some time to fix Prompt soon!
- rbranson 15y agoCool, but I'm not sure I get the point. This post just seems like a way to attract attention to Interstate without giving anything back to the reader.
- sim0n 15y agoThe post is simply to offer a behind-the-scenes look at our app and to see the shiny technologies we're using.
- mrspandex 15y agoI know I'm a minority, but visiting your main site in Opera is a very unpleasant experience.
- ramchip 15y agoWow - the main site has to be one of the most Opera-hostile pages I've ever seen. Everything flickers as I move the mouse over the text, and the login pops in and out for no apparent reason... As long as the mouse stays out of the page it displays just fine, though.
- sim0n 15y agoWow - that shouldn't be happening, thanks for letting us know. I'll take a look in to it now. Edit: Fixed, there was a silly HTML error introduced in a recent commit which only Opera didn't like. Sorry about that.
- SkyMarshal 15y agoOut of curiosity, what was it? Sounds like an interesting edge case for us Opera-lovers.
- sim0n 15y agoThe bulk of it was caused by the fact we had an element which was only visible on-hover (a drop-down sign in menu) and within that element was an unclosed <label> tag. Because the label was unclosed, the rest of the page was being trapped in the <label> element which meant the lower half of the page only displayed when the parent element was visible (thus causing the flickering effect as the element was shown/hidden).
- ramchip 15y agoNice! Thanks for the quick fix.
- LeafStorm 15y agoThe main problem that I have with PHP the language is the ugliness and weirdness of the syntax. Something like CoffeeScript for PHP, that compiles to PHP (but with nicer syntax), could help alleviate that.
- baddox 15y agoThat would break the biggest advantage of PHP (which granted, is already fading), which is the ability to immediately and effortlessly deploy scripts to basically any web host in the universe.