Protopage 란것을 발견했는데 StartOn 과 상당히 유사한 서비스를 제공하네요. 약간 다른점은 각 페이지로 구별을 할수 있고 public혹은 private으로도 설정해 공유여부를 결정할수 있습니다. 저도 함 만들어봤습니다. http://www.protopage.com/kwangsub Use it to catch up with news from hundreds of sources (including the BBC, CNN, Reuters, New York Times, London Times, CNET, ESPN, ...) Put color coded sticky notes, todo lists and reminders on it Keep your frequently accessed bookmarks on it Name it (e.g. as www.protopage.com/yourname ) Share parts of your page with friends, or keep it private Use it to share photos
key-value store 를 찾던중 Redis(http://redis.io/)를 보는데 설치, 사용, 문서가 딱 마음에 든다. 쓰고 싶게 만드는구나. 내가 만들었던 플랫폼들을 보면서 약간의 반성과 교훈을 얻은듯 # 설치 $ wget http://redis.googlecode.com/files/redis-2.6.9.tar.gz $ tar xzf redis-2.6.9.tar.gz $ cd redis-2.6.9 $ make # 서버 실행 $ src/redis-server #클라이언트 실행 $ src/redis-cli redis> set foo bar OK redis> get foo "bar" # 튜토리얼 (10분) http://try.redis.io/ # 튜토리얼 정리 > SET foo bar > GET bar - SETNX (SET-if-not-exists) 키가 없을때만 값을 셋팅 - INCR 키를 자동증가 SET connections 10 INCR connections => 11 INCR connections => 12 DEL connections INCR connections => 1 아래같은 상황을 위해 만든거라고 한다. 1. Client A reads count as 10. 2. Client B reads count as 10. 3. Client A increments 10 and sets count to 11. 4. Client B increments 10 and sets count to 11. 원하는건 12여야 하는데 결과는 11이라는거지. 그런데 이걸 이렇게 구현하나? - EXPIRE, TTL SET resource:lock "Redis Demo" EXPIRE resource:lock 120 // 120초 후에 사라짐 TTL을 이용해 expired time이 얼마 남았는지도 확인
댓글
댓글 쓰기