Database connection pool issue with serverless lambda function

If you are using serverless lambda functions with Relational database, you may have come across the issues when number of connection with the database gets exhausted.

In this blog, I will be explaining what could be the causes that may lead to such a situation and how can we overcome this.

So, before diving into the issue directly, I would like you to understand the life cycle of a Lambda function. Please go through this link to understand the lifecycle.


The why, what and how of Serverless Monitoring

Anyone who has worked on serverless will praise the ease it brings but will also agree on the shortcomings it has, for now. With increase in adoption and constant onslaught of new tools and features, we are moving towards making it truly passable.

We have come a long way considering how new all this is for all of us. AWS was the first provider considered to have a serverless offering back in November 2014. And in mere four years, here we are.

But it’s not easy developing a serverless application without the full overview of every part of the system. In early days it was cumbersome to test the functions entirely without uploading them. The community faced the challenges head on and worked on it to improve the ecosystem, and now we have serverless-offline and localstack to deploy and test our code locally.

One of the many challenges developers face when working with serverless is monitoring.


Life @ Causecode: A Glimse Into Our Workplace

Maintaining an effective culture is so important that it, in fact, trumps even strategy” – Howard Stevenson

It can get a bit difficult to describe a company’s culture, even though one would work in one throughout the day. From team-based culture with employee participation at all levels to traditional and formal management style, every workplace has its own set of values and company culture they follow. Workplace culture is not usually distinguished to being good or bad although, the aspects of your culture are likely to support the progress and success of an organization. It is known to be the character and personality of your company that defines the environment the employees work in. It helps distinguish an organization as it sums up its values, traditions, beliefs, behaviors, and attitude.

A strong culture flourishes with a clear set of values and norms that actively guide the way an organization operates and that is exactly what I learned and observed when I joined the CauseCode team. Being only two months old in this company, I was pleasantly astounded by the workplace culture adopted here that results in high employee involvement, strong internal communication and a healthy level of risk taking which encourages new levels of innovation. The employees here are actively and passionately engaged in their tasks, operating with a sense of confidence and empowerment. Diverse thinking and interests are gracefully understood and respected around here yet the employees possess same work culture values and purposes in order to foster a cohesive community of people within the walls of the organization. I also happened to have observed and experience the constantly motivated enthusiasm environment that is clubbed with strong work ethics. The work environment generated around is healthy, motivated yet a fun environment to work in, in order to increase productivity and make work enjoyable for all the employees.



Do you want to get articles like these in your inbox?

Email *

Interested groups *
Technical articles