Sunday, January 14, 2018

AWS Lamda



AWS Cloud9-based code editor - You can now edit code for your functions in a robust, IDE-like environment that is based on AWS Cloud9




https://docs.aws.amazon.com/lambda/latest/dg/tutorial-scheduled-events-create-function.html

Lock/Monitor, Mutex, Semaphore




A lock allows only one thread to enter the part that's locked and the lock is not shared with any other processes.
A mutex is the same as a lock but it can be system wide (shared by multiple processes).
semaphore does the same as a mutex but allows x number of threads to enter, this can be used for example to limit the number of cpu, io or ram intensive tasks running at the same time.