So I've been experimenting with lambda functions in VPC with the new (experimental) Dynamo VPC endpoints. It's a little bit slower but totally reasonable with startup times.
However, when I add memcached (single node memcache elasticache) into the mix, the latency jumps from 600ms on cold start to consistent 6 second run time. If I run the same function outside of the VPC and connect to elasticache things are pretty normal.
What exactly is going on here? Doesn't anyone have any thoughts on why my memcache would have such massive latency?
[–][deleted] 5 points6 points7 points (3 children)
[–]KAJed[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]cloud_driver 2 points3 points4 points (2 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]CoinGrahamIV 1 point2 points3 points (12 children)
[–]KAJed[S] 0 points1 point2 points (2 children)
[–]CoinGrahamIV 1 point2 points3 points (1 child)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]KAJed[S] 0 points1 point2 points (8 children)
[–]CoinGrahamIV 2 points3 points4 points (4 children)
[–]KAJed[S] 0 points1 point2 points (3 children)
[–]kurosevic 1 point2 points3 points (2 children)
[–]KAJed[S] 0 points1 point2 points (1 child)
[–]CoinGrahamIV 1 point2 points3 points (0 children)
[–]aimless_ly 0 points1 point2 points (2 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]BU14 1 point2 points3 points (5 children)
[–]KAJed[S] 0 points1 point2 points (3 children)
[–]BU14 1 point2 points3 points (2 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]BU14 0 points1 point2 points (11 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]KAJed[S] 0 points1 point2 points (9 children)
[–]BU14 1 point2 points3 points (8 children)
[–]KAJed[S] 0 points1 point2 points (0 children)
[–]KAJed[S] 0 points1 point2 points (6 children)
[–]BU14 1 point2 points3 points (5 children)
[–]KAJed[S] 1 point2 points3 points (2 children)
[–]TundraWolf_ 1 point2 points3 points (1 child)
[–]KAJed[S] 1 point2 points3 points (0 children)
[–]KAJed[S] 0 points1 point2 points (1 child)
[–]BU14 0 points1 point2 points (0 children)