{"action":"opened","issue":{"url":"https://api.github.com/repos/evennia/evennia/issues/1033","repository_url":"https://api.github.com/repos/evennia/evennia","labels_url":"https://api.github.com/repos/evennia/evennia/issues/1033/labels{/name}","comments_url":"https://api.github.com/repos/evennia/evennia/issues/1033/comments","events_url":"https://api.github.com/repos/evennia/evennia/issues/1033/events","html_url":"https://github.com/evennia/evennia/issues/1033","id":174662879,"number":1033,"title":"Strategy for gradual loading of Objects into memory after reload?","user":{"login":"TehomCD","id":17857779,"avatar_url":"https://avatars.githubusercontent.com/u/17857779?v=3","gravatar_id":"","url":"https://api.github.com/users/TehomCD","html_url":"https://github.com/TehomCD","followers_url":"https://api.github.com/users/TehomCD/followers","following_url":"https://api.github.com/users/TehomCD/following{/other_user}","gists_url":"https://api.github.com/users/TehomCD/gists{/gist_id}","starred_url":"https://api.github.com/users/TehomCD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TehomCD/subscriptions","organizations_url":"https://api.github.com/users/TehomCD/orgs","repos_url":"https://api.github.com/users/TehomCD/repos","events_url":"https://api.github.com/users/TehomCD/events{/privacy}","received_events_url":"https://api.github.com/users/TehomCD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-02T01:39:00Z","updated_at":"2016-09-02T01:39:00Z","closed_at":null,"body":"#### Brief summary of issue / Description of requested feature:\r\nSo I have a @roster command, which lists the Character objects of characters, along with various\r\nattributes and so on. The problem I'm running into is that loading all these characters into memory\r\nall at once after a server reload is an extremely expensive operation. On my home PC where I'm running\r\nthe old version of Evennia, I'd expect it to take a good 6-8 seconds after a server reload - kind of annoying, but I could deal with that as a once-per-reload deal. But on a digital ocean server I'm spinning up with the new version of Evennia, it's upwards of 30+ seconds. Is there any sort of strategy I could have for gradually loading tagged objects into memory at every server reload? Like some Tag I'd put in them that'd mark that I'd want to get them loaded, even if I don't do it all at once? I'm trying to think of some good way to spread it out so that it's not some crippling operation that locks the database for 30 seconds at a time that continues to spiral up if we get more characters on our roster.\r\n"}}
{"actor":{"display_login":"TehomCD"}}