I need to create a rails app where authentication and permissions for
certain application actions will be provided by LDAP server. There is
a problem with LDAP connection management, as every user login will
spawn new connection object instance it may dangerously increase
application memory usage (tbh i dont know what will happen, nothing
good for sure) - LDAP server can close connection remotly after some
idle time, but some connection resources will remain in memory non the
I've made some google research what may be best course of action to
manage this issue and i think creating connection pool sounds good.
I've commited few average sized rails projects but nothing i've
experienced so far is giving me any clues how to implement this
I'll be happy to hear how You would do it.