Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最好在服务器开始时将所有实体加载到内存中,使用它并在完成后(关闭服务器)?或者如果我们在服务器处理数据的服务器场景中,它足够快地获取实体,在任何操作期间动态修改它并将其保存回数据库。最佳做法是什么?