Skip to content

jlyt898/fae

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fae

     ____      __      ____ 
    ( ___)    /__\    ( ___)
     )__)    /(__)\    )__) 
    (__)    (__)(__)  (____)

Funplus App Engine

It's middleware RPC engine.

Why?

  • Seperation of concerns
  • Reuse common code as service and transparently reuse infrastructure
  • Centralized best practice
  • Centralized monitoring, auditting and profiling
  • lessen tcp 3/4 way handshake overhead(conn pooling)
  • Scale
  • Polyglot development

Features

  • local LRU cache shared among processes
  • memcache servant
  • mongodb servant
  • distributed logger servant

Architecture

    +----------------+  +----------------+  +----------------+
    | php-fpm worker |  | php-fpm worker |  | php-fpm worker |
    +----------------+  +----------------+  +----------------+
        |                       |                       |
         -----------------------------------------------
                                |                        
                                | unix domain socket
                                |                        
                        +---------------+
                        |  faed daemon  |
                        +---------------+
                                |                        
                                | tcp long connection pool(keepalive)
                                |                        
    +----------------+  +----------------+  +----------------+
    | mongodb servers|  |memcache servers|  | ... backends   |
    +----------------+  +----------------+  +----------------+

About

Funplus App Engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published