我通过pm2保留进程,当我得到一个错误时,pm2重新启动节点应用程序,我想将用户数据保存在ram中,是的,我将一些用户数据放在ram中,并希望在节点进程重新启动时保持其活动状态。
你必须使用类似 redis 的东西来将数据持久化到内存中。
我通过pm2保留进程,当我得到一个错误时,pm2重新启动节点应用程序,我想将用户数据保存在ram中,是的,我将一些用户数据放在ram中,并希望在节点进程重新启动时保持其活动状态。
你必须使用类似 redis 的东西来将数据持久化到内存中。
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium