This PR includes various performance fixes. Some related to faster javascript, but the most important one is the one related to notifying waiting jobs, which now uses a blocking operation instead of pubsub. This solution completely removes the overhead of having many concurrent workers reacting to the pubsub 'added' event.