📜 ⬆️ ⬇️

Pagodabox - hosting PHP projects

image Pagoda Box is a new PaaS for PHP projects. This means that having filled out only a few fields in the form, you can run your project on a scalable platform, where the first dose is free and besides this, a large batch of invitations were given out specifically for habra readers, in order to receive one - write in private (your email is not required).

PS
I am not a member of the team developing the described service, but I have a package of invitations.

image


Scalability is provided through cloning (app clones). A clone is a single backend that processes requests to an application, the more clones you have, the more requests you can process per unit of time, if upon receipt of a new request there are no unoccupied clones, then the request becomes in a queue and is processed as soon as possible, waiting in a queue I still understand, can not be more than 5 seconds.
')
image


There is a visual representation of the request processing process with explanations for each stage: an incoming request is processed by a firewall, then, in the case of SSL, the request is decrypted and sent to the router (in fact, it is a front end that knows about all backends - clones and redirects requests to them), from the router's request is sent to the clone, which in turn can access the database (currently only MySQL is supported, to which you can easily connect via the tunnel from the local machine, other databases are also on the queue), and Memcached. Also in the description of the service there is a mention about the implementation of the CDN, but I somehow did not encounter that somewhere there is something related to it so far.

The clone is configured using the .box file, while there are already templates for 28 libraries / CMS. There are already several overview videos and an extensive documentation section .

image

Recently, a blog post about development plans appeared: the behavior model from the current one with queues and simultaneous requests to some more understandable will be changed, the choice of what will stand on clones (nginx or Apache) will be presented, changes in the UI and the .box format are also planned a file that will allow some services to run from it. After these changes in the infrastructure, the team plans to switch to open beta status and implement support for Memcache, MongoDB, Gearman, Background Workers, Pre / Post Deployed Scripts, Scheduled CRON tasks, Dedicated Databases, after which the service will go to gold and the team will deploy Wildcard Subdomains, Pagoda Box Developer API, Pagoda Box Hosted Git Repos, Open Git Provider Support, Autoscaling (Time-Based (Predictive), Rule-Based (Predictive and Reactionary).



Perhaps you have previously encountered similar service (for example, orchestra.io ), but the Pagoda Box looks more functional, but at the moment there is one, perhaps a serious limitation - your project should be on github, private repositories are also supported, you can also do it for free to tie your domain to a running project, so if you have any non-large projects of your own then they can definitely be placed on the Pagoda Box before reaching a certain scale.

Source: https://habr.com/ru/post/127016/


All Articles