Search code examples
etherpad

How could I deploy etherpad-lite as a cluster?


I want to deploy the etherpad-lite as a cluster, Would you please give me some suggestions? Thanks.


Solution

  • This is not a small task (yet) but if you do solve it I think the rest of the Etherpad community would really appreciate it if you could push it back to the project :)

    Here is a basic howto:

    1. Do simulated load testing to ensure this is something you really need to do.

    2. Remove, re-engineer or Abstract Ueber DBs Caching (Using something like memcache)

    3. Replace the Etherpad Room/session system with SocketIO rooms

    4. Deploy sticky socket io rooms (keeps user a on pad a on same server as user b on pad a)

    5. AOB

    6. Do frontend testing

    Simulated load testing and frontend testing comes bundled with Etherpad. The other bits you will need to engineer yourself.

    If you aren't familiar with nodejs / socket / npm / etherpad then hire someone that is :)