yes there was a problem when optimizing a real-time data processing solution so as it's obvious using Python and real-time solutions and performance is not something that you hope for but you still can create one such system and as for AWS lambda there were some functions like report functions and benchmarking functions which I created for one of my projects in which report and benchmarking was required and since AWS lambda is very fast there wasn't any problem in real-time data processing and as for scalability yes the functions the structures and everything was designed in such a way that it would be scalable like for example if there is an ID that we have to pass to a function and we may or may not get that ID as an argument for that function so what we can do is get that ID from the environment of the client side because that's where I implemented it the client side will definitely have the ID if it's not provided in the argument so that's a flexibility and scalability thing
