Wednesday, October 7, 2015

TODO: Create list of 10 algorithms to implement every 6 month

Create list of 10 favorite algorithms to implement every 3-6 month.
Implement in different languages.
Implement every n month
Notice/review changes in implementation speed quality.
Publish on github

TODO: Create list of non trivial programming to implement every 6 month

Create list of 10 non trivial programming problems to implement
Implement them in different languages.
Save impl in github
Re-implement every 3-6 month. Review changes in implementation.

Started mongodb and node js course at mongo university

This is my 2nd or 3rd attempt on that course
https://university.mongodb.com/courses/M101JS/about

Started course Algorithms Design And Analysis Part 1 (Stanford)

This is my 3rd attempt to complete this course
https://www.coursera.org/course/algo

Sunday, September 27, 2015

AppNexus meetup

AppNexus meetup
2009

akka model

other concurency models
thread
process
futures (no state)
CSP(channels)

actor is persistent (exist even dont do anything )
has internal state
create actors
receive messages and do something
send message
process 1 message at a time (has inbox queue)

w: mutex (lock)
w: race conditions

'Best effort' delivery
at-most-once delivery
message can take arbitrary long time to deliver
no message order garantee

Has address
indentifies an actor or balancer
may represent  proxy forwarder or actor
location transperency
address can be remote
actor can have many addresses

supervision - monitors state of actor (usually other actor)

Supervision tree
address dont change on restart
mailbox is persistent outside of actor
you can kill actor and inbox will be persistent

use cases:
processing pipeline
streaming data
multi-user concurrency
system hight uptime requirements (ericson)
apps with shared state

breaking up the work for many actors

anti-use cases:
performance critical applications
non concurrent
synchronous and stateless










Coding standards globaldev

globaldev/standards · GitHub: