Menu

#12 Add support for long-lived objects

1.0
open
nobody
enhancement (1)
2013-10-31
2013-10-31
No

During the last workshop, Yannis mentioned that some of the objects he uses have a considerable start-up time and that it would be nice if he could use the same instances across different invokations of his metric providers. The obvious solution is to turn the respective classes to singletons but it may be something that we want to support at the platform level (e.g. platform.getLongLivedObject(Singleton.class))

Discussion


Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →