How I can install varnish cache in my app openshift? - caching

I need to install and set up step by step the varnish cache in an application in OpenShift , but I do not know where to start and not the steps for this. Can anyone help ?

If you mean OpenShift Online in current production version, it's older version 2.x, based on RedHat's own container technology.
If you have OpenShift Origin or OpenShift Enterprise or OpenShift Online Developer Preview, probably it's version 3.x, and it's based on Docker.
You can definitely tell which version are you using by looking at CLI tool's name. If it's rhc, it's older version 2.x, if it's oc, it's newer Docker based.
For newer Docker base, you should be able to deploy any docker image, so varnish should be no problem at all.
You just have to build your own docker image and follow OpenShift tutorial to deploy it on your platform.
I started to play with it, but don't have enough know-how to provide you with step-by-step tutorial right now, maybe in a week or so.
However, if you are using older public version of OpenShift Online, I have a bad news for you.
I've tried to compile static version of varnishd, no luck till now. And I'm not going to try anymore, because fully static version of varnishd is not possible at all, as it's based on dynamically loading of compiled VCLs, thus should be dynamically linked to OS libraries.
And this could be a bit hard to achieve. You have to match correct versions of OS libraries and still it's fragile as it could possibly break after upgrade of underlying OS.
I wouldn't try this in production.
I suggest you to try another could provider, either IaaS solution with full OS with varnishd installed from packages, or choose any Docker hosting provider.
Or, if you can afford it and it's worth for you, you may try http://fastly.com/, a CDN provider.
Their technology is based on customized older version of varnishd, with easy to use GUI, a lot of fancy built-in stats, etc... But the most important feature is you can deploy your own VCLs upon request. If they enable it to you, you can upload new VCL in few seconds.
Good luck.

Related

Lua MVC framework on Heroku

I have been developing a Web app in Lua via Sailor MVC framework on Windows with MySQL and Apache 2 using mod_lua.so.
Is there a way to run it successfully on Heroku platform or not?
Regards
Heroku doesn't officially support Lua (ref: https://devcenter.heroku.com/articles/buildpacks#officially-supported-buildpacks). That being said, there appear to be a number of third-party buildpacks that give you a Lua runtime. The first couple that showed up on Google seem somewhat stale. The good news is that you can create your own buildpack if none of the existing ones work for you.

Installation error for CNTK v2beta15

I am trying to run my model on Philly cluster which uses CNTK v2beta15 with py34. Could someone point me to the documentation for that particular version as many commands and examples of CNTK v2.0 (stable) are not working on Philly. Also, I am running into issues while installing the v2beta15 locally. I downloaded the binaries and trying to run install.bat while the machine crashes.
Any solution would be very helpful!
Python documentation for 2.0b15 is at
https://cntk.ai/pythondocs-ver/2_0-beta15/
Also, consider rephrasing your question to benefit other SO users. Is the Philly cluster something that the rest of the community should care about? If you have issues with internal infrastructure in your organization it might be best to contact the team responsible for that through non-public means.

Magento: Are there stats on install base (by version) for module developers?

As the question states, I am preparing to deploy my first couple modules on the Magento Connect store and want to make sure I am targeting the best versions. Testing on 1.3 is proving to be a bit of a pain, and if only a few people use that version I would rather spend the time making the modules better!
Google hasn't helped as yet, though I think the keywords I use are getting picked up as other more specific technical questions (Google Base, for example).
Does this information exist? What about your personal experience? For me, I have only encountered installations below 1.5 Community (1.10 Enterprise) for upgrade projects. I haven't personally encountered a client that is on 1.4 and plans to stay on 1.4.
Thanks!
Tim
There are a signification amount of people who have older versions and wont upgrade because of the complexity and the amount of modification they have done to their stores.
Most people right now who are on community version seem to be on 1.5 or 1.6, but if you want to test older versions just download from the archive install locally and see if it works for the older versions.
Here is a link to the downloadable versions of magento, in case you decide to test on those older versions:
http://www.magentocommerce.com/download - click released archived tab at the top

Upgrading websphere from v6 to 7 - what is the best approach

Hi
we are upgrading websphere application server(WAS) from v6.x to 7.x
currently WAS is installed at:
/usr/IBM/WebSphere/AppServer - default location.
What is the best way to upgrade to 7.x, and recreate profiles with least downtime?
If you are talking just about WAS with no extra IBM products (like Portal, Quickr, Connections, etc) on top of it your best off setting up a new fresh one next to your old one and manually making the configurations (data sources etc). It takes only couple hours to install and update one and if your applications have decent documentation about their requirements it shouldn't take more than a few hours to set up the rest... Then you can simply test it and redirect the traffic.

CouchDB on Windows?

I started exploring CouchDB and I am interested in following:
Is there or will there be a Windows install?
If there is, is there a shared hosting provider that offers CouchDB?
Not knowing much about it, can it be somehow embedded in my application or bin deployed (don't laugh).
The most reliable source is the CouchDB download page
There are several places offering CouchDb hosting. Besides Cloudant, you can use most Infrastructure-as-a-Service parties like Google, AWS, etc.
This question was asked (and answered) elsewhere on StackOverflow here and here.
There's a Windows version now, available on CouchIO (http://www.couch.io/get) blog.
Download & Unzip
Double-Click bin\couchdb
Relax!
Visit http://127.0.0.1:5984/_utils
There's been a fully compatible Windows build of CouchDB shortly after every source release, since the initial 1.0.0 release over 18 months ago. You can get this directly from the Apache CouchDB mirrors http://couchdb.apache.org/ now.
NB the embedded test suite is actually for developer testing; due to subtle timing constraints not all tests will pass first time round on every machine. In the next release of CouchDB, the tests will be done outside the browser which will be both simpler and more robust.
Please up-vote this so we have the right information to hand.
Since this question was posted, there is a Windows download available at https://couchdb.apache.org/ .

Resources