ANJY - Dynamic Web Server


Let's explain why do we need ANJY server.

How do standard servers work?

  1. Your request goes to apache / nginx

  2. If it's *.php file – starting php-interpreter

  3. If you are using database in web-app then do:

    1. Connect to DB

    2. Perform Query

    3. Return result to PHP

  4. Format data in VIEW template

  5. Return response to your browser

Why standard server is so slow?

Apache starts PHP each time when you press F5 or navigate to some page on your website. PHP has to read and interpret your scripts each time. PHP connecting to DB each time.

How to make it faster?

Use the server with a permanent DB connection. Don't use interpreters. Use logic in Front VIEW template (JavaScript)



ANJY already has a connector for DB (MySQL, MSSQL, Postgre). So you don't need a 3rd part for using your DB data. You can install/use it in Windows (x64) and Linux (x64) platforms


Windows installation

Download (win x64)

  1. Unzip archive to directory that will be a server

  2. Run install_windows.cmd with administrative rights

  3. Now you can start|stop|restart service via services control panel

Linux installation

Download (linux x64)

  1. Unzip archive. Archive has folders that have structure like linux file system

  2. Put files into folders on your server as is. For example: put /etc/init/anjy.conf at the same path on your server

  3. Change file permissions to 755 for executable file /usr/sbin/anjy and /etc/init.d/anjy

  4. Enable daemon by using command systemctl enable anjy.service

  5. Now you can start|stop|restart service via service command