Appserver.io – The First Multithreaded Application Server for PHP written in PHP
What if you could reliably run PHP without Nginx or Apache, but also without relying on its internal server? What if you could do async operations in PHP with true multi threading, fully taking advantage of multi core processors without hacks or a jungle of callbacks? What if you had drag and drop installation support for your PHAR packaged web apps in an environment identical to its production counterpart? Welcome to appserver.io – the worlds first open source application server for PHP written in PHP.
appserver.io is a multithreaded application server for php written in php. Their technology allows real multi-threading in PHP and different useful services for developers enabling more efficiency and security.
Why do we need it?
PHP does not support multi-threading leading to serious performance lacks and scalability issues. But with market shares of about 80% PHP is the leading development language for web applications waiting for multi-threading. And the community is waiting as well: I guess this will become a very important project.
Who is it for?
The appserver technology can be used for all kinds of PHP based web application, giving you more speed, real scalability and security. They also have plan to provide integrations for different existing applications like Magento and TYPO3.
What makes it stand out from the crowd?
It is the first real application server technology for PHP, written in PHP. Which means that you do not need any skills in other coding languages. It supports real multithreading for PHP and it is open source!
Multithreading is a very important thing for the appserver and the future of PHP. Special Thanks to Joe Watkins who started the pthreads extension for PHP some years ago. Through pthreads they are able to handle every user-request coming from browsers to the servlet container (webserver) at the same time asynchronously. Imagine request-handling without being able to do this in threads. Every user would block the other users request as long as PHP processes it and serves the response. As many of you will now say Ok, why aren't you using event based loops like done with react-php? The main advantage of using threads in your application is that all cpu cores will be used instead of just one core running at full load. The other big plus is that your code will stay clean and debugabble without having a callback massacre.
Installing applications on appserver.io is as easy as you can imagine – simply drag & drop: http://www.youtube.com/watch?v=f07kE1ebHR8
The performance of appserver.io is outstanding: Benchmarking with nginx shows that appserver.io is about 50% faster than nginx (based on a standard Magento installation) with no additional tweaks.
Appserver.io should be the new standard for PHP based web development with a world wide community supporting this technology and ideas. In the moment appserver.io is in beta stadium, but a final release is planned by the mid of 2014.
comments powered by Disqus
Solr and Elastic Search are built on top of Lucene. Both are open source and both have extra features which makes programmer life easy. This article explains the difference and the best situation to choose between them.
Cloud is nothing but more than one system or application distributed across the network, across the globe. It may have couple of application servers, database server, shared data storage, backup server and lot more. The resources in the distributed environment must have information about each other so that they could co-ordinate and share without any issues. ZooKeeper helps to do that.
You might have faced CommunicationsException, basically timeout issue in Java while connecting to MySQL using Hibernate. The session would be timed out after certain period of time. You might be thinking that the your site or application is running without any issue but it would have stopped or crashed due to exception.
Each website / blog delivers useful content or service to its users. But website themselves requires some service to monitor and increase its presence. Here are few free services which could be used by Website / Blog. This will be very much helpful for small business owners.
Web developers most frequent question, Should user images be stored in database or file system? Which is the best way. Both has some pros and cons.
Before moving to cloud, First decision to make is whether Scale up the hardware or Scale out with multiple systems. Both has its pros and cons.
Lucene is a search library built in Java. Solr is a web application built on top of Lucene. Certainly Solr = Lucene + Added features. Often there would a question, when to choose Solr and when to choose Lucene.
Students ask this question frequently steps or methodology to learn from open source projects. There is no single answer or steps available. I listed the steps which i follow and i hope this will help for few.
Git is the most popular SCM, initially developed to manage source of Linux kernel. Later many clients and tools are developed for Git. In this article we going to see various tools to use with Git.