Are there really any production issues in using memcached in Windows? - memcached

I'm currently testing Memcached in a Windows machine and we are planning to use it in production while Microsoft Velocity is still in CTP. It is running well so I believe that Memcached for Windows will do well when our site is already in production. I'm reading some blogs pertaining to this issue and some of them just mentioned that it must not yet be used in production.
If there are issues, please tell why? And please, if you have any links about this matter, just post it here. Thanks.

There is no official release of memcached on Windows. We're working on it right now, but unless you're pulling from a dev branch or you've downloaded a pre-release, you've definitely got an unsupported version with a large number of bugs and missing features from the last couple of years.

I've been using memcached in production for several years now (since early 2008). We're currently using a 12-instance cluster and it absolutely hums. I would recommend memcached any day of the week.

Related

Intall php5.2 on WHM 58 Cpanel EasyApache 4

I needs to install php5.2 version on my server. Right now php 5.4 is the oldest version installed. Since 2 days. I searched a lot over google but didn't find appropriate guidance yet. Tried a lot of tutorials no works at all. Any suggestion or guidance will be appreciated. thanks
I don't think there is any proper or easy way to revert to php-5.2.x from php-5.4.x; at least not using WHM interface or as an automatic process. Even if you have EasyApache3 you will not be able to downgrade from php-5.4.x to php-5.2.x
Your only option might be CloudLinux which comes with a php selector which allows you to select any php version from php-5.1.x to php-7.x.
You must know that Cloudlinux is not free and the license is around $10/month. They offer a 15 day trial so if you do all the necessary setting within that period you can just use it as much as you want. You won't be able to update it though and some of the functionality might not work as expected after the trial ends.
The PHP versions that you have mentioned are completely outdated and using them would be risky. Cpanel is never going to support it with their newer version. So your best deal would be to update your application/website to latest PHP and host with the latest PHP only

How to install PgBouncer on Windows 7 (x64)

