openego / eGon-data

GNU Affero General Public License v3.0
10 stars 4 forks source link

Cache `Engine`s on a per process basis #1062

Closed gnn closed 1 year ago

gnn commented 1 year ago

Not much more to say. Creating only one Engine per process reduces the number of connections which fixes #799.

Before merging into dev-branch, please make sure that

nesnoj commented 1 year ago

This simple solution brought the connections down to a max of 62, very nice!

eGon-data_conn_record

Tasks: HP eGon2035 HP eGon100RE eMob MIT

So please go ahead and merge this one @gnn :)

nesnoj commented 1 year ago

@gnn After merging, please remove the corresponding patch from the dir on both servers

nesnoj commented 1 year ago

*push*