DOI QR코드

DOI QR Code

대용량 이메일 서비스를 위한 분산 구조 기반의 SMTP 서버

A Distributed Architecture Based SMTP Server for Large Email Service

  • 김영종 (숭실대학교 정보통신전자공학부) ;
  • 곽후근 (숭실대학교 정보통신전자공학부) ;
  • 정규식 (숭실대학교 정보통신전자공학부)
  • 발행 : 2009.10.31

초록

SMTP(Simple Mail Transfer Protocol) 서버는 네트워크를 기반으로 사용자의 메일을 전달 해주거나 저장하기 위해 만들어졌다. SMTP 서버는 대규모 서비스를 운영하거나 사용자가 많은 경우 또는 많은 양의 메일을 처리해야 하는 경우에는 SMTP 서버들을 복수로 구성할 수 있어야 한다. SMTP 서버의 메일 저장 공간인 파일시스템을 분리함으로써 복수의 SMTP 서버로 구성하는 것이 가능하며, 이때 분리된 파일시스템을 각각의 SMTP 서버들이 공유하기 위해 NFS(Network File System)를 사용하게 된다. 그러나 NFS는 네트워크 기반의 파일시스템으로써 파일시스템이 가지는 특성을 모두 가지고 있기 때문에, SMTP 서버들이 메일 저장 공간 공유를 위해 사용할 경우 불필요한 작업들로 인해 오버헤드가 발생하게 된다. 본 논문에서는 소켓(Socket)을 통해 직접 작업하는 방식을 사용하여 NFS를 사용함으로 인해 발생하는 작업 오버헤드를 줄이는 방식을 제안한다. NFS를 사용함으로 인해 발생하는 오버헤드를 최소화하기 위해 직접 소켓 작업을 할 수 있도록, 정보 기반의 저장 공간 구조 및 메일 저장을 위한 프로토콜을 정의하였다. 제안된 방식은 Netscape에서 만든 Mailstone을 이용하여 실험을 수행하였고, 실험을 통하여 제안된 방식이 기존 방식에 비해 성능이 향상되었음을 확인하였다.

An SMTP(Simple Mail Transfer Protocol) server was designed for delivering and storing user's email across a network. An SMTP server can be distributed as multiple servers for large service, huge users or massive emails. An SMTP server can be constructed by multiple servers with separating file system as email storing space, and each SMTP server can usually share each file system by using the NFS(Network File system). However the NFS is originally designed for sharing each file system across a network, and contains all attributes and features of regular file system. Using this NFS for email storing space of SMTP servers, it makes overhead due to unnecessary work of regular file system. In this paper, we propose a method to do directly operation with socket for reducing work overhead caused by the NFS. For doing directly operation with socket, this paper defines information based storing space structure and a protocol for storing emails. We performed experiments using Mailstone made by Netscape. The experimental results show the performance improvement of the proposed method compared to the existing method.

키워드

참고문헌

  1. J. Postel, “Simple Mail Transfer Protocol”, IETF RFC 821, 1982.
  2. J. Klensin, “Simple Mail Transfer Protocol”, IETF RFC 2821, 2001.
  3. sendmail, http://www.sendmail.org/
  4. qmail, http://www.qmail.org/
  5. SUN Java System Messaging Server, http://www.sun.com/ software/products/ messaging_srvr/index.xml
  6. MS Exchange Server, http://www.microsoft.com/EXCHANGE/default.mspx
  7. Sun Microsystem Inc, “NFS: Network File System Protocol Specification”, IETF RFC 1094, 1989.
  8. Sun Microsystem Inc, “NFS Version 3 Protocol Specification”, IETF RFC 1813, 1995.
  9. S. Shpler, B. Callaghen, D. Robinson, R. Thurlow, C. Beame, M.Eisler, and D. Noveck, “Network File System (NFS) version 4 Protocol”, IETF RFC 3010, 2000.
  10. RPC, http://en.wikipedia.org/wiki/Remote_procedure_call
  11. XDR, http://en.wikipedia.org/wiki/External_Data_Representation
  12. B. Reed, E. Chron, R. Burns, and D. Long, “Authenticating network attached storage”, IEEE Micro, Vol.20, No.1, pp. 49-57, 2000. https://doi.org/10.1109/40.820053
  13. S. Yin, Y. Luo, L. Zong, S. Rago, J. Yu, N. Ansari, and T. Wang, “Storage area network extension over passive optical networks (S-PONS)”, IEEE Communication Magazine, Vol. 46, No.1, pp.44-52, 2008. https://doi.org/10.1109/MCOM.2008.4427229
  14. G. Zhang, J. Shu, W. Xue, and W. Zheng, “Design and Implementation of an Out-of-Band Virtualization System for Large SANs”, IEEE Transactions on Computers, Vol.56, No. 12, pp.1654-1665, 2007. https://doi.org/10.1109/TC.2007.70765
  15. N. Leavitt, “Application Awareness Makes Storage More Useful”, IEEE Computer, Vol.41, No.7, pp.11-13, 2008. https://doi.org/10.1109/MC.2008.210
  16. M. Kallahalla, M. Uysal, R. Swaminathan, D. Lowell, M. Wray, T. Christian, N. Edwards, C. Dalton, and F. Gittler, “SoftUDC: a software-based data center for utility computing”, IEEE Computer, Vol.37, No.11, pp.38-46, 2004. https://doi.org/10.1109/MC.2004.221
  17. L. Yingping and D. Du, “Performance study of iSCSI-based storage subsystems”, IEEE Communications Magazine, Vol. 41, No.8, pp.76-82, 2003. https://doi.org/10.1109/MCOM.2003.1222721
  18. K. Meth and J. Satran, “Features of the iSCSI protocol”, IEEE Communications Magazine, Vol.41, No.8, pp.72-75, 2003. https://doi.org/10.1109/MCOM.2003.1222720
  19. DAS, http://en.wikipedia.org/wiki/Direct-attached_storage.
  20. DFS, http://en.wikipedia.org/wiki/Distributed_file_system.
  21. Brocade, http://www.brocade.com/products-solutions/ products/file-management /product-details/storagex/index.page
  22. EMC, http://www.emc.com/solutions/business-need/virtualizing -information- infrastructure/file-virtualizations.htm
  23. Mailstone, http://docs.sun.com/source/816-6036-10/index.html