pgo icon indicating copy to clipboard operation
pgo copied to clipboard

Start unnamed pools

Open lpil opened this issue 1 year ago • 2 comments

Hello!

Would it be possible to remove the requirement for pools to be named?

Currently if we want to dynamically connect to a database (for example, using different databases for different users in a multitenant system) we need to dynamically generate an atom and have some mechanism for recycling these atoms to avoid hitting the atom limit. This can be challenging to implement.

If we could reference the pool using a pid or a reference rather than a name we wouldn't have this issue.

Thanks, Louis

lpil avatar May 15 '24 10:05 lpil

Good point. I can't think of anything that would make this not possible. Only "difficulty" may be the API. I'll take a closer look and see what I can do.

tsloughter avatar May 15 '24 10:05 tsloughter

Thank you!

lpil avatar May 15 '24 14:05 lpil