I am attempting to install PgBouncer on my computer with no success. In the installation page, im told that PgBouncer has two dependencies GNU Make 3.81+ and libevent 2.0. Never having used or heard of these two software before, Im completely lost.
I have read a little on both but have yet to find or fully understand what they actually do and how they will help me set up PgBouncer. From what I've read, PgBouncer does not come compiled for windows and I need the other two to compile it. I have searched for tutorials online but it seems that im falling into a black hole of misunderstanding.
Im looking for a simple explanation on how to install PgBouncer or how these software work with one another. Thanks.
If anyone now searches the binaries because http://winpg.jp/~saito/pgbouncer is offline now, check out my page under https://sepppenner.github.io/PgBouncerWinBinaries/. I have all the binaries from the Saito page but didn't yet succeed to build the project on my own. If anyone has ideas, don't hesitate to contact me here or on Github :)
EDIT: I'm now able to build pgbouncer for windows just having some issues with the pandoc thing (Follow https://github.com/pgbouncer/pgbouncer/issues/442). I will provide binaries soon. The instructions are already online under the page listed above :)
Im looking for a simple explanation on how to install PgBouncer
A little late, but if you use the EDB installer for PostgreSQL, as linked on postgresql.org (https://www.postgresql.org/download/windows/), you can install Stack Builder. From inside Stack Builder, PgBouncer can be installed (EDB build).
Unfortunately, it's not the latest version. Now, PgBouncer 1.17.0 is available and Stack Builder provides 1.16.1.
Personally, I don't understand why the PgBouncer project doesn't just offer a Windows build. So everybody would be able to get the latest release.
I have not messed with pgbouncer in years but have had multiple comments on what I did to solve my problem.
In the link bellow is the pgbouncer build I last used on my project. From what I remember, all you would need to do is replace the users in the config/user.txt with yours and go into config/pgbouncer.ini and change the configuration to work with your set up. To start it, just run the run.bat file or pgbouncer.exe config/pgbouncer.iniin the cmd prompt. You want to download everything in the folder.
https://drive.google.com/open?id=1f8MjdQCq-ryQBiJ85d4hABASFfR_6fA2

Using HipHop VM on windows

I just read an article and learned about the HHVM which is built on the lines of JVM for Java. I went ahead and tried searching on the web, but found only articles about installing it on Ubuntu build 12 version.
I have been using a WAMP stack and would like to know if I can use the HHVM for any of my application. Also,I would like to understand if the HHVM can be integrated with our existing applications. Earlier an article suggested HipHop was what FB wrote to enhance their performance based on their requirements,and it may not suit yours. Is the same case with HHVM?
At present, HHVM does not support Windows. The HHVM team probably will not be adding Windows support in 2013, though they might pursue it at some point in the future. The team gladly accepts code contributions from developers who want to improve HHVM's support for different platforms at https://github.com/facebook/hiphop-php . You can also open a github issue at https://github.com/facebook/hiphop-php/issues to ask about Windows support.
Just as an update, since this is still popular - there is an official compiling/installation guide here at their Wiki for windows.
Full installation run-through guide.

Orchard CMS on Mono

This question might be slightly subjective, but I am unsure where else it would be better suited.
I have used Orchard on a number of projects where the server was Windows Server based - integrating with AD, SQL etc to provide a MVC based portal - like stealing candy from a toddler!
I have been exploring MonoTouch recently, and installed Orchard on OSX under ModMono as per http://docs.orchardproject.net/Documentation/Running-Orchard-on-Mono.
It all seems to run fine, and fast, but I am unsure whether to back this on a commercial venture. I have always used MySQL or MSSQL as the DB, whereas my current install is running PostgreSQL - something new (which is always good).
Does anyone know of any sites which use Orchard running on Mono, with ModMono (Apache2) and PostgreSQL?
I plan to deploy to a cloud server running CentOS and Mono to do further testing before going any further, but think it could be an exciting avenue to explore.
I can't say I know of any sites that run Orchard on Mono commercially but I do know of a lot of sites that use Mono, Postgresql and CentOS. But if it works on a Mac running Modmono and Postgresql then it should work on CentOS.
The only issues that you may face running on Linux is case sensitivity. If you do run in to case sensitivity issues when you are trying out Orchard on Linux then you may want to configure your site to use Mono IOMAP temporarily until you fix an issues with case sensitivity.
This is a very reliable and cost effective stack. It may take a bit of research and problem solving to get up and running initially but once it's running it should be very stable.
I am currently near the end of porting an application that is going to be using Mono, Postgresql and Ubuntu running on Amazon EC2. I believe that Ubuntu is better than CentOS when it comes to Mono as it is much easier to setup and seems to be better supported. You can use the badgerports repositories located here if you want to try out the latest version of Mono on Ubuntu.

Which version of JBoss AS to use?

We are using JBoss 4.2 GA, and need use a newest version in some new project.
I heard that JBoss 5.0 encounter such bugs... is this correct?
If not, which exact version of 5.0 to use?? and what about 6.0??
Thanks.
JBoss AS 5.1 is perfectly fine. Every app server has bugs, they're big, complex applications in themselves, but 5.1 is solid.
JBoss AS 6 hasn't been released yet, it's still in beta.
Jboss Application Server 7 is released, and up to a beta version of 7.1.0. You can download a copy here, and find the Getting Started Guides here.
As with any major revision of an application server, there are significant changes that might impact upon your business and will need to be considered in the context of your use case. Being an open source project, the early praise and early bugs are in the public arena, so it is easy to research for yourself.
Working on a documentation project involving AS7 I have seen some of the great work that the team has undertaken, and I couldn't imagine going back to a previous version now I've enjoyed the fast boot-up times, the ease of application deployment, custom configuration and the powerful Management CLI.
These kinds of improvements and features, not just constrained to JBoss Application Server or JBoss Enterprize Application Platform, speak volumes about the speed, stability and usability that will be increasing exponentially in this field for all competitors over the coming years. I'd urge you to check out the current generation of application servers if your experience is largely with JBoss AS 4.2.