Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

가상 액터 모형과 Project orleans

33 views

Published on

가상 액터 모형과 Project orleans

Published in: Software
  • DOWNLOAD FULL BOOKS INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi there! Get Your Professional Job-Winning Resume Here - Check our website! http://bit.ly/resumpro
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

가상 액터 모형과 Project orleans

  1. 1. 가상 액터 모형과 Project Orleans “Halo”로 부터 배우는 Principal Technical Evangelist, Microsoft 김명신 @himskim
  2. 2. 노드 갯수 속도
  3. 3. Frontends StorageMiddle Tier • Stateless frontends • Stateless middle tier • Storage is the bottleneck • Latency • Throughput • Scalability • Horizontal calls are problematic • Data shipping (paradigm)
  4. 4. Frontends StorageMiddle Tier • Much better performance • Lost semantics of storage • Lost concurrency control • Horizontal calls are still problematic • Still data shipping (paradigm) Cache
  5. 5. 노드 갯수 속도 5 10 • Additional power does not scale well • Speed-up can even fail
  6. 6. *Correctness, performance and robustness are difficult to achieve in the face of concurrency
  7. 7. Limitation?
  8. 8. Actor Model
  9. 9.        Actor ASYNC ONLY STATE PERSISTENCE SINGLE THREAD EXECUTION
  10. 10. Project Orleans
  11. 11.    Grains    Silo    
  12. 12. #2,548,308 #2,031,769 Activation #1 @ 192.168.1.1 Activation #1 @ 192.168.1.5
  13. 13. cloud native
  14. 14. 1. Virtually    2.     3.   Virtual
  15. 15.        
  16. 16. Show me the CODE!!!
  17. 17. public interface IHello : IGrainWithIntegerKey { Task<string> SayHello(string name); } Grain Interface 임을 나타내기 위한 Marker interface 모든 Grain Interface method는 반드시 비동기이어야 함 IGrainWithIntegerKey IGrainWithStringKey IGrainWithGuidKey IGrainWithGuidCompoundKey IGrainWithIntegerCompoundKey
  18. 18. public class HelloGrain : Grain, IHello { Task<string> SayHello(string name) { var resp = “Hi, " + name; return Task.FromResult(resp); } } Grain을 반드시 상속 결과를 Task로 Wrapping
  19. 19. private async static Task SendMessage(long grainId) { IHello hello = GrainClient. GrainFactory. GetGrain<IHello>(grainId); string response = await hello.SayHello(“MS"); Console.WriteLine("Response: {0}", response); }
  20. 20. Hello Grain
  21. 21.      
  22. 22.           
  23. 23.      Virtual Machines Physical Machines What’s a Server?
  24. 24.     Test Lab Numbers
  25. 25.      
  26. 26.  http://dotnet.github.io/orleans/  https://github.com/dotnet/orleans  http://research.microsoft.com/en-us/projects/orleans/  http://research.microsoft.com/pubs/210931/Orleans-MSR-TR-2014-41.pdf
  27. 27. 감사합니다.

×