Hacker News new | ask | show | jobs
by throwaw12 939 days ago
how about 1?

Imagine a scenario, your service is a low traffic, but service which embeds you as a library is a high traffic with many instances and always opens DB connection.

Why should you optimize your Database for high traffic use case, when your use case is really a low traffic?

And then repeat this for 10 other libraries and library owners. Everyone is optimizing for nothing.

make it even more difficult, 100 different types of services with different traffic patterns are embedding your library with different behaviours when it comes to managing DB connection state