- 博客(9)
- 收藏
- 关注
原创 akka mutable state change example
class MutableStateActor extends Actor { var state = ... override def preStart() = { //you can also use for yield/await.result here, it's fine... state = ... } override def receive = { case ...
2015-01-06 11:10:37 327
原创 http error code
Just for my reference purpose. 200 Ok, all except for post 201 post success with location return 202 async return 204 no content, normally delete use it 304 not modified. client side err
2014-12-22 09:03:55 388
原创 rest api best practise
Mainly cited from http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api with my thinking. 1.always use nouns. 2.always use ssl. 3.prefer post to put. 4.version your api. 5.inte
2014-12-21 13:03:03 368
原创 Some thinking about scala concurrency compare to java
Prefer the java.util.concurrent packages to either low-level wait-notify, custom locking/synchronization, or higher level scala-specific primitives. The util.concurrent stuff is well thought out and a
2014-11-29 14:01:46 325
原创 note of kafka learning (first part, before replication)
sequential disk access can in some cases be faster than random memory access! The memory overhead of objects is very high, often doubling the size of the data stored (or worse).Java garbage col
2014-11-29 07:11:54 388
转载 job requirements
You should have hands-on development experience building distributed, Internet-scale systems, building and applying frameworks for caching, queuing, RPC, parallelism, and distributed data storage. Yo
2014-11-03 12:01:50 542
原创 scala unclear features to me...
(the followings are all unclear features to me...) 1. mixin class component 2. sequence comprehension 3. extractor objects (the followings are all unclear features) 2. mixin class c
2014-11-03 11:48:49 265
原创 scala future/promise usage
随便写写,做个小总结 1. Talking about scala future and p
2014-11-03 08:29:35 421
原创 scala best practise
随便看看https://github.com/alexandru/scala-best-practices/
2014-11-01 11:10:43 384
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